Package com.datadog.api.client.v2.model
Class UnitCostDataAttributesResponse
java.lang.Object
com.datadog.api.client.v2.model.UnitCostDataAttributesResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UnitCostDataAttributesResponse
extends Object
The attributes of a unit cost.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnitCostDataAttributesResponse(OffsetDateTime createdAt, UUID createdBy, UnitCostQueryDefinition denominatorQuery, String denominatorType, String name, UnitCostQueryDefinition numeratorQuery, Long orgId, String unitLabel, OffsetDateTime updatedAt, UUID updatedBy) -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) denominatorQuery(UnitCostQueryDefinition denominatorQuery) denominatorType(String denominatorType) description(String description) booleanReturn true if this UnitCostDataAttributesResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The time the unit cost was created.The UUID of the user who created the unit cost.A timeseries object containingqueriesandformulasarrays.The data source of the denominator queries, ormultisourcewhen the denominator queries span more than one data source.The description of the unit cost.org.openapitools.jackson.nullable.JsonNullable<String>getName()The name of the unit cost.A timeseries object containingqueriesandformulasarrays.getOrgId()The ID of the organization the unit cost belongs to.The label describing the denominator unit.The time the unit cost was last updated.The UUID of the user who last updated the unit cost.inthashCode()numeratorQuery(UnitCostQueryDefinition numeratorQuery) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(UUID createdBy) voidsetDenominatorQuery(UnitCostQueryDefinition denominatorQuery) voidsetDenominatorType(String denominatorType) voidsetDescription(String description) voidsetDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description) voidvoidsetNumeratorQuery(UnitCostQueryDefinition numeratorQuery) voidvoidsetUnitLabel(String unitLabel) voidsetUpdatedAt(OffsetDateTime updatedAt) voidsetUpdatedBy(UUID updatedBy) toString()updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_DENOMINATOR_QUERY
- See Also:
-
JSON_PROPERTY_DENOMINATOR_TYPE
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NUMERATOR_QUERY
- See Also:
-
JSON_PROPERTY_ORG_ID
- See Also:
-
JSON_PROPERTY_UNIT_LABEL
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_UPDATED_BY
- See Also:
-
-
Constructor Details
-
UnitCostDataAttributesResponse
public UnitCostDataAttributesResponse() -
UnitCostDataAttributesResponse
public UnitCostDataAttributesResponse(OffsetDateTime createdAt, UUID createdBy, UnitCostQueryDefinition denominatorQuery, String denominatorType, String name, UnitCostQueryDefinition numeratorQuery, Long orgId, String unitLabel, OffsetDateTime updatedAt, UUID updatedBy)
-
-
Method Details
-
createdAt
-
getCreatedAt
The time the unit cost was created.- Returns:
- createdAt
-
setCreatedAt
-
createdBy
-
getCreatedBy
The UUID of the user who created the unit cost.- Returns:
- createdBy
-
setCreatedBy
-
denominatorQuery
-
getDenominatorQuery
A timeseries object containingqueriesandformulasarrays.- Returns:
- denominatorQuery
-
setDenominatorQuery
-
denominatorType
-
getDenominatorType
The data source of the denominator queries, ormultisourcewhen the denominator queries span more than one data source.- Returns:
- denominatorType
-
setDenominatorType
-
description
-
getDescription
The description of the unit cost. Omitted when the unit cost has no description.- Returns:
- description
-
getDescription_JsonNullable
-
setDescription_JsonNullable
public void setDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description) -
setDescription
-
name
-
getName
The name of the unit cost.- Returns:
- name
-
setName
-
numeratorQuery
-
getNumeratorQuery
A timeseries object containingqueriesandformulasarrays.- Returns:
- numeratorQuery
-
setNumeratorQuery
-
orgId
-
getOrgId
The ID of the organization the unit cost belongs to.- Returns:
- orgId
-
setOrgId
-
unitLabel
-
getUnitLabel
The label describing the denominator unit.- Returns:
- unitLabel
-
setUnitLabel
-
updatedAt
-
getUpdatedAt
The time the unit cost was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
updatedBy
-
getUpdatedBy
The UUID of the user who last updated the unit cost.- Returns:
- updatedBy
-
setUpdatedBy
-
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:
- UnitCostDataAttributesResponse
-
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 UnitCostDataAttributesResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-