Package net.stickycode.kuuty.model.v18
Class IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec extends Object
SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_EXTRAstatic StringJSON_PROPERTY_GROUPstatic StringJSON_PROPERTY_NON_RESOURCE_ATTRIBUTESstatic StringJSON_PROPERTY_RESOURCE_ATTRIBUTESstatic StringJSON_PROPERTY_UIDstatic StringJSON_PROPERTY_USER
-
Constructor Summary
Constructors Constructor Description IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_EXTRA
public static final String JSON_PROPERTY_EXTRA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GROUP
public static final String JSON_PROPERTY_GROUP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NON_RESOURCE_ATTRIBUTES
public static final String JSON_PROPERTY_NON_RESOURCE_ATTRIBUTES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESOURCE_ATTRIBUTES
public static final String JSON_PROPERTY_RESOURCE_ATTRIBUTES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UID
public static final String JSON_PROPERTY_UID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER
public static final String JSON_PROPERTY_USER
- See Also:
- Constant Field Values
-
-
Method Detail
-
extra
public IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec extra(Map<String,List<String>> extra)
-
putExtraItem
public IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec putExtraItem(String key, List<String> extraItem)
-
getExtra
@Nullable public Map<String,List<String>> getExtra()
Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.- Returns:
- extra
-
group
public IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec group(List<String> group)
-
addGroupItem
public IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec addGroupItem(String groupItem)
-
getGroup
@Nullable public List<String> getGroup()
Groups is the groups you're testing for.- Returns:
- group
-
nonResourceAttributes
public IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec nonResourceAttributes(IoK8sApiAuthorizationV1beta1NonResourceAttributes nonResourceAttributes)
-
getNonResourceAttributes
@Nullable public IoK8sApiAuthorizationV1beta1NonResourceAttributes getNonResourceAttributes()
Get nonResourceAttributes- Returns:
- nonResourceAttributes
-
setNonResourceAttributes
public void setNonResourceAttributes(IoK8sApiAuthorizationV1beta1NonResourceAttributes nonResourceAttributes)
-
resourceAttributes
public IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec resourceAttributes(IoK8sApiAuthorizationV1beta1ResourceAttributes resourceAttributes)
-
getResourceAttributes
@Nullable public IoK8sApiAuthorizationV1beta1ResourceAttributes getResourceAttributes()
Get resourceAttributes- Returns:
- resourceAttributes
-
setResourceAttributes
public void setResourceAttributes(IoK8sApiAuthorizationV1beta1ResourceAttributes resourceAttributes)
-
uid
public IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec uid(String uid)
-
getUid
@Nullable public String getUid()
UID information about the requesting user.- Returns:
- uid
-
setUid
public void setUid(String uid)
-
user
public IoK8sApiAuthorizationV1beta1SubjectAccessReviewSpec user(String user)
-
getUser
@Nullable public String getUser()
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- Returns:
- user
-
setUser
public void setUser(String user)
-
-