Class Quota


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

      • Quota

        public Quota()
    • Method Detail

      • resource

        public Quota resource​(String resource)
      • getResource

        @Nullable
        public String getResource()
        Resource Name
        Returns:
        resource
      • setResource

        public void setResource​(String resource)
      • getUsage

        @Nullable
        public Long getUsage()
        Resource Usage
        Returns:
        usage
      • setUsage

        public void setUsage​(Long usage)
      • getLimit

        @Nullable
        public Long getLimit()
        Resource Limit. -1 for Unlimited
        Returns:
        limit
      • setLimit

        public void setLimit​(Long limit)
      • equals

        public boolean equals​(Object o)
        Return true if this quota 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