Package com.datadog.api.client.v2.model
Class CustomCostsFileMetadataWithContent
java.lang.Object
com.datadog.api.client.v2.model.CustomCostsFileMetadataWithContent
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomCostsFileMetadataWithContent
extends Object
Schema of a cost file's metadata.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContentItem(CustomCostsFileLineItem contentItem) addProviderNamesItem(String providerNamesItem) billedCost(Double billedCost) billingCurrency(String billingCurrency) chargePeriod(CustomCostsFileUsageChargePeriod chargePeriod) content(List<CustomCostsFileLineItem> content) booleanReturn true if this CustomCostsFileMetadataWithContent object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Total cost in the cost file.Currency used in the Custom Costs file.Usage charge period of a Custom Costs file.Detail of the line items from the Custom Costs file.getName()Name of the Custom Costs file.Providers contained in the Custom Costs file.Status of the Custom Costs file.Timestamp in millisecond of the upload time of the Custom Costs file.Metadata of the user that has uploaded the Custom Costs file.inthashCode()providerNames(List<String> providerNames) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBilledCost(Double billedCost) voidsetBillingCurrency(String billingCurrency) voidsetChargePeriod(CustomCostsFileUsageChargePeriod chargePeriod) voidsetContent(List<CustomCostsFileLineItem> content) voidvoidsetProviderNames(List<String> providerNames) voidvoidsetUploadedAt(Double uploadedAt) voidsetUploadedBy(CustomCostsUser uploadedBy) toString()uploadedAt(Double uploadedAt) uploadedBy(CustomCostsUser uploadedBy)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BILLED_COST
- See Also:
-
JSON_PROPERTY_BILLING_CURRENCY
- See Also:
-
JSON_PROPERTY_CHARGE_PERIOD
- See Also:
-
JSON_PROPERTY_CONTENT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PROVIDER_NAMES
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_UPLOADED_AT
- See Also:
-
JSON_PROPERTY_UPLOADED_BY
- See Also:
-
-
Constructor Details
-
CustomCostsFileMetadataWithContent
public CustomCostsFileMetadataWithContent()
-
-
Method Details
-
billedCost
-
getBilledCost
Total cost in the cost file.- Returns:
- billedCost
-
setBilledCost
-
billingCurrency
-
getBillingCurrency
Currency used in the Custom Costs file.- Returns:
- billingCurrency
-
setBillingCurrency
-
chargePeriod
public CustomCostsFileMetadataWithContent chargePeriod(CustomCostsFileUsageChargePeriod chargePeriod) -
getChargePeriod
Usage charge period of a Custom Costs file.- Returns:
- chargePeriod
-
setChargePeriod
-
content
-
addContentItem
-
getContent
Detail of the line items from the Custom Costs file.- Returns:
- content
-
setContent
-
name
-
getName
Name of the Custom Costs file.- Returns:
- name
-
setName
-
providerNames
-
addProviderNamesItem
-
getProviderNames
Providers contained in the Custom Costs file.- Returns:
- providerNames
-
setProviderNames
-
status
-
getStatus
Status of the Custom Costs file.- Returns:
- status
-
setStatus
-
uploadedAt
-
getUploadedAt
Timestamp in millisecond of the upload time of the Custom Costs file.- Returns:
- uploadedAt
-
setUploadedAt
-
uploadedBy
-
getUploadedBy
Metadata of the user that has uploaded the Custom Costs file.- Returns:
- uploadedBy
-
setUploadedBy
-
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:
- CustomCostsFileMetadataWithContent
-
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 CustomCostsFileMetadataWithContent object is equal to o. -
hashCode
public int hashCode() -
toString
-