/// <summary> /// Initializes a new instance of the <see cref="V1beta1SelfSubjectAccessReviewSpec" /> class. /// </summary> /// <param name="NonResourceAttributes">NonResourceAttributes describes information for a non-resource access request.</param> /// <param name="ResourceAttributes">ResourceAuthorizationAttributes describes information for a resource access request.</param> public V1beta1SelfSubjectAccessReviewSpec(V1beta1NonResourceAttributes NonResourceAttributes = default(V1beta1NonResourceAttributes), V1beta1ResourceAttributes ResourceAttributes = default(V1beta1ResourceAttributes)) { this.NonResourceAttributes = NonResourceAttributes; this.ResourceAttributes = ResourceAttributes; }
/// <summary> /// Initializes a new instance of the <see cref="V1beta1SubjectAccessReviewSpec" /> class. /// </summary> /// <param name="Extra">Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here..</param> /// <param name="Group">Groups is the groups you're testing for..</param> /// <param name="NonResourceAttributes">NonResourceAttributes describes information for a non-resource access request.</param> /// <param name="ResourceAttributes">ResourceAuthorizationAttributes describes information for a resource access request.</param> /// <param name="User">User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups.</param> public V1beta1SubjectAccessReviewSpec(Dictionary <string, List <string> > Extra = default(Dictionary <string, List <string> >), List <string> Group = default(List <string>), V1beta1NonResourceAttributes NonResourceAttributes = default(V1beta1NonResourceAttributes), V1beta1ResourceAttributes ResourceAttributes = default(V1beta1ResourceAttributes), string User = default(string)) { this.Extra = Extra; this.Group = Group; this.NonResourceAttributes = NonResourceAttributes; this.ResourceAttributes = ResourceAttributes; this.User = User; }