Class VolumeOptions
java.lang.Object
io.github.alersrt.pod4j.openapi.model.VolumeOptions
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class VolumeOptions
extends Object
VolumeOptions
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondriverConfig(Driver driverConfig) booleanstatic VolumeOptionsCreate an instance of VolumeOptions given an JSON stringGet driverConfigGet labelsGet noCopyGet subpathinthashCode()putLabelsItem(String key, String labelsItem) voidsetDriverConfig(Driver driverConfig) voidvoidvoidsetSubpath(String subpath) toJson()Convert an instance of VolumeOptions to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DRIVER_CONFIG
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_NO_COPY
- See Also:
-
SERIALIZED_NAME_SUBPATH
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VolumeOptions
public VolumeOptions()
-
-
Method Details
-
driverConfig
-
getDriverConfig
Get driverConfig- Returns:
- driverConfig
-
setDriverConfig
-
labels
-
putLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
noCopy
-
getNoCopy
Get noCopy- Returns:
- noCopy
-
setNoCopy
-
subpath
-
getSubpath
Get subpath- Returns:
- subpath
-
setSubpath
-
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 VolumeOptions
-
fromJson
Create an instance of VolumeOptions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VolumeOptions
- Throws:
IOException- if the JSON string is invalid with respect to VolumeOptions
-
toJson
Convert an instance of VolumeOptions to an JSON string- Returns:
- JSON string
-