Package com.datadog.api.client.v2.model
Class BudgetWithEntriesDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.BudgetWithEntriesDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class BudgetWithEntriesDataAttributes
extends Object
The attributes of a budget including all its monthly entries.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this BudgetWithEntriesDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The timestamp when the budget was created.The ID of the user that created the budget.The month when the budget ends, in YYYYMM format.The list of monthly budget entries.The cost query used to track spending against the budget.getName()The name of the budget.getOrgId()The ID of the organization the budget belongs to.The month when the budget starts, in YYYYMM format.The total budget amount across all entries.The timestamp when the budget was last updated.The ID of the user that last updated the budget.inthashCode()metricsQuery(String metricsQuery) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(Long createdAt) voidsetCreatedBy(String createdBy) voidsetEndMonth(Long endMonth) voidvoidsetMetricsQuery(String metricsQuery) voidvoidvoidsetStartMonth(Long startMonth) voidsetTotalAmount(Double totalAmount) voidsetUpdatedAt(Long updatedAt) voidsetUpdatedBy(String updatedBy) startMonth(Long startMonth) toString()totalAmount(Double totalAmount)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_END_MONTH
- See Also:
-
JSON_PROPERTY_ENTRIES
- See Also:
-
JSON_PROPERTY_METRICS_QUERY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_ORG_ID
- See Also:
-
JSON_PROPERTY_START_MONTH
- See Also:
-
JSON_PROPERTY_TOTAL_AMOUNT
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_UPDATED_BY
- See Also:
-
-
Constructor Details
-
BudgetWithEntriesDataAttributes
public BudgetWithEntriesDataAttributes()
-
-
Method Details
-
createdAt
-
getCreatedAt
The timestamp when the budget was created.- Returns:
- createdAt
-
setCreatedAt
-
createdBy
-
getCreatedBy
The ID of the user that created the budget.- Returns:
- createdBy
-
setCreatedBy
-
endMonth
-
getEndMonth
The month when the budget ends, in YYYYMM format.- Returns:
- endMonth
-
setEndMonth
-
entries
public BudgetWithEntriesDataAttributes entries(List<BudgetWithEntriesDataAttributesEntriesItems> entries) -
addEntriesItem
public BudgetWithEntriesDataAttributes addEntriesItem(BudgetWithEntriesDataAttributesEntriesItems entriesItem) -
getEntries
The list of monthly budget entries.- Returns:
- entries
-
setEntries
-
metricsQuery
-
getMetricsQuery
The cost query used to track spending against the budget.- Returns:
- metricsQuery
-
setMetricsQuery
-
name
-
getName
The name of the budget.- Returns:
- name
-
setName
-
orgId
-
getOrgId
The ID of the organization the budget belongs to.- Returns:
- orgId
-
setOrgId
-
startMonth
-
getStartMonth
The month when the budget starts, in YYYYMM format.- Returns:
- startMonth
-
setStartMonth
-
totalAmount
-
getTotalAmount
The total budget amount across all entries.- Returns:
- totalAmount
-
setTotalAmount
-
updatedAt
-
getUpdatedAt
The timestamp when the budget was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
updatedBy
-
getUpdatedBy
The ID of the user that last updated the budget.- 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:
- BudgetWithEntriesDataAttributes
-
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 BudgetWithEntriesDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-