Package com.datadog.api.client.v2.model
Class UsageQuotaResponseAttributes
java.lang.Object
com.datadog.api.client.v2.model.UsageQuotaResponseAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UsageQuotaResponseAttributes
extends Object
Attributes of a usage quota.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUsageQuotaResponseAttributes(Boolean enforced, String orgPublicId, Double usageLimit) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this UsageQuotaResponseAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether usage above the limit is actively blocked instead of only tracked or alerted on.The public ID of the organization that owns the quota.getScope()A namespace-specific key and value identifying what the quota applies to within an organization.The quota limit in the usage units defined by the quota namespace.inthashCode()orgPublicId(String orgPublicId) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putScopeItem(String key, String scopeItem) voidsetEnforced(Boolean enforced) voidsetOrgPublicId(String orgPublicId) voidvoidsetUsageLimit(Double usageLimit) toString()usageLimit(Double usageLimit)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ENFORCED
- See Also:
-
JSON_PROPERTY_ORG_PUBLIC_ID
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
JSON_PROPERTY_USAGE_LIMIT
- See Also:
-
-
Constructor Details
-
UsageQuotaResponseAttributes
public UsageQuotaResponseAttributes() -
UsageQuotaResponseAttributes
-
-
Method Details
-
enforced
-
getEnforced
Whether usage above the limit is actively blocked instead of only tracked or alerted on.- Returns:
- enforced
-
setEnforced
-
orgPublicId
-
getOrgPublicId
The public ID of the organization that owns the quota.- Returns:
- orgPublicId
-
setOrgPublicId
-
scope
-
putScopeItem
-
getScope
A namespace-specific key and value identifying what the quota applies to within an organization. The object contains exactly one entry. A value of"*"identifies the default quota applied to entities without a specific quota. This field is omitted for an organization-wide quota.- Returns:
- scope
-
setScope
-
usageLimit
-
getUsageLimit
The quota limit in the usage units defined by the quota namespace. May be fractional for quotas configured before public writes required whole units.- Returns:
- usageLimit
-
setUsageLimit
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- UsageQuotaResponseAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this UsageQuotaResponseAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-