Class V1SelectableField
java.lang.Object
io.kubernetes.client.openapi.models.V1SelectableField
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
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 TypeMethodDescriptionboolean
static V1SelectableField
Create 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.int
hashCode()
void
setJsonPath
(String jsonPath) toJson()
Convert an instance of V1SelectableField to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object 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
-