@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-06-19T10:47:33.387Z[Etc/UTC]") public class V1RuleWithOperations extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_API_GROUPS |
static String |
SERIALIZED_NAME_API_VERSIONS |
static String |
SERIALIZED_NAME_OPERATIONS |
static String |
SERIALIZED_NAME_RESOURCES |
static String |
SERIALIZED_NAME_SCOPE |
Constructor and Description |
---|
V1RuleWithOperations() |
Modifier and Type | Method and Description |
---|---|
V1RuleWithOperations |
addApiGroupsItem(String apiGroupsItem) |
V1RuleWithOperations |
addApiVersionsItem(String apiVersionsItem) |
V1RuleWithOperations |
addOperationsItem(String operationsItem) |
V1RuleWithOperations |
addResourcesItem(String resourcesItem) |
V1RuleWithOperations |
apiGroups(List<String> apiGroups) |
V1RuleWithOperations |
apiVersions(List<String> apiVersions) |
boolean |
equals(Object o) |
List<String> |
getApiGroups()
APIGroups is the API groups the resources belong to.
|
List<String> |
getApiVersions()
APIVersions is the API versions the resources belong to.
|
List<String> |
getOperations()
Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all
operations.
|
List<String> |
getResources()
Resources is a list of resources this rule applies to.
|
String |
getScope()
scope specifies the scope of this rule.
|
int |
hashCode() |
V1RuleWithOperations |
operations(List<String> operations) |
V1RuleWithOperations |
resources(List<String> resources) |
V1RuleWithOperations |
scope(String scope) |
void |
setApiGroups(List<String> apiGroups) |
void |
setApiVersions(List<String> apiVersions) |
void |
setOperations(List<String> operations) |
void |
setResources(List<String> resources) |
void |
setScope(String scope) |
String |
toString() |
public static final String SERIALIZED_NAME_API_GROUPS
public static final String SERIALIZED_NAME_API_VERSIONS
public static final String SERIALIZED_NAME_OPERATIONS
public static final String SERIALIZED_NAME_RESOURCES
public static final String SERIALIZED_NAME_SCOPE
public V1RuleWithOperations apiGroups(List<String> apiGroups)
public V1RuleWithOperations addApiGroupsItem(String apiGroupsItem)
@Nullable public List<String> getApiGroups()
public V1RuleWithOperations apiVersions(List<String> apiVersions)
public V1RuleWithOperations addApiVersionsItem(String apiVersionsItem)
@Nullable public List<String> getApiVersions()
public V1RuleWithOperations operations(List<String> operations)
public V1RuleWithOperations addOperationsItem(String operationsItem)
@Nullable public List<String> getOperations()
public V1RuleWithOperations resources(List<String> resources)
public V1RuleWithOperations addResourcesItem(String resourcesItem)
@Nullable public List<String> getResources()
public V1RuleWithOperations scope(String scope)
@Nullable public String getScope()
public void setScope(String scope)
Copyright © 2020. All rights reserved.