@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsageQuotaResponseAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ENFORCED |
static String |
JSON_PROPERTY_ORG_PUBLIC_ID |
static String |
JSON_PROPERTY_SCOPE |
static String |
JSON_PROPERTY_USAGE_LIMIT |
boolean |
unparsed |
| Constructor and Description |
|---|
UsageQuotaResponseAttributes() |
UsageQuotaResponseAttributes(Boolean enforced,
String orgPublicId,
Double usageLimit) |
| Modifier and Type | Method and Description |
|---|---|
UsageQuotaResponseAttributes |
enforced(Boolean enforced) |
boolean |
equals(Object o)
Return true if this UsageQuotaResponseAttributes object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getEnforced()
Whether usage above the limit is actively blocked instead of only tracked or alerted on.
|
String |
getOrgPublicId()
The public ID of the organization that owns the quota.
|
Map<String,String> |
getScope()
A namespace-specific key and value identifying what the quota applies to within an
organization.
|
Double |
getUsageLimit()
The quota limit in the usage units defined by the quota namespace.
|
int |
hashCode() |
UsageQuotaResponseAttributes |
orgPublicId(String orgPublicId) |
UsageQuotaResponseAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
UsageQuotaResponseAttributes |
putScopeItem(String key,
String scopeItem) |
UsageQuotaResponseAttributes |
scope(Map<String,String> scope) |
void |
setEnforced(Boolean enforced) |
void |
setOrgPublicId(String orgPublicId) |
void |
setScope(Map<String,String> scope) |
void |
setUsageLimit(Double usageLimit) |
String |
toString() |
UsageQuotaResponseAttributes |
usageLimit(Double usageLimit) |
public boolean unparsed
public static final String JSON_PROPERTY_ENFORCED
public static final String JSON_PROPERTY_ORG_PUBLIC_ID
public static final String JSON_PROPERTY_SCOPE
public static final String JSON_PROPERTY_USAGE_LIMIT
public UsageQuotaResponseAttributes enforced(Boolean enforced)
public Boolean getEnforced()
public void setEnforced(Boolean enforced)
public UsageQuotaResponseAttributes orgPublicId(String orgPublicId)
public String getOrgPublicId()
public void setOrgPublicId(String orgPublicId)
public UsageQuotaResponseAttributes scope(Map<String,String> scope)
public UsageQuotaResponseAttributes putScopeItem(String key, String scopeItem)
@Nullable public Map<String,String> getScope()
"*" identifies the
default quota applied to entities without a specific quota. This field is omitted for an
organization-wide quota.public UsageQuotaResponseAttributes usageLimit(Double usageLimit)
public Double getUsageLimit()
public void setUsageLimit(Double usageLimit)
public UsageQuotaResponseAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.