Package com.exoscale.sdk.model
Class Quota
- java.lang.Object
-
- com.exoscale.sdk.model.Quota
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class Quota extends Object
Organization Quota
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_LIMIT
static String
JSON_PROPERTY_RESOURCE
static String
JSON_PROPERTY_USAGE
-
Constructor Summary
Constructors Constructor Description Quota()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this quota object is equal to o.Long
getLimit()
Resource Limit.String
getResource()
Resource NameLong
getUsage()
Resource Usageint
hashCode()
Quota
limit(Long limit)
Quota
resource(String resource)
void
setLimit(Long limit)
void
setResource(String resource)
void
setUsage(Long usage)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.Quota
usage(Long usage)
-
-
-
Field Detail
-
JSON_PROPERTY_RESOURCE
public static final String JSON_PROPERTY_RESOURCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USAGE
public static final String JSON_PROPERTY_USAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LIMIT
public static final String JSON_PROPERTY_LIMIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-