@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-06T08:58:17.566Z[Etc/UTC]") public class V1APIResource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_CATEGORIES |
static String |
SERIALIZED_NAME_GROUP |
static String |
SERIALIZED_NAME_KIND |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_NAMESPACED |
static String |
SERIALIZED_NAME_SHORT_NAMES |
static String |
SERIALIZED_NAME_SINGULAR_NAME |
static String |
SERIALIZED_NAME_STORAGE_VERSION_HASH |
static String |
SERIALIZED_NAME_VERBS |
static String |
SERIALIZED_NAME_VERSION |
Constructor and Description |
---|
V1APIResource() |
Modifier and Type | Method and Description |
---|---|
V1APIResource |
addCategoriesItem(String categoriesItem) |
V1APIResource |
addShortNamesItem(String shortNamesItem) |
V1APIResource |
addVerbsItem(String verbsItem) |
V1APIResource |
categories(List<String> categories) |
boolean |
equals(Object o) |
List<String> |
getCategories()
categories is a list of the grouped resources this resource belongs to (e.g.
|
String |
getGroup()
group is the preferred group of the resource.
|
String |
getKind()
kind is the kind for the resource (e.g.
|
String |
getName()
name is the plural name of the resource.
|
Boolean |
getNamespaced()
namespaced indicates if a resource is namespaced or not.
|
List<String> |
getShortNames()
shortNames is a list of suggested short names of the resource.
|
String |
getSingularName()
singularName is the singular name of the resource.
|
String |
getStorageVersionHash()
The hash value of the storage version, the version this resource is converted to when written
to the data store.
|
List<String> |
getVerbs()
verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch,
delete, deletecollection, and proxy)
|
String |
getVersion()
version is the preferred version of the resource.
|
V1APIResource |
group(String group) |
int |
hashCode() |
V1APIResource |
kind(String kind) |
V1APIResource |
name(String name) |
V1APIResource |
namespaced(Boolean namespaced) |
void |
setCategories(List<String> categories) |
void |
setGroup(String group) |
void |
setKind(String kind) |
void |
setName(String name) |
void |
setNamespaced(Boolean namespaced) |
void |
setShortNames(List<String> shortNames) |
void |
setSingularName(String singularName) |
void |
setStorageVersionHash(String storageVersionHash) |
void |
setVerbs(List<String> verbs) |
void |
setVersion(String version) |
V1APIResource |
shortNames(List<String> shortNames) |
V1APIResource |
singularName(String singularName) |
V1APIResource |
storageVersionHash(String storageVersionHash) |
String |
toString() |
V1APIResource |
verbs(List<String> verbs) |
V1APIResource |
version(String version) |
public static final String SERIALIZED_NAME_CATEGORIES
public static final String SERIALIZED_NAME_GROUP
public static final String SERIALIZED_NAME_KIND
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAMESPACED
public static final String SERIALIZED_NAME_SHORT_NAMES
public static final String SERIALIZED_NAME_SINGULAR_NAME
public static final String SERIALIZED_NAME_STORAGE_VERSION_HASH
public static final String SERIALIZED_NAME_VERBS
public static final String SERIALIZED_NAME_VERSION
public V1APIResource categories(List<String> categories)
public V1APIResource addCategoriesItem(String categoriesItem)
@Nullable public List<String> getCategories()
public V1APIResource group(String group)
@Nullable public String getGroup()
public void setGroup(String group)
public V1APIResource kind(String kind)
public String getKind()
public void setKind(String kind)
public V1APIResource name(String name)
public String getName()
public void setName(String name)
public V1APIResource namespaced(Boolean namespaced)
public Boolean getNamespaced()
public void setNamespaced(Boolean namespaced)
public V1APIResource shortNames(List<String> shortNames)
public V1APIResource addShortNamesItem(String shortNamesItem)
@Nullable public List<String> getShortNames()
public V1APIResource singularName(String singularName)
public String getSingularName()
public void setSingularName(String singularName)
public V1APIResource storageVersionHash(String storageVersionHash)
@Nullable public String getStorageVersionHash()
public void setStorageVersionHash(String storageVersionHash)
public V1APIResource verbs(List<String> verbs)
public V1APIResource addVerbsItem(String verbsItem)
public List<String> getVerbs()
public V1APIResource version(String version)
@Nullable public String getVersion()
public void setVersion(String version)
Copyright © 2021. All rights reserved.