Class V1alpha2DriverAllocationResult
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha2DriverAllocationResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1alpha2DriverAllocationResult
extends Object
DriverAllocationResult contains vendor parameters and the allocation result for one request.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1alpha2DriverAllocationResult given an JSON stringGet namedResourcesVendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated.int
hashCode()
namedResources
(V1alpha2NamedResourcesAllocationResult namedResources) void
setNamedResources
(V1alpha2NamedResourcesAllocationResult namedResources) void
setVendorRequestParameters
(Object vendorRequestParameters) toJson()
Convert an instance of V1alpha2DriverAllocationResult to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues foundvendorRequestParameters
(Object vendorRequestParameters)
-
Field Details
-
SERIALIZED_NAME_NAMED_RESOURCES
- See Also:
-
SERIALIZED_NAME_VENDOR_REQUEST_PARAMETERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha2DriverAllocationResult
public V1alpha2DriverAllocationResult()
-
-
Method Details
-
namedResources
public V1alpha2DriverAllocationResult namedResources(V1alpha2NamedResourcesAllocationResult namedResources) -
getNamedResources
Get namedResources- Returns:
- namedResources
-
setNamedResources
-
vendorRequestParameters
-
getVendorRequestParameters
VendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated.- Returns:
- vendorRequestParameters
-
setVendorRequestParameters
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1alpha2DriverAllocationResult
-
fromJson
Create an instance of V1alpha2DriverAllocationResult given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha2DriverAllocationResult
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha2DriverAllocationResult
-
toJson
Convert an instance of V1alpha2DriverAllocationResult to an JSON string- Returns:
- JSON string
-