Class V1beta2AllocationResult
java.lang.Object
io.kubernetes.client.openapi.models.V1beta2AllocationResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-20T20:47:13.890592Z[Etc/UTC]",
comments="Generator version: 7.13.0")
public class V1beta2AllocationResult
extends Object
AllocationResult contains attributes of an allocated resource.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondevices
(V1beta2DeviceAllocationResult devices) boolean
static V1beta2AllocationResult
Create an instance of V1beta2AllocationResult given an JSON stringGet devicesGet nodeSelectorint
hashCode()
nodeSelector
(V1NodeSelector nodeSelector) void
setDevices
(V1beta2DeviceAllocationResult devices) void
setNodeSelector
(V1NodeSelector nodeSelector) toJson()
Convert an instance of V1beta2AllocationResult 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:
-
SERIALIZED_NAME_NODE_SELECTOR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1beta2AllocationResult
public V1beta2AllocationResult()
-
-
Method Details
-
devices
-
getDevices
Get devices- Returns:
- devices
-
setDevices
-
nodeSelector
-
getNodeSelector
Get nodeSelector- Returns:
- nodeSelector
-
setNodeSelector
-
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 V1beta2AllocationResult
-
fromJson
Create an instance of V1beta2AllocationResult given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1beta2AllocationResult
- Throws:
IOException
- if the JSON string is invalid with respect to V1beta2AllocationResult
-
toJson
Convert an instance of V1beta2AllocationResult to an JSON string- Returns:
- JSON string
-