Class Mount
java.lang.Object
io.github.alersrt.pod4j.openapi.model.Mount
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Mount
extends Object
implements Serializable
Mount
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbindOptions(BindOptions bindOptions) clusterOptions(Object clusterOptions) consistency(String consistency) booleanstatic MountCreate an instance of Mount given an JSON string@Valid BindOptionsGet bindOptionsGet clusterOptionsGet consistencyGet readOnlySource specifies the name of the mount.Get target@Valid TmpfsOptionsGet tmpfsOptionsgetType()Get type@Valid VolumeOptionsGet volumeOptionsinthashCode()voidsetBindOptions(BindOptions bindOptions) voidsetClusterOptions(Object clusterOptions) voidsetConsistency(String consistency) voidsetReadOnly(Boolean readOnly) voidvoidvoidsetTmpfsOptions(TmpfsOptions tmpfsOptions) voidvoidsetVolumeOptions(VolumeOptions volumeOptions) tmpfsOptions(TmpfsOptions tmpfsOptions) toJson()Convert an instance of Mount to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues foundvolumeOptions(VolumeOptions volumeOptions)
-
Field Details
-
SERIALIZED_NAME_BIND_OPTIONS
- See Also:
-
SERIALIZED_NAME_CLUSTER_OPTIONS
- See Also:
-
SERIALIZED_NAME_CONSISTENCY
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_SOURCE
- See Also:
-
SERIALIZED_NAME_TARGET
- See Also:
-
SERIALIZED_NAME_TMPFS_OPTIONS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_VOLUME_OPTIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Mount
public Mount()
-
-
Method Details
-
bindOptions
-
getBindOptions
Get bindOptions- Returns:
- bindOptions
-
setBindOptions
-
clusterOptions
-
getClusterOptions
Get clusterOptions- Returns:
- clusterOptions
-
setClusterOptions
-
consistency
-
getConsistency
Get consistency- Returns:
- consistency
-
setConsistency
-
readOnly
-
getReadOnly
Get readOnly- Returns:
- readOnly
-
setReadOnly
-
source
-
getSource
Source specifies the name of the mount. Depending on mount type, this may be a volume name or a host path, or even ignored. Source is not supported for tmpfs (must be an empty value)- Returns:
- source
-
setSource
-
target
-
getTarget
Get target- Returns:
- target
-
setTarget
-
tmpfsOptions
-
getTmpfsOptions
Get tmpfsOptions- Returns:
- tmpfsOptions
-
setTmpfsOptions
-
type
-
getType
Get type- Returns:
- type
-
setType
-
volumeOptions
-
getVolumeOptions
Get volumeOptions- Returns:
- volumeOptions
-
setVolumeOptions
-
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 Mount
-
fromJson
Create an instance of Mount given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Mount
- Throws:
IOException- if the JSON string is invalid with respect to Mount
-
toJson
Convert an instance of Mount to an JSON string- Returns:
- JSON string
-