package IO::K8s::Api::Rbac::V1beta1::PolicyRule;
  use Moose;
  use IO::K8s;

  has 'apiGroups' => (is => 'ro', isa => 'ArrayRef[Str]'  );
  has 'nonResourceURLs' => (is => 'ro', isa => 'ArrayRef[Str]'  );
  has 'resourceNames' => (is => 'ro', isa => 'ArrayRef[Str]'  );
  has 'resources' => (is => 'ro', isa => 'ArrayRef[Str]'  );
  has 'verbs' => (is => 'ro', isa => 'ArrayRef[Str]'  );

  sub to_json { IO::K8s->new->object_to_json(shift) }
1;
