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 TypeMethodDescriptionbooleanCreate an instance of V1alpha2DriverAllocationResult given an JSON stringGet namedResourcesVendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated.inthashCode()namedResources(V1alpha2NamedResourcesAllocationResult namedResources) voidsetNamedResources(V1alpha2NamedResourcesAllocationResult namedResources) voidsetVendorRequestParameters(Object vendorRequestParameters) toJson()Convert an instance of V1alpha2DriverAllocationResult to an JSON stringtoString()static voidvalidateJsonObject(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
-