Class V1ParamKind
java.lang.Object
io.kubernetes.client.openapi.models.V1ParamKind
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1ParamKind
extends Object
ParamKind is a tuple of Group Kind and Version.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) boolean
static V1ParamKind
Create an instance of V1ParamKind given an JSON stringAPIVersion is the API group version the resources belong to.getKind()
Kind is the API kind the resources belong to.int
hashCode()
void
setApiVersion
(String apiVersion) void
toJson()
Convert an instance of V1ParamKind to an JSON stringtoString()
static void
validateJsonElement
(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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ParamKind
public V1ParamKind()
-
-
Method Details
-
apiVersion
-
getApiVersion
APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.- Returns:
- apiVersion
-
setApiVersion
-
kind
-
getKind
Kind is the API kind the resources belong to. Required.- Returns:
- kind
-
setKind
-
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 V1ParamKind
-
fromJson
Create an instance of V1ParamKind given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1ParamKind
- Throws:
IOException
- if the JSON string is invalid with respect to V1ParamKind
-
toJson
Convert an instance of V1ParamKind to an JSON string- Returns:
- JSON string
-