Package sh.ory.hydra.model
Class VolumeUsageData
- java.lang.Object
-
- sh.ory.hydra.model.VolumeUsageData
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-01-12T16:13:57.119092Z[GMT]") public class VolumeUsageData extends Object
VolumeUsageData Usage details about the volume. This information is used by the `GET /system/df` endpoint, and omitted in other endpoints.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_REF_COUNTstatic StringSERIALIZED_NAME_SIZE
-
Constructor Summary
Constructors Constructor Description VolumeUsageData()
-
Method Summary
Modifier and Type Method Description booleanequals(Object o)LonggetRefCount()The number of containers referencing this volume.LonggetSize()Amount of disk space used by the volume (in bytes).inthashCode()VolumeUsageDatarefCount(Long refCount)voidsetRefCount(Long refCount)voidsetSize(Long size)VolumeUsageDatasize(Long size)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_REF_COUNT
public static final String SERIALIZED_NAME_REF_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SIZE
public static final String SERIALIZED_NAME_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
refCount
public VolumeUsageData refCount(Long refCount)
-
getRefCount
public Long getRefCount()
The number of containers referencing this volume. This field is set to `-1` if the reference-count is not available.- Returns:
- refCount
-
setRefCount
public void setRefCount(Long refCount)
-
size
public VolumeUsageData size(Long size)
-
getSize
public Long getSize()
Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\"local\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\"not available\")- Returns:
- size
-
setSize
public void setSize(Long size)
-
-