Class SosBucketUsage


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class SosBucketUsage
    extends Object
    SOS Bucket usage
    • Constructor Detail

      • SosBucketUsage

        public SosBucketUsage()
    • Method Detail

      • getName

        @Nullable
        public String getName()
        SOS Bucket name
        Returns:
        name
      • setName

        public void setName​(String name)
      • getCreatedAt

        @Nullable
        public OffsetDateTime getCreatedAt()
        SOS Bucket creation date
        Returns:
        createdAt
      • getZoneName

        @Nullable
        public ZoneName getZoneName()
        Get zoneName
        Returns:
        zoneName
      • setZoneName

        public void setZoneName​(ZoneName zoneName)
      • getSize

        @Nullable
        public Long getSize()
        SOS Bucket size in B minimum: 0
        Returns:
        size
      • equals

        public boolean equals​(Object o)
        Return true if this sos-bucket-usage object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toUrlQueryString

        public String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string