Class V1alpha2VendorParameters
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha2VendorParameters
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1alpha2VendorParameters
extends Object
VendorParameters are opaque parameters for one particular driver.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondriverName
(String driverName) boolean
static V1alpha2VendorParameters
Create an instance of V1alpha2VendorParameters given an JSON stringDriverName is the name used by the DRA driver kubelet plugin.Parameters can be arbitrary setup parameters.int
hashCode()
parameters
(Object parameters) void
setDriverName
(String driverName) void
setParameters
(Object parameters) toJson()
Convert an instance of V1alpha2VendorParameters to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DRIVER_NAME
- See Also:
-
SERIALIZED_NAME_PARAMETERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha2VendorParameters
public V1alpha2VendorParameters()
-
-
Method Details
-
driverName
-
getDriverName
DriverName is the name used by the DRA driver kubelet plugin.- Returns:
- driverName
-
setDriverName
-
parameters
-
getParameters
Parameters can be arbitrary setup parameters. They are ignored while allocating a claim.- Returns:
- parameters
-
setParameters
-
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 V1alpha2VendorParameters
-
fromJson
Create an instance of V1alpha2VendorParameters given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha2VendorParameters
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha2VendorParameters
-
toJson
Convert an instance of V1alpha2VendorParameters to an JSON string- Returns:
- JSON string
-