Package net.stickycode.kuuty.model.v18
Class IoK8sApimachineryPkgApisMetaV1APIResource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApimachineryPkgApisMetaV1APIResource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApimachineryPkgApisMetaV1APIResource extends Object
APIResource specifies the name of a resource and whether it is namespaced.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CATEGORIESstatic StringJSON_PROPERTY_GROUPstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_NAMESPACEDstatic StringJSON_PROPERTY_SHORT_NAMESstatic StringJSON_PROPERTY_SINGULAR_NAMEstatic StringJSON_PROPERTY_STORAGE_VERSION_HASHstatic StringJSON_PROPERTY_VERBSstatic StringJSON_PROPERTY_VERSION
-
Constructor Summary
Constructors Constructor Description IoK8sApimachineryPkgApisMetaV1APIResource()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_CATEGORIES
public static final String JSON_PROPERTY_CATEGORIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GROUP
public static final String JSON_PROPERTY_GROUP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KIND
public static final String JSON_PROPERTY_KIND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAMESPACED
public static final String JSON_PROPERTY_NAMESPACED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHORT_NAMES
public static final String JSON_PROPERTY_SHORT_NAMES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SINGULAR_NAME
public static final String JSON_PROPERTY_SINGULAR_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORAGE_VERSION_HASH
public static final String JSON_PROPERTY_STORAGE_VERSION_HASH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERBS
public static final String JSON_PROPERTY_VERBS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSION
public static final String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
categories
public IoK8sApimachineryPkgApisMetaV1APIResource categories(List<String> categories)
-
addCategoriesItem
public IoK8sApimachineryPkgApisMetaV1APIResource addCategoriesItem(String categoriesItem)
-
getCategories
@Nullable public List<String> getCategories()
categories is a list of the grouped resources this resource belongs to (e.g. 'all')- Returns:
- categories
-
group
public IoK8sApimachineryPkgApisMetaV1APIResource group(String group)
-
getGroup
@Nullable public String getGroup()
group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\".- Returns:
- group
-
setGroup
public void setGroup(String group)
-
kind
public IoK8sApimachineryPkgApisMetaV1APIResource kind(String kind)
-
getKind
public String getKind()
kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')- Returns:
- kind
-
setKind
public void setKind(String kind)
-
name
public IoK8sApimachineryPkgApisMetaV1APIResource name(String name)
-
getName
public String getName()
name is the plural name of the resource.- Returns:
- name
-
setName
public void setName(String name)
-
namespaced
public IoK8sApimachineryPkgApisMetaV1APIResource namespaced(Boolean namespaced)
-
getNamespaced
public Boolean getNamespaced()
namespaced indicates if a resource is namespaced or not.- Returns:
- namespaced
-
setNamespaced
public void setNamespaced(Boolean namespaced)
-
shortNames
public IoK8sApimachineryPkgApisMetaV1APIResource shortNames(List<String> shortNames)
-
addShortNamesItem
public IoK8sApimachineryPkgApisMetaV1APIResource addShortNamesItem(String shortNamesItem)
-
getShortNames
@Nullable public List<String> getShortNames()
shortNames is a list of suggested short names of the resource.- Returns:
- shortNames
-
singularName
public IoK8sApimachineryPkgApisMetaV1APIResource singularName(String singularName)
-
getSingularName
public String getSingularName()
singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.- Returns:
- singularName
-
setSingularName
public void setSingularName(String singularName)
-
storageVersionHash
public IoK8sApimachineryPkgApisMetaV1APIResource storageVersionHash(String storageVersionHash)
-
getStorageVersionHash
@Nullable public String getStorageVersionHash()
The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.- Returns:
- storageVersionHash
-
setStorageVersionHash
public void setStorageVersionHash(String storageVersionHash)
-
verbs
public IoK8sApimachineryPkgApisMetaV1APIResource verbs(List<String> verbs)
-
addVerbsItem
public IoK8sApimachineryPkgApisMetaV1APIResource addVerbsItem(String verbsItem)
-
getVerbs
public List<String> getVerbs()
verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)- Returns:
- verbs
-
version
public IoK8sApimachineryPkgApisMetaV1APIResource version(String version)
-
getVersion
@Nullable public String getVersion()
version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\".- Returns:
- version
-
setVersion
public void setVersion(String version)
-
-