Package com.datadog.api.client.v1.model
Class SLOHistoryMetrics
java.lang.Object
com.datadog.api.client.v1.model.SLOHistoryMetrics
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SLOHistoryMetrics
extends Object
A
metric based SLO history response.
This is not included in responses for monitor based SLOs.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSLOHistoryMetrics(SLOHistoryMetricsSeries denominator, Long interval, SLOHistoryMetricsSeries numerator, String query, String resType, Long respVersion, List<Double> times) -
Method Summary
Modifier and TypeMethodDescriptionaddTimesItem(Double timesItem) denominator(SLOHistoryMetricsSeries denominator) booleanReturn true if this SLOHistoryMetrics object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A representation ofmetricbased SLO timeseries for the provided queries.The aggregated query interval for the series data.Optional message if there are specific query issues/warnings.A representation ofmetricbased SLO timeseries for the provided queries.getQuery()The combined numerator and denominator query CSV.The series response version type.The series result type.getTimes()An array of query timestamps in EPOCH milliseconds.inthashCode()numerator(SLOHistoryMetricsSeries numerator) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.respVersion(Long respVersion) voidsetDenominator(SLOHistoryMetricsSeries denominator) voidsetInterval(Long interval) voidsetMessage(String message) voidsetNumerator(SLOHistoryMetricsSeries numerator) voidvoidsetRespVersion(Long respVersion) voidsetResType(String resType) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DENOMINATOR
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_NUMERATOR
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_RES_TYPE
- See Also:
-
JSON_PROPERTY_RESP_VERSION
- See Also:
-
JSON_PROPERTY_TIMES
- See Also:
-
-
Constructor Details
-
SLOHistoryMetrics
public SLOHistoryMetrics() -
SLOHistoryMetrics
public SLOHistoryMetrics(SLOHistoryMetricsSeries denominator, Long interval, SLOHistoryMetricsSeries numerator, String query, String resType, Long respVersion, List<Double> times)
-
-
Method Details
-
denominator
-
getDenominator
A representation ofmetricbased SLO timeseries for the provided queries. This is the same response type frombatch_queryendpoint.- Returns:
- denominator
-
setDenominator
-
interval
-
getInterval
The aggregated query interval for the series data. It's implicit based on the query time window.- Returns:
- interval
-
setInterval
-
message
-
getMessage
Optional message if there are specific query issues/warnings.- Returns:
- message
-
setMessage
-
numerator
-
getNumerator
A representation ofmetricbased SLO timeseries for the provided queries. This is the same response type frombatch_queryendpoint.- Returns:
- numerator
-
setNumerator
-
query
-
getQuery
The combined numerator and denominator query CSV.- Returns:
- query
-
setQuery
-
resType
-
getResType
The series result type. This mimicsbatch_queryresponse type.- Returns:
- resType
-
setResType
-
respVersion
-
getRespVersion
The series response version type. This mimicsbatch_queryresponse type.- Returns:
- respVersion
-
setRespVersion
-
times
-
addTimesItem
-
getTimes
An array of query timestamps in EPOCH milliseconds.- Returns:
- times
-
setTimes
-
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:
- SLOHistoryMetrics
-
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 SLOHistoryMetrics object is equal to o. -
hashCode
public int hashCode() -
toString
-