Class VolumeConfigResponse
java.lang.Object
io.github.alersrt.pod4j.openapi.model.VolumeConfigResponse
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class VolumeConfigResponse
extends Object
implements Serializable
VolumeConfigResponse
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanstatic VolumeConfigResponseCreate an instance of VolumeConfigResponse given an JSON stringAnonymous indicates that the volume was created as an anonymous volume for a specific container, and will be removed when any container using it is removed.@Valid OffsetDateTimeCreatedAt is the date and time the volume was created at.Driver is the driver used to create the volume.getGID()GID is the GID that the volume was created with.Labels includes the volume's configured labels, key:value pairs that can be passed during volume creation to provide information for third party tools.LockNumber is the number of the volume's Libpod lock.MountCount is the number of times this volume has been mounted.Mountpoint is the path on the host where the volume is mounted.getName()Name is the name of the volume.NeedsChown indicates that the next time the volume is mounted into a container, the container will chown the volume to the container process UID/GID.NeedsCopyUp indicates that the next time the volume is mounted intoOptions is a set of options that were used when creating the volume.getScope()Scope is unused and provided solely for Docker compatibility.Status is used to return information on the volume's current state, if the volume was created using a volume plugin (uses a Driver that is not the local driver).StorageID is the ID of the container backing the volume in c/storage.Timeout is the specified driver timeout if givengetUID()UID is the UID that the volume was created with.inthashCode()lockNumber(Integer lockNumber) mountCount(Integer mountCount) mountpoint(String mountpoint) needsChown(Boolean needsChown) needsCopyUp(Boolean needsCopyUp) putLabelsItem(String key, String labelsItem) putOptionsItem(String key, String optionsItem) putStatusItem(String key, Object statusItem) voidsetAnonymous(Boolean anonymous) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidvoidvoidsetLockNumber(Integer lockNumber) voidsetMountCount(Integer mountCount) voidsetMountpoint(String mountpoint) voidvoidsetNeedsChown(Boolean needsChown) voidsetNeedsCopyUp(Boolean needsCopyUp) voidsetOptions(Map<String, String> options) voidvoidvoidsetStorageID(String storageID) voidsetTimeout(Integer timeout) voidtoJson()Convert an instance of VolumeConfigResponse 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_ANONYMOUS
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_DRIVER
- See Also:
-
SERIALIZED_NAME_G_I_D
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_LOCK_NUMBER
- See Also:
-
SERIALIZED_NAME_MOUNT_COUNT
- See Also:
-
SERIALIZED_NAME_MOUNTPOINT
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NEEDS_CHOWN
- See Also:
-
SERIALIZED_NAME_NEEDS_COPY_UP
- See Also:
-
SERIALIZED_NAME_OPTIONS
- See Also:
-
SERIALIZED_NAME_SCOPE
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_STORAGE_I_D
- See Also:
-
SERIALIZED_NAME_TIMEOUT
- See Also:
-
SERIALIZED_NAME_U_I_D
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VolumeConfigResponse
public VolumeConfigResponse()
-
-
Method Details
-
anonymous
-
getAnonymous
Anonymous indicates that the volume was created as an anonymous volume for a specific container, and will be removed when any container using it is removed.- Returns:
- anonymous
-
setAnonymous
-
createdAt
-
getCreatedAt
CreatedAt is the date and time the volume was created at. This is not stored for older Libpod volumes; if so, it will be omitted.- Returns:
- createdAt
-
setCreatedAt
-
driver
-
getDriver
Driver is the driver used to create the volume. If set to \"local\" or \"\", the Local driver (Podman built-in code) is used to service the volume; otherwise, a volume plugin with the given name is used to mount and manage the volume.- Returns:
- driver
-
setDriver
-
GID
-
getGID
GID is the GID that the volume was created with.- Returns:
- GID
-
setGID
-
labels
-
putLabelsItem
-
getLabels
Labels includes the volume's configured labels, key:value pairs that can be passed during volume creation to provide information for third party tools.- Returns:
- labels
-
setLabels
-
lockNumber
-
getLockNumber
LockNumber is the number of the volume's Libpod lock.- Returns:
- lockNumber
-
setLockNumber
-
mountCount
-
getMountCount
MountCount is the number of times this volume has been mounted.- Returns:
- mountCount
-
setMountCount
-
mountpoint
-
getMountpoint
Mountpoint is the path on the host where the volume is mounted.- Returns:
- mountpoint
-
setMountpoint
-
name
-
getName
Name is the name of the volume.- Returns:
- name
-
setName
-
needsChown
-
getNeedsChown
NeedsChown indicates that the next time the volume is mounted into a container, the container will chown the volume to the container process UID/GID.- Returns:
- needsChown
-
setNeedsChown
-
needsCopyUp
-
getNeedsCopyUp
NeedsCopyUp indicates that the next time the volume is mounted into- Returns:
- needsCopyUp
-
setNeedsCopyUp
-
options
-
putOptionsItem
-
getOptions
Options is a set of options that were used when creating the volume. For the Local driver, these are mount options that will be used to determine how a local filesystem is mounted; they are handled as parameters to Mount in a manner described in the volume create manpage. For non-local drivers, these are passed as-is to the volume plugin.- Returns:
- options
-
setOptions
-
scope
-
getScope
Scope is unused and provided solely for Docker compatibility. It is unconditionally set to \"local\".- Returns:
- scope
-
setScope
-
status
-
putStatusItem
-
getStatus
Status is used to return information on the volume's current state, if the volume was created using a volume plugin (uses a Driver that is not the local driver). Status is provided to us by an external program, so no guarantees are made about its format or contents. Further, it is an optional field, so it may not be set even in cases where a volume plugin is in use.- Returns:
- status
-
setStatus
-
storageID
-
getStorageID
StorageID is the ID of the container backing the volume in c/storage. Only used with Image Volumes.- Returns:
- storageID
-
setStorageID
-
timeout
-
getTimeout
Timeout is the specified driver timeout if given- Returns:
- timeout
-
setTimeout
-
UID
-
getUID
UID is the UID that the volume was created with.- Returns:
- UID
-
setUID
-
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 VolumeConfigResponse
-
fromJson
Create an instance of VolumeConfigResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VolumeConfigResponse
- Throws:
IOException- if the JSON string is invalid with respect to VolumeConfigResponse
-
toJson
Convert an instance of VolumeConfigResponse to an JSON string- Returns:
- JSON string
-