Class TypeMount
java.lang.Object
io.github.alersrt.pod4j.openapi.model.TypeMount
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class TypeMount
extends Object
TypeMount contains options for using a volume as a Mount-type volume.
-
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 voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element 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
-
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 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
-
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
-
toJson
Convert an instance of TypeMount to an JSON string- Returns:
- JSON string
-