Class V1alpha1Mutation
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1Mutation
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1alpha1Mutation
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
(V1alpha1ApplyConfiguration applyConfiguration) boolean
static V1alpha1Mutation
Create an instance of V1alpha1Mutation given an JSON stringGet applyConfigurationGet jsonPatchpatchType indicates the patch strategy used.int
hashCode()
jsonPatch
(V1alpha1JSONPatch jsonPatch) void
setApplyConfiguration
(V1alpha1ApplyConfiguration applyConfiguration) void
setJsonPatch
(V1alpha1JSONPatch jsonPatch) void
setPatchType
(String patchType) toJson()
Convert an instance of V1alpha1Mutation 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_APPLY_CONFIGURATION
- See Also:
-
SERIALIZED_NAME_JSON_PATCH
- See Also:
-
SERIALIZED_NAME_PATCH_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha1Mutation
public V1alpha1Mutation()
-
-
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 V1alpha1Mutation
-
fromJson
Create an instance of V1alpha1Mutation given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha1Mutation
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha1Mutation
-
toJson
Convert an instance of V1alpha1Mutation to an JSON string- Returns:
- JSON string
-