Class V1Mutation
java.lang.Object
io.kubernetes.client.openapi.models.V1Mutation
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-26T22:35:15.319369Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1Mutation
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(V1ApplyConfiguration applyConfiguration) booleanstatic V1MutationCreate an instance of V1Mutation given an JSON stringGet applyConfigurationGet jsonPatchpatchType indicates the patch strategy used.inthashCode()jsonPatch(V1JSONPatch jsonPatch) voidsetApplyConfiguration(V1ApplyConfiguration applyConfiguration) voidsetJsonPatch(V1JSONPatch jsonPatch) voidsetPatchType(String patchType) toJson()Convert an instance of V1Mutation 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
-
V1Mutation
public V1Mutation()
-
-
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 V1Mutation
-
fromJson
Create an instance of V1Mutation given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1Mutation
- Throws:
IOException- if the JSON string is invalid with respect to V1Mutation
-
toJson
Convert an instance of V1Mutation to an JSON string- Returns:
- JSON string
-