Class V1ObjectFieldSelector
java.lang.Object
io.kubernetes.client.openapi.models.V1ObjectFieldSelector
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1ObjectFieldSelector
extends Object
ObjectFieldSelector selects an APIVersioned field of an object.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) boolean
static V1ObjectFieldSelector
Create an instance of V1ObjectFieldSelector given an JSON stringVersion of the schema the FieldPath is written in terms of, defaults to \"v1\".Path of the field to select in the specified API version.int
hashCode()
void
setApiVersion
(String apiVersion) void
setFieldPath
(String fieldPath) toJson()
Convert an instance of V1ObjectFieldSelector 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_API_VERSION
- See Also:
-
SERIALIZED_NAME_FIELD_PATH
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ObjectFieldSelector
public V1ObjectFieldSelector()
-
-
Method Details
-
apiVersion
-
getApiVersion
Version of the schema the FieldPath is written in terms of, defaults to \"v1\".- Returns:
- apiVersion
-
setApiVersion
-
fieldPath
-
getFieldPath
Path of the field to select in the specified API version.- Returns:
- fieldPath
-
setFieldPath
-
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 V1ObjectFieldSelector
-
fromJson
Create an instance of V1ObjectFieldSelector given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1ObjectFieldSelector
- Throws:
IOException
- if the JSON string is invalid with respect to V1ObjectFieldSelector
-
toJson
Convert an instance of V1ObjectFieldSelector to an JSON string- Returns:
- JSON string
-