Class OverlayVolume
java.lang.Object
io.github.alersrt.pod4j.openapi.model.OverlayVolume
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class OverlayVolume
extends Object
implements Serializable
OverlayVolume holds information about an overlay volume that will be mounted into the container.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOptionsItem(String optionsItem) destination(String destination) booleanstatic OverlayVolumeCreate an instance of OverlayVolume given an JSON stringDestination is the absolute path where the mount will be placed in the container.Options holds overlay volume options.Source specifies the source path of the mount.inthashCode()voidsetDestination(String destination) voidsetOptions(List<String> options) voidtoJson()Convert an instance of OverlayVolume to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DESTINATION
- See Also:
-
SERIALIZED_NAME_OPTIONS
- See Also:
-
SERIALIZED_NAME_SOURCE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
OverlayVolume
public OverlayVolume()
-
-
Method Details
-
destination
-
getDestination
Destination is the absolute path where the mount will be placed in the container.- Returns:
- destination
-
setDestination
-
options
-
addOptionsItem
-
getOptions
Options holds overlay volume options.- Returns:
- options
-
setOptions
-
source
-
getSource
Source specifies the source path of the mount.- Returns:
- source
-
setSource
-
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 OverlayVolume
-
fromJson
Create an instance of OverlayVolume given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OverlayVolume
- Throws:
IOException- if the JSON string is invalid with respect to OverlayVolume
-
toJson
Convert an instance of OverlayVolume to an JSON string- Returns:
- JSON string
-