Package com.datadog.api.client.v2.model
Class CommitmentsCoverageTimeseriesResponse
java.lang.Object
com.datadog.api.client.v2.model.CommitmentsCoverageTimeseriesResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CommitmentsCoverageTimeseriesResponse
extends Object
Response containing timeseries coverage metrics for cloud commitment programs.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCommitmentsCoverageTimeseriesResponse(CommitmentsTimeseriesMetric cost, CommitmentsTimeseriesMetric hours) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CommitmentsCoverageTimeseriesResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCost()A timeseries metric containing timestamps, series values, and optional unit metadata.getHours()A timeseries metric containing timestamps, series values, and optional unit metadata.inthashCode()hours(CommitmentsTimeseriesMetric hours) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COST
- See Also:
-
JSON_PROPERTY_HOURS
- See Also:
-
-
Constructor Details
-
CommitmentsCoverageTimeseriesResponse
public CommitmentsCoverageTimeseriesResponse() -
CommitmentsCoverageTimeseriesResponse
public CommitmentsCoverageTimeseriesResponse(CommitmentsTimeseriesMetric cost, CommitmentsTimeseriesMetric hours)
-
-
Method Details
-
cost
-
getCost
A timeseries metric containing timestamps, series values, and optional unit metadata.- Returns:
- cost
-
setCost
-
hours
-
getHours
A timeseries metric containing timestamps, series values, and optional unit metadata.- Returns:
- hours
-
setHours
-
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:
- CommitmentsCoverageTimeseriesResponse
-
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 CommitmentsCoverageTimeseriesResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-