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 Details

  • Constructor Details

  • Method Details

    • createdAt

      public UnitCostDataAttributesResponse createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      public OffsetDateTime getCreatedAt()
      The time the unit cost was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • createdBy

      public UnitCostDataAttributesResponse createdBy(UUID createdBy)
    • getCreatedBy

      public UUID getCreatedBy()
      The UUID of the user who created the unit cost.
      Returns:
      createdBy
    • setCreatedBy

      public void setCreatedBy(UUID createdBy)
    • denominatorQuery

      public UnitCostDataAttributesResponse denominatorQuery(UnitCostQueryDefinition denominatorQuery)
    • getDenominatorQuery

      public UnitCostQueryDefinition getDenominatorQuery()
      A timeseries object containing queries and formulas arrays.
      Returns:
      denominatorQuery
    • setDenominatorQuery

      public void setDenominatorQuery(UnitCostQueryDefinition denominatorQuery)
    • denominatorType

      public UnitCostDataAttributesResponse denominatorType(String denominatorType)
    • getDenominatorType

      public String getDenominatorType()
      The data source of the denominator queries, or multisource when the denominator queries span more than one data source.
      Returns:
      denominatorType
    • setDenominatorType

      public void setDenominatorType(String denominatorType)
    • description

      public UnitCostDataAttributesResponse description(String description)
    • getDescription

      @Nullable public String getDescription()
      The description of the unit cost. Omitted when the unit cost has no description.
      Returns:
      description
    • getDescription_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getDescription_JsonNullable()
    • setDescription_JsonNullable

      public void setDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description)
    • setDescription

      public void setDescription(String description)
    • name

    • getName

      public String getName()
      The name of the unit cost.
      Returns:
      name
    • setName

      public void setName(String name)
    • numeratorQuery

      public UnitCostDataAttributesResponse numeratorQuery(UnitCostQueryDefinition numeratorQuery)
    • getNumeratorQuery

      public UnitCostQueryDefinition getNumeratorQuery()
      A timeseries object containing queries and formulas arrays.
      Returns:
      numeratorQuery
    • setNumeratorQuery

      public void setNumeratorQuery(UnitCostQueryDefinition numeratorQuery)
    • orgId

      public UnitCostDataAttributesResponse orgId(Long orgId)
    • getOrgId

      public Long getOrgId()
      The ID of the organization the unit cost belongs to.
      Returns:
      orgId
    • setOrgId

      public void setOrgId(Long orgId)
    • unitLabel

      public UnitCostDataAttributesResponse unitLabel(String unitLabel)
    • getUnitLabel

      public String getUnitLabel()
      The label describing the denominator unit.
      Returns:
      unitLabel
    • setUnitLabel

      public void setUnitLabel(String unitLabel)
    • updatedAt

      public UnitCostDataAttributesResponse updatedAt(OffsetDateTime updatedAt)
    • getUpdatedAt

      public OffsetDateTime getUpdatedAt()
      The time the unit cost was last updated.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(OffsetDateTime updatedAt)
    • updatedBy

      public UnitCostDataAttributesResponse updatedBy(UUID updatedBy)
    • getUpdatedBy

      public UUID getUpdatedBy()
      The UUID of the user who last updated the unit cost.
      Returns:
      updatedBy
    • setUpdatedBy

      public void setUpdatedBy(UUID updatedBy)
    • putAdditionalProperty

      public UnitCostDataAttributesResponse putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      UnitCostDataAttributesResponse
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this UnitCostDataAttributesResponse object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object