Class V2APIResourceDiscovery
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V2APIResourceDiscovery
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V2APIResourceDiscovery
extends Object
APIResourceDiscovery provides information about an API resource for discovery.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCategoriesItem(String categoriesItem) Add an item to the categories property in a chainable fashion.addShortNamesItem(String shortNamesItem) Add an item to the shortNames property in a chainable fashion.addSubresourcesItem(V2APISubresourceDiscovery subresourcesItem) Add an item to the subresources property in a chainable fashion.addVerbsItem(String verbsItem) Add an item to the verbs property in a chainable fashion.categories(List<@NotNull String> categories) Set categories in a chainable fashion.booleancategories is a list of the grouped resources this resource belongs to.resource is the plural name of the resource.getScope()scope indicates the scope of a resource, either Cluster or NamespacedshortNames is a list of suggested short names of the resource.singularResource is the singular name of the resource.List<@Valid V2APISubresourceDiscovery> getVerbs()verbs is a list of supported API operation typesinthashCode()Set resource in a chainable fashion.responseKind(V1GroupVersionKind responseKind) Set responseKind in a chainable fashion.Set scope in a chainable fashion.voidsetCategories(List<@NotNull String> categories) Set the categories property valuevoidsetResource(String resource) Set the resource property valuevoidsetResponseKind(V1GroupVersionKind responseKind) Set the responseKind property valuevoidSet the scope property valuevoidsetShortNames(List<@NotNull String> shortNames) Set the shortNames property valuevoidsetSingularResource(String singularResource) Set the singularResource property valuevoidsetSubresources(List<@Valid V2APISubresourceDiscovery> subresources) Set the subresources property valuevoidSet the verbs property valueshortNames(List<@NotNull String> shortNames) Set shortNames in a chainable fashion.singularResource(String singularResource) Set singularResource in a chainable fashion.subresources(List<@Valid V2APISubresourceDiscovery> subresources) Set subresources in a chainable fashion.toString()Set verbs in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_RESOURCE
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
JSON_PROPERTY_SINGULAR_RESOURCE
- See Also:
-
JSON_PROPERTY_VERBS
- See Also:
-
JSON_PROPERTY_RESPONSE_KIND
- See Also:
-
JSON_PROPERTY_SHORT_NAMES
- See Also:
-
JSON_PROPERTY_CATEGORIES
- See Also:
-
JSON_PROPERTY_SUBRESOURCES
- See Also:
-
-
Constructor Details
-
V2APIResourceDiscovery
-
-
Method Details
-
getResource
resource is the plural name of the resource.- Returns:
- the resource property value
-
setResource
Set the resource property value- Parameters:
resource- property value to set
-
resource
Set resource in a chainable fashion.- Returns:
- The same instance of V2APIResourceDiscovery for chaining.
-
getScope
scope indicates the scope of a resource, either Cluster or Namespaced- Returns:
- the scope property value
-
setScope
Set the scope property value- Parameters:
scope- property value to set
-
scope
Set scope in a chainable fashion.- Returns:
- The same instance of V2APIResourceDiscovery for chaining.
-
getSingularResource
singularResource is the singular name of the resource.- Returns:
- the singularResource property value
-
setSingularResource
Set the singularResource property value- Parameters:
singularResource- property value to set
-
singularResource
Set singularResource in a chainable fashion.- Returns:
- The same instance of V2APIResourceDiscovery for chaining.
-
getVerbs
-
setVerbs
-
verbs
Set verbs in a chainable fashion.- Returns:
- The same instance of V2APIResourceDiscovery for chaining.
-
addVerbsItem
Add an item to the verbs property in a chainable fashion.- Returns:
- The same instance of V2APIResourceDiscovery for chaining.
-
getResponseKind
- Returns:
- the responseKind property value
-
setResponseKind
Set the responseKind property value- Parameters:
responseKind- property value to set
-
responseKind
Set responseKind in a chainable fashion.- Returns:
- The same instance of V2APIResourceDiscovery for chaining.
-
getShortNames
-
setShortNames
-
shortNames
Set shortNames in a chainable fashion.- Returns:
- The same instance of V2APIResourceDiscovery for chaining.
-
addShortNamesItem
Add an item to the shortNames property in a chainable fashion.- Returns:
- The same instance of V2APIResourceDiscovery for chaining.
-
getCategories
-
setCategories
-
categories
Set categories in a chainable fashion.- Returns:
- The same instance of V2APIResourceDiscovery for chaining.
-
addCategoriesItem
Add an item to the categories property in a chainable fashion.- Returns:
- The same instance of V2APIResourceDiscovery for chaining.
-
getSubresources
- Returns:
- the subresources property value
-
setSubresources
Set the subresources property value- Parameters:
subresources- property value to set
-
subresources
Set subresources in a chainable fashion.- Returns:
- The same instance of V2APIResourceDiscovery for chaining.
-
addSubresourcesItem
Add an item to the subresources property in a chainable fashion.- Returns:
- The same instance of V2APIResourceDiscovery for chaining.
-
equals
-
hashCode
-
toString
-