Class Mount
java.lang.Object
io.github.alersrt.pod4j.openapi.model.Mount
@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 Mount
extends Object
Mount
-
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 stringGet bindOptionsGet clusterOptionsGet consistencyGet readOnlySource specifies the name of the mount.Get targetGet tmpfsOptionsgetType()Get typeGet 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 voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element 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
-
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 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
-