Class V1beta1Mutation
java.lang.Object
io.kubernetes.client.openapi.models.V1beta1Mutation
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-09-11T18:00:16.154662Z[Etc/UTC]",
comments="Generator version: 7.13.0")
public class V1beta1Mutation
extends Object
Mutation specifies the CEL expression which is used to apply the Mutation.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyConfiguration(V1beta1ApplyConfiguration applyConfiguration) booleanstatic V1beta1MutationCreate an instance of V1beta1Mutation given an JSON stringGet applyConfigurationGet jsonPatchpatchType indicates the patch strategy used.inthashCode()jsonPatch(V1beta1JSONPatch jsonPatch) voidsetApplyConfiguration(V1beta1ApplyConfiguration applyConfiguration) voidsetJsonPatch(V1beta1JSONPatch jsonPatch) voidsetPatchType(String patchType) toJson()Convert an instance of V1beta1Mutation 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_APPLY_CONFIGURATION
- See Also:
-
SERIALIZED_NAME_JSON_PATCH
- See Also:
-
SERIALIZED_NAME_PATCH_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1beta1Mutation
public V1beta1Mutation()
-
-
Method Details
-
applyConfiguration
-
getApplyConfiguration
Get applyConfiguration- Returns:
- applyConfiguration
-
setApplyConfiguration
-
jsonPatch
-
getJsonPatch
Get jsonPatch- Returns:
- jsonPatch
-
setJsonPatch
-
patchType
-
getPatchType
patchType indicates the patch strategy used. Allowed values are \"ApplyConfiguration\" and \"JSONPatch\". Required.- Returns:
- patchType
-
setPatchType
-
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 V1beta1Mutation
-
fromJson
Create an instance of V1beta1Mutation given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1beta1Mutation
- Throws:
IOException- if the JSON string is invalid with respect to V1beta1Mutation
-
toJson
Convert an instance of V1beta1Mutation to an JSON string- Returns:
- JSON string
-