Class V1alpha3DeviceClaimConfiguration
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha3DeviceClaimConfiguration
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.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) booleanCreate an instance of V1alpha3DeviceClaimConfiguration given an JSON stringGet opaqueRequests lists the names of requests where the configuration applies.inthashCode()voidvoidsetRequests(List<String> requests) toJson()Convert an instance of V1alpha3DeviceClaimConfiguration to an JSON stringtoString()static voidvalidateJsonElement(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.- 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
-