Class V2beta1APIVersionDiscovery
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V2beta1APIVersionDiscovery
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V2beta1APIVersionDiscovery
extends Object
APIVersionDiscovery holds a list of APIResourceDiscovery types that are served for a particular version within an API Group.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResourcesItem(V2beta1APIResourceDiscovery resourcesItem) Add an item to the resources property in a chainable fashion.booleanSet freshness in a chainable fashion.freshness marks whether a group version's discovery document is up to date.List<@Valid V2beta1APIResourceDiscovery> version is the name of the version within a group version.inthashCode()resources(List<@Valid V2beta1APIResourceDiscovery> resources) Set resources in a chainable fashion.voidsetFreshness(String freshness) Set the freshness property valuevoidsetResources(List<@Valid V2beta1APIResourceDiscovery> resources) Set the resources property valuevoidsetVersion(String version) Set the version property valuetoString()Set version in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_RESOURCES
- See Also:
-
JSON_PROPERTY_FRESHNESS
- See Also:
-
-
Constructor Details
-
V2beta1APIVersionDiscovery
-
-
Method Details
-
getVersion
version is the name of the version within a group version.- Returns:
- the version property value
-
setVersion
Set the version property value- Parameters:
version- property value to set
-
version
Set version in a chainable fashion.- Returns:
- The same instance of V2beta1APIVersionDiscovery for chaining.
-
getResources
- Returns:
- the resources property value
-
setResources
Set the resources property value- Parameters:
resources- property value to set
-
resources
Set resources in a chainable fashion.- Returns:
- The same instance of V2beta1APIVersionDiscovery for chaining.
-
addResourcesItem
Add an item to the resources property in a chainable fashion.- Returns:
- The same instance of V2beta1APIVersionDiscovery for chaining.
-
getFreshness
freshness marks whether a group version's discovery document is up to date.- Returns:
- the freshness property value
-
setFreshness
Set the freshness property value- Parameters:
freshness- property value to set
-
freshness
Set freshness in a chainable fashion.- Returns:
- The same instance of V2beta1APIVersionDiscovery for chaining.
-
equals
-
hashCode
-
toString
-