Class 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.
    • Constructor Detail

      • VolumeUsageData

        public VolumeUsageData()
    • Method Detail

      • 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)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object