Package com.datadog.api.client.v2.model
Class UsageQuotaUpdateAttributes
java.lang.Object
com.datadog.api.client.v2.model.UsageQuotaUpdateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UsageQuotaUpdateAttributes
extends Object
Attributes to update on a usage quota. Omitting a property leaves its current value unchanged.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this UsageQuotaUpdateAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether to actively block usage above the limit.org.openapitools.jackson.nullable.JsonNullable<Boolean>The new quota limit in the usage units defined by the quota namespace.org.openapitools.jackson.nullable.JsonNullable<Long>inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetEnforced(Boolean enforced) voidsetEnforced_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> enforced) voidsetUsageLimit(Long usageLimit) voidsetUsageLimit_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> usageLimit) toString()usageLimit(Long usageLimit)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ENFORCED
- See Also:
-
JSON_PROPERTY_USAGE_LIMIT
- See Also:
-
-
Constructor Details
-
UsageQuotaUpdateAttributes
public UsageQuotaUpdateAttributes()
-
-
Method Details
-
enforced
-
getEnforced
Whether to actively block usage above the limit. Omit this field to leave the current enforcement setting unchanged.- Returns:
- enforced
-
getEnforced_JsonNullable
-
setEnforced_JsonNullable
public void setEnforced_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> enforced) -
setEnforced
-
usageLimit
-
getUsageLimit
The new quota limit in the usage units defined by the quota namespace. For an organization-wide quota (empty scope), the limit must be greater than the usage already recorded in the current period. Omit this field to leave the current limit unchanged. minimum: 0- Returns:
- usageLimit
-
getUsageLimit_JsonNullable
-
setUsageLimit_JsonNullable
public void setUsageLimit_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> 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:
- UsageQuotaUpdateAttributes
-
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 UsageQuotaUpdateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-