Class V1beta2DeviceSelector
java.lang.Object
io.kubernetes.client.openapi.models.V1beta2DeviceSelector
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-20T20:47:13.890592Z[Etc/UTC]",
comments="Generator version: 7.13.0")
public class V1beta2DeviceSelector
extends Object
DeviceSelector must have exactly one field set.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1beta2DeviceSelector
Create an instance of V1beta2DeviceSelector given an JSON stringgetCel()
Get celint
hashCode()
void
toJson()
Convert an instance of V1beta2DeviceSelector 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_CEL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1beta2DeviceSelector
public V1beta2DeviceSelector()
-
-
Method Details
-
cel
-
getCel
Get cel- Returns:
- cel
-
setCel
-
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 V1beta2DeviceSelector
-
fromJson
Create an instance of V1beta2DeviceSelector given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1beta2DeviceSelector
- Throws:
IOException
- if the JSON string is invalid with respect to V1beta2DeviceSelector
-
toJson
Convert an instance of V1beta2DeviceSelector to an JSON string- Returns:
- JSON string
-