Class V1alpha3OpaqueDeviceConfiguration
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha3OpaqueDeviceConfiguration
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1alpha3OpaqueDeviceConfiguration
extends Object
OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1alpha3OpaqueDeviceConfiguration given an JSON stringDriver is used to determine which kubelet plugin needs to be passed these configuration parameters.Parameters can contain arbitrary data.int
hashCode()
parameters
(Object parameters) void
void
setParameters
(Object parameters) toJson()
Convert an instance of V1alpha3OpaqueDeviceConfiguration 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_DRIVER
- See Also:
-
SERIALIZED_NAME_PARAMETERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha3OpaqueDeviceConfiguration
public V1alpha3OpaqueDeviceConfiguration()
-
-
Method Details
-
driver
-
getDriver
Driver is used to determine which kubelet plugin needs to be passed these configuration parameters. An admission policy provided by the driver developer could use this to decide whether it needs to validate them. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.- Returns:
- driver
-
setDriver
-
parameters
-
getParameters
Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.- Returns:
- parameters
-
setParameters
-
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 V1alpha3OpaqueDeviceConfiguration
-
fromJson
Create an instance of V1alpha3OpaqueDeviceConfiguration given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha3OpaqueDeviceConfiguration
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha3OpaqueDeviceConfiguration
-
toJson
Convert an instance of V1alpha3OpaqueDeviceConfiguration to an JSON string- Returns:
- JSON string
-