/// <summary> /// Initializes a new instance of the 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="uid">UID information about the requesting /// user.</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(IDictionary <string, IList <string> > extra = default(IDictionary <string, IList <string> >), IList <string> group = default(IList <string>), V1beta1NonResourceAttributes nonResourceAttributes = default(V1beta1NonResourceAttributes), V1beta1ResourceAttributes resourceAttributes = default(V1beta1ResourceAttributes), string uid = default(string), string user = default(string)) { Extra = extra; Group = group; NonResourceAttributes = nonResourceAttributes; ResourceAttributes = resourceAttributes; Uid = uid; User = user; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// 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)) { NonResourceAttributes = nonResourceAttributes; ResourceAttributes = resourceAttributes; CustomInit(); }