Class V1SelectableField
java.lang.Object
io.kubernetes.client.openapi.models.V1SelectableField
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1SelectableField
extends Object
SelectableField specifies the JSON path of a field that may be used with field selectors.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1SelectableFieldCreate an instance of V1SelectableField given an JSON stringjsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value.inthashCode()voidsetJsonPath(String jsonPath) toJson()Convert an instance of V1SelectableField 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_JSON_PATH
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1SelectableField
public V1SelectableField()
-
-
Method Details
-
jsonPath
-
getJsonPath
jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.- Returns:
- jsonPath
-
setJsonPath
-
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 V1SelectableField
-
fromJson
Create an instance of V1SelectableField given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1SelectableField
- Throws:
IOException- if the JSON string is invalid with respect to V1SelectableField
-
toJson
Convert an instance of V1SelectableField to an JSON string- Returns:
- JSON string
-