Class V1alpha3DeviceClaimConfiguration
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha3DeviceClaimConfiguration
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-20T20:47:13.890592Z[Etc/UTC]",
comments="Generator version: 7.13.0")
public class V1alpha3DeviceClaimConfiguration
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 V1alpha3DeviceClaimConfiguration 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 V1alpha3DeviceClaimConfiguration 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
-
V1alpha3DeviceClaimConfiguration
public V1alpha3DeviceClaimConfiguration()
-
-
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 V1alpha3DeviceClaimConfiguration
-
fromJson
Create an instance of V1alpha3DeviceClaimConfiguration given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha3DeviceClaimConfiguration
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha3DeviceClaimConfiguration
-
toJson
Convert an instance of V1alpha3DeviceClaimConfiguration to an JSON string- Returns:
- JSON string
-