Class V1CSINodeSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1CSINodeSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1CSINodeSpec
extends Object
CSINodeSpec holds information about the specification of all CSI drivers installed on a node
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDriversItem
(V1CSINodeDriver driversItem) drivers
(List<V1CSINodeDriver> drivers) boolean
static V1CSINodeSpec
Create an instance of V1CSINodeSpec given an JSON stringdrivers is a list of information of all CSI Drivers existing on a node.int
hashCode()
void
setDrivers
(List<V1CSINodeDriver> drivers) toJson()
Convert an instance of V1CSINodeSpec 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_DRIVERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1CSINodeSpec
public V1CSINodeSpec()
-
-
Method Details
-
drivers
-
addDriversItem
-
getDrivers
drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.- Returns:
- drivers
-
setDrivers
-
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 V1CSINodeSpec
-
fromJson
Create an instance of V1CSINodeSpec given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1CSINodeSpec
- Throws:
IOException
- if the JSON string is invalid with respect to V1CSINodeSpec
-
toJson
Convert an instance of V1CSINodeSpec to an JSON string- Returns:
- JSON string
-