Class V2APIGroupDiscovery
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V2APIGroupDiscovery
- All Implemented Interfaces:
KubernetesObject, KubernetesType
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V2APIGroupDiscovery
extends Object
implements KubernetesObject
APIGroupDiscovery holds information about which resources are being served for all version of the API Group. It contains a list of APIVersionDiscovery that holds a list of APIResourceDiscovery types served for a version. Versions are in descending order of preference, with the first version being the preferred entry.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddVersionsItem(V2APIVersionDiscovery versionsItem) Add an item to the versions property in a chainable fashion.apiVersion(String apiVersion) Set apiVersion in a chainable fashion.booleanGets api version.getKind()Gets kind.Gets metadata.List<@Valid V2APIVersionDiscovery> inthashCode()Set kind in a chainable fashion.metadata(V1ObjectMeta metadata) Set metadata in a chainable fashion.voidsetApiVersion(String apiVersion) Set the apiVersion property valuevoidSet the kind property valuevoidsetMetadata(V1ObjectMeta metadata) Set the metadata property valuevoidsetVersions(List<@Valid V2APIVersionDiscovery> versions) Set the versions property valuetoString()versions(List<@Valid V2APIVersionDiscovery> versions) Set versions in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_API_VERSION
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_VERSIONS
- See Also:
-
-
Constructor Details
-
V2APIGroupDiscovery
public V2APIGroupDiscovery()
-
-
Method Details
-
getApiVersion
Description copied from interface:KubernetesTypeGets api version.APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: Resources
- Specified by:
getApiVersionin interfaceKubernetesType- Returns:
- the apiVersion property value
-
setApiVersion
Set the apiVersion property value- Parameters:
apiVersion- property value to set
-
apiVersion
Set apiVersion in a chainable fashion.- Returns:
- The same instance of V2APIGroupDiscovery for chaining.
-
getKind
Description copied from interface:KubernetesTypeGets kind.Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: Types (Kinds)
- Specified by:
getKindin interfaceKubernetesType- Returns:
- the kind property value
-
setKind
Set the kind property value- Parameters:
kind- property value to set
-
kind
Set kind in a chainable fashion.- Returns:
- The same instance of V2APIGroupDiscovery for chaining.
-
getMetadata
Description copied from interface:KubernetesObjectGets metadata.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
- Specified by:
getMetadatain interfaceKubernetesObject- Returns:
- the metadata property value
-
setMetadata
Set the metadata property value- Parameters:
metadata- property value to set
-
metadata
Set metadata in a chainable fashion.- Returns:
- The same instance of V2APIGroupDiscovery for chaining.
-
getVersions
- Returns:
- the versions property value
-
setVersions
Set the versions property value- Parameters:
versions- property value to set
-
versions
Set versions in a chainable fashion.- Returns:
- The same instance of V2APIGroupDiscovery for chaining.
-
addVersionsItem
Add an item to the versions property in a chainable fashion.- Returns:
- The same instance of V2APIGroupDiscovery for chaining.
-
equals
-
hashCode
-
toString
-