Class TypeMount
java.lang.Object
io.github.alersrt.pod4j.openapi.model.TypeMount
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class TypeMount
extends Object
implements Serializable
TypeMount contains options for using a volume as a Mount-type volume.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMountFlagsItem(String mountFlagsItem) booleanstatic TypeMountCreate an instance of TypeMount given an JSON stringFsType specifies the filesystem type for the mount volume.MountFlags defines flags to pass when mounting the volume.inthashCode()mountFlags(List<String> mountFlags) voidvoidsetMountFlags(List<String> mountFlags) toJson()Convert an instance of TypeMount 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_FS_TYPE
- See Also:
-
SERIALIZED_NAME_MOUNT_FLAGS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TypeMount
public TypeMount()
-
-
Method Details
-
fsType
-
getFsType
FsType specifies the filesystem type for the mount volume. Optional.- Returns:
- fsType
-
setFsType
-
mountFlags
-
addMountFlagsItem
-
getMountFlags
MountFlags defines flags to pass when mounting the volume. Optional.- Returns:
- mountFlags
-
setMountFlags
-
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 TypeMount
-
fromJson
Create an instance of TypeMount given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TypeMount
- Throws:
IOException- if the JSON string is invalid with respect to TypeMount
-
toJson
Convert an instance of TypeMount to an JSON string- Returns:
- JSON string
-