Package com.datadog.api.client.v2.model
Class UsageQuotaUpdateData
java.lang.Object
com.datadog.api.client.v2.model.UsageQuotaUpdateData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UsageQuotaUpdateData
extends Object
A usage quota resource to update.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUsageQuotaUpdateData(UsageQuotaUpdateAttributes attributes, String id, UsageQuotaType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(UsageQuotaUpdateAttributes attributes) booleanReturn true if this UsageQuotaUpdateData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes to update on a usage quota.getId()The opaque usage quota identifier, which must match the identifier in the request path.getType()The JSON:API resource type for a usage quota.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(UsageQuotaUpdateAttributes attributes) voidvoidsetType(UsageQuotaType type) toString()type(UsageQuotaType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
UsageQuotaUpdateData
public UsageQuotaUpdateData() -
UsageQuotaUpdateData
-
-
Method Details
-
attributes
-
getAttributes
Attributes to update on a usage quota. Omitting a property leaves its current value unchanged.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The opaque usage quota identifier, which must match the identifier in the request path.- Returns:
- id
-
setId
-
type
-
getType
The JSON:API resource type for a usage quota.- Returns:
- type
-
setType
-
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:
- UsageQuotaUpdateData
-
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 UsageQuotaUpdateData object is equal to o. -
hashCode
public int hashCode() -
toString
-