Package io.fabric8.openshift.api.model
Class Action
- java.lang.Object
-
- io.fabric8.openshift.api.model.Action
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ActionBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Action extends Object implements io.fabric8.kubernetes.api.builder.Editable<ActionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Action describes a request to the API server- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionBuilderedit()Map<String,Object>getAdditionalProperties()ObjectgetContent()Action describes a request to the API serverBooleangetIsNonResourceURL()isNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hierarchy)StringgetNamespace()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)voidsetContent(Object content)Action describes a request to the API servervoidsetIsNonResourceURL(Boolean isNonResourceURL)isNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hierarchy)voidsetNamespace(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, deleteActionBuildertoBuilder()
-
-
-
Method Detail
-
getContent
public Object getContent()
Action describes a request to the API server
-
setContent
public void setContent(Object content)
Action describes a request to the API server
-
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)
-
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 ActionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ActionBuilder>
-
toBuilder
public ActionBuilder toBuilder()
-
-