Package io.fabric8.openshift.api.model
Class ResourceAccessReview
- java.lang.Object
-
- io.fabric8.openshift.api.model.ResourceAccessReview
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ResourceAccessReviewBuilder>,io.fabric8.kubernetes.api.model.HasMetadata,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ResourceAccessReview extends Object implements io.fabric8.kubernetes.api.builder.Editable<ResourceAccessReviewBuilder>, io.fabric8.kubernetes.api.model.HasMetadata
ResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by specCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceAccessReview()No args constructor for use in serializationResourceAccessReview(String apiVersion, Object content, Boolean isNonResourceURL, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, String namespace, String path, String resource, String resourceAPIGroup, String resourceAPIVersion, String resourceName, String verb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceAccessReviewBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.ObjectgetContent()ResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by specBooleangetIsNonResourceURL()isNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hierarchy)StringgetKind()Kind is a string value representing the REST resource this object represents.io.fabric8.kubernetes.api.model.ObjectMetagetMetadata()ResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by specStringgetNamespace()namespace is the namespace of the action being requested.StringgetPath()path is the path of a non resource URLStringgetResource()resource is one of the existing resource typesStringgetResourceAPIGroup()Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlinedStringgetResourceAPIVersion()Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlinedStringgetResourceName()resourceName is the name of the resource being requested for a "get" or deleted for a "delete"StringgetVerb()verb is one of: get, list, watch, create, update, deletevoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetContent(Object content)ResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by specvoidsetIsNonResourceURL(Boolean isNonResourceURL)isNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hierarchy)voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)ResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by specvoidsetNamespace(String namespace)namespace is the namespace of the action being requested.voidsetPath(String path)path is the path of a non resource URLvoidsetResource(String resource)resource is one of the existing resource typesvoidsetResourceAPIGroup(String resourceAPIGroup)Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlinedvoidsetResourceAPIVersion(String resourceAPIVersion)Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlinedvoidsetResourceName(String resourceName)resourceName is the name of the resource being requested for a "get" or deleted for a "delete"voidsetVerb(String verb)verb is one of: get, list, watch, create, update, deleteResourceAccessReviewBuildertoBuilder()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.api.model.HasMetadata
addFinalizer, addOwnerReference, addOwnerReference, getFinalizers, getFullResourceName, getOwnerReferenceFor, getOwnerReferenceFor, getPlural, getSingular, hasFinalizer, hasOwnerReferenceFor, hasOwnerReferenceFor, initNameAndNamespaceFrom, isFinalizerValid, isMarkedForDeletion, optionalMetadata, removeFinalizer, removeOwnerReference, removeOwnerReference
-
-
-
-
Constructor Detail
-
ResourceAccessReview
public ResourceAccessReview()
No args constructor for use in serialization
-
ResourceAccessReview
public ResourceAccessReview(String apiVersion, Object content, Boolean isNonResourceURL, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, String namespace, String path, String resource, String resourceAPIGroup, String resourceAPIVersion, String resourceName, String verb)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Specified by:
getApiVersionin interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setApiVersion
public void setApiVersion(String apiVersion)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Specified by:
setApiVersionin interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
getContent
public Object getContent()
ResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by specCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setContent
public void setContent(Object content)
ResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by specCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getIsNonResourceURL
public Boolean getIsNonResourceURL()
isNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hierarchy)
-
setIsNonResourceURL
public void setIsNonResourceURL(Boolean isNonResourceURL)
isNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hierarchy)
-
getKind
public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Specified by:
getKindin interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setKind
public void setKind(String kind)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getMetadata
public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
ResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by specCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- Specified by:
getMetadatain interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setMetadata
public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
ResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by specCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- Specified by:
setMetadatain interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
getNamespace
public String getNamespace()
namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces
-
setNamespace
public void setNamespace(String namespace)
namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces
-
getPath
public String getPath()
path is the path of a non resource URL
-
setPath
public void setPath(String path)
path is the path of a non resource URL
-
getResource
public String getResource()
resource is one of the existing resource types
-
setResource
public void setResource(String resource)
resource is one of the existing resource types
-
getResourceAPIGroup
public String getResourceAPIGroup()
Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined
-
setResourceAPIGroup
public void setResourceAPIGroup(String resourceAPIGroup)
Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined
-
getResourceAPIVersion
public String getResourceAPIVersion()
Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined
-
setResourceAPIVersion
public void setResourceAPIVersion(String resourceAPIVersion)
Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined
-
getResourceName
public String getResourceName()
resourceName is the name of the resource being requested for a "get" or deleted for a "delete"
-
setResourceName
public void setResourceName(String resourceName)
resourceName is the name of the resource being requested for a "get" or deleted for a "delete"
-
getVerb
public String getVerb()
verb is one of: get, list, watch, create, update, delete
-
setVerb
public void setVerb(String verb)
verb is one of: get, list, watch, create, update, delete
-
edit
public ResourceAccessReviewBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ResourceAccessReviewBuilder>
-
toBuilder
public ResourceAccessReviewBuilder toBuilder()
-
-