Class V1beta1ResourceClaimSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1beta1ResourceClaimSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1beta1ResourceClaimSpec
extends Object
ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondevices
(V1beta1DeviceClaim devices) boolean
static V1beta1ResourceClaimSpec
Create an instance of V1beta1ResourceClaimSpec given an JSON stringGet devicesint
hashCode()
void
setDevices
(V1beta1DeviceClaim devices) toJson()
Convert an instance of V1beta1ResourceClaimSpec 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_DEVICES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1beta1ResourceClaimSpec
public V1beta1ResourceClaimSpec()
-
-
Method Details
-
devices
-
getDevices
Get devices- Returns:
- devices
-
setDevices
-
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 V1beta1ResourceClaimSpec
-
fromJson
Create an instance of V1beta1ResourceClaimSpec given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1beta1ResourceClaimSpec
- Throws:
IOException
- if the JSON string is invalid with respect to V1beta1ResourceClaimSpec
-
toJson
Convert an instance of V1beta1ResourceClaimSpec to an JSON string- Returns:
- JSON string
-