Class V1CSINodeSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1CSINodeSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
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
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
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 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
-