Package com.datadog.api.client.v1.model
Class SLOHistoryResponseData
java.lang.Object
com.datadog.api.client.v1.model.SLOHistoryResponseData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SLOHistoryResponseData
extends Object
An array of service level objective objects.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddGroupByItem(String groupByItem) addGroupsItem(SLOHistoryMonitor groupsItem) addMonitorsItem(SLOHistoryMonitor monitorsItem) booleanReturn true if this SLOHistoryResponseData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Thefromtimestamp in epoch seconds.Formetricbased SLOs where the query includes a group-by clause, this represents the list of grouping parameters.For grouped SLOs, this represents SLI data for specific groups.For multi-monitor SLOs, this represents SLI data for specific monitors.An object that holds an SLI value and its associated data.Ametricbased SLO history response.mapping of string timeframe to the SLO threshold.getToTs()Thetotimestamp in epoch seconds.getType()The type of the service level objective.A numeric representation of the type of the service level objective (0for monitor,1for metric).groups(List<SLOHistoryMonitor> groups) inthashCode()monitors(List<SLOHistoryMonitor> monitors) overall(SLOHistorySLIData overall) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putThresholdsItem(String key, SLOThreshold thresholdsItem) series(SLOHistoryMetrics series) voidvoidsetGroupBy(List<String> groupBy) voidsetGroups(List<SLOHistoryMonitor> groups) voidsetMonitors(List<SLOHistoryMonitor> monitors) voidsetOverall(SLOHistorySLIData overall) voidsetSeries(SLOHistoryMetrics series) voidsetThresholds(Map<String, SLOThreshold> thresholds) voidvoidvoidsetTypeId(SLOTypeNumeric typeId) thresholds(Map<String, SLOThreshold> thresholds) toString()typeId(SLOTypeNumeric typeId)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FROM_TS
- See Also:
-
JSON_PROPERTY_GROUP_BY
- See Also:
-
JSON_PROPERTY_GROUPS
- See Also:
-
JSON_PROPERTY_MONITORS
- See Also:
-
JSON_PROPERTY_OVERALL
- See Also:
-
JSON_PROPERTY_SERIES
- See Also:
-
JSON_PROPERTY_THRESHOLDS
- See Also:
-
JSON_PROPERTY_TO_TS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_TYPE_ID
- See Also:
-
-
Constructor Details
-
SLOHistoryResponseData
public SLOHistoryResponseData()
-
-
Method Details
-
fromTs
-
getFromTs
Thefromtimestamp in epoch seconds.- Returns:
- fromTs
-
setFromTs
-
groupBy
-
addGroupByItem
-
getGroupBy
Formetricbased SLOs where the query includes a group-by clause, this represents the list of grouping parameters.This is not included in responses for
monitorbased SLOs.- Returns:
- groupBy
-
setGroupBy
-
groups
-
addGroupsItem
-
getGroups
For grouped SLOs, this represents SLI data for specific groups.This is not included in the responses for
metricbased SLOs.- Returns:
- groups
-
setGroups
-
monitors
-
addMonitorsItem
-
getMonitors
For multi-monitor SLOs, this represents SLI data for specific monitors.This is not included in the responses for
metricbased SLOs.- Returns:
- monitors
-
setMonitors
-
overall
-
getOverall
An object that holds an SLI value and its associated data. It can represent an SLO's overall SLI value. This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a group in grouped SLOs.- Returns:
- overall
-
setOverall
-
series
-
getSeries
Ametricbased SLO history response.This is not included in responses for
monitorbased SLOs.- Returns:
- series
-
setSeries
-
thresholds
-
putThresholdsItem
-
getThresholds
mapping of string timeframe to the SLO threshold.- Returns:
- thresholds
-
setThresholds
-
toTs
-
getToTs
Thetotimestamp in epoch seconds.- Returns:
- toTs
-
setToTs
-
type
-
getType
The type of the service level objective.- Returns:
- type
-
setType
-
typeId
-
getTypeId
A numeric representation of the type of the service level objective (0for monitor,1for metric). Always included in service level objective responses. Ignored in create/update requests.- Returns:
- typeId
-
setTypeId
-
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:
- SLOHistoryResponseData
-
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 SLOHistoryResponseData object is equal to o. -
hashCode
public int hashCode() -
toString
-