Class V2beta1APIGroupDiscoveryList
java.lang.Object
io.kubernetes.client.openapi.models.V2beta1APIGroupDiscoveryList
- All Implemented Interfaces:
KubernetesListObject,KubernetesType
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-26T22:35:15.319369Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V2beta1APIGroupDiscoveryList
extends Object
implements KubernetesListObject
APIGroupDiscoveryList is a resource containing a list of APIGroupDiscovery. This is one of the types able to be returned from the /api and /apis endpoint and contains an aggregated list of API resources (built-ins, Custom Resource Definitions, resources from aggregated servers) that a cluster supports.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddItemsItem(V2beta1APIGroupDiscovery itemsItem) apiVersion(String apiVersion) booleanstatic V2beta1APIGroupDiscoveryListCreate an instance of V2beta1APIGroupDiscoveryList given an JSON stringGet apiVersiongetItems()Get itemsgetKind()Get kindGet metadatainthashCode()items(List<V2beta1APIGroupDiscovery> items) metadata(V1ListMeta metadata) voidsetApiVersion(String apiVersion) voidsetItems(List<V2beta1APIGroupDiscovery> items) voidvoidsetMetadata(V1ListMeta metadata) toJson()Convert an instance of V2beta1APIGroupDiscoveryList to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_API_VERSION
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_METADATA
- See Also:
-
SERIALIZED_NAME_ITEMS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V2beta1APIGroupDiscoveryList
public V2beta1APIGroupDiscoveryList()
-
-
Method Details
-
apiVersion
-
getApiVersion
Get apiVersion- Specified by:
getApiVersionin interfaceKubernetesType- Returns:
- apiVersion
-
setApiVersion
-
kind
-
getKind
Get kind- Specified by:
getKindin interfaceKubernetesType- Returns:
- kind
-
setKind
-
metadata
-
getMetadata
Get metadata- Specified by:
getMetadatain interfaceKubernetesListObject- Returns:
- metadata
-
setMetadata
-
items
-
addItemsItem
-
getItems
Get items- Specified by:
getItemsin interfaceKubernetesListObject- Returns:
- items
-
setItems
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to V2beta1APIGroupDiscoveryList
-
fromJson
Create an instance of V2beta1APIGroupDiscoveryList given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V2beta1APIGroupDiscoveryList
- Throws:
IOException- if the JSON string is invalid with respect to V2beta1APIGroupDiscoveryList
-
toJson
Convert an instance of V2beta1APIGroupDiscoveryList to an JSON string- Returns:
- JSON string
-