Package com.datadog.api.client.v2.model
Class UsageQuotaBulkResultAttributes
java.lang.Object
com.datadog.api.client.v2.model.UsageQuotaBulkResultAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UsageQuotaBulkResultAttributes
extends Object
Attributes of a usage quota bulk write result. On success, all fields except
error
are present. On failure, only error is present and the other fields are omitted.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this UsageQuotaBulkResultAttributes 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.getError()An error message describing why this item failed to write.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) voidvoidsetOrgPublicId(String orgPublicId) voidvoidsetUsageLimit(Double usageLimit) toString()usageLimit(Double usageLimit)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ENFORCED
- See Also:
-
JSON_PROPERTY_ERROR
- See Also:
-
JSON_PROPERTY_ORG_PUBLIC_ID
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
JSON_PROPERTY_USAGE_LIMIT
- See Also:
-
-
Constructor Details
-
UsageQuotaBulkResultAttributes
public UsageQuotaBulkResultAttributes()
-
-
Method Details
-
enforced
-
getEnforced
Whether usage above the limit is actively blocked instead of only tracked or alerted on. Omitted if this item failed to write.- Returns:
- enforced
-
setEnforced
-
error
-
getError
An error message describing why this item failed to write. Omitted if this item was written successfully.- Returns:
- error
-
setError
-
orgPublicId
-
getOrgPublicId
The public ID of the organization that owns the quota. Omitted if this item failed to write.- 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. Omitted if this item failed to write.- 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:
- UsageQuotaBulkResultAttributes
-
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 UsageQuotaBulkResultAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-