Class V1beta2DeviceClaimConfiguration
java.lang.Object
io.kubernetes.client.openapi.models.V1beta2DeviceClaimConfiguration
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-20T20:47:13.890592Z[Etc/UTC]",
comments="Generator version: 7.13.0")
public class V1beta2DeviceClaimConfiguration
extends Object
DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRequestsItem
(String requestsItem) boolean
Create an instance of V1beta2DeviceClaimConfiguration given an JSON stringGet opaqueRequests lists the names of requests where the configuration applies.int
hashCode()
void
void
setRequests
(List<String> requests) toJson()
Convert an instance of V1beta2DeviceClaimConfiguration 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_OPAQUE
- See Also:
-
SERIALIZED_NAME_REQUESTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1beta2DeviceClaimConfiguration
public V1beta2DeviceClaimConfiguration()
-
-
Method Details
-
opaque
-
getOpaque
Get opaque- Returns:
- opaque
-
setOpaque
-
requests
-
addRequestsItem
-
getRequests
Requests lists the names of requests where the configuration applies. If empty, it applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.- Returns:
- requests
-
setRequests
-
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 V1beta2DeviceClaimConfiguration
-
fromJson
Create an instance of V1beta2DeviceClaimConfiguration given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1beta2DeviceClaimConfiguration
- Throws:
IOException
- if the JSON string is invalid with respect to V1beta2DeviceClaimConfiguration
-
toJson
Convert an instance of V1beta2DeviceClaimConfiguration to an JSON string- Returns:
- JSON string
-