Class V2APISubresourceDiscovery
java.lang.Object
io.kubernetes.client.openapi.models.V2APISubresourceDiscovery
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-26T22:35:15.319369Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V2APISubresourceDiscovery
extends Object
APISubresourceDiscovery provides information about an API subresource for discovery.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptedTypes(List<V1GroupVersionKind> acceptedTypes) addAcceptedTypesItem(V1GroupVersionKind acceptedTypesItem) addVerbsItem(String verbsItem) booleanstatic V2APISubresourceDiscoveryCreate an instance of V2APISubresourceDiscovery given an JSON stringGet acceptedTypesGet responseKindsubresource is the name of the subresource.getVerbs()verbs is a list of supported API operation typesinthashCode()responseKind(V1GroupVersionKind responseKind) voidsetAcceptedTypes(List<V1GroupVersionKind> acceptedTypes) voidsetResponseKind(V1GroupVersionKind responseKind) voidsetSubresource(String subresource) voidsubresource(String subresource) toJson()Convert an instance of V2APISubresourceDiscovery 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_SUBRESOURCE
- See Also:
-
SERIALIZED_NAME_RESPONSE_KIND
- See Also:
-
SERIALIZED_NAME_ACCEPTED_TYPES
- See Also:
-
SERIALIZED_NAME_VERBS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V2APISubresourceDiscovery
public V2APISubresourceDiscovery()
-
-
Method Details
-
subresource
-
getSubresource
subresource is the name of the subresource.- Returns:
- subresource
-
setSubresource
-
responseKind
-
getResponseKind
Get responseKind- Returns:
- responseKind
-
setResponseKind
-
acceptedTypes
-
addAcceptedTypesItem
-
getAcceptedTypes
Get acceptedTypes- Returns:
- acceptedTypes
-
setAcceptedTypes
-
verbs
-
addVerbsItem
-
getVerbs
verbs is a list of supported API operation types- Returns:
- verbs
-
setVerbs
-
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 V2APISubresourceDiscovery
-
fromJson
Create an instance of V2APISubresourceDiscovery given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V2APISubresourceDiscovery
- Throws:
IOException- if the JSON string is invalid with respect to V2APISubresourceDiscovery
-
toJson
Convert an instance of V2APISubresourceDiscovery to an JSON string- Returns:
- JSON string
-