Package com.datadog.api.client.v1.model
Class SyntheticsUptime
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsUptime
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsUptime
extends Object
Object containing the uptime information.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddErrorsItem(SLOHistoryResponseErrorWithType errorsItem) addHistoryItem(List<Double> historyItem) booleanReturn true if this SyntheticsUptime object is equal to o.errors(List<SLOHistoryResponseErrorWithType> errors) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.An array of error objects returned while querying the history data for the service level objective.org.openapitools.jackson.nullable.JsonNullable<List<SLOHistoryResponseErrorWithType>>getGroup()The location nameThe state transition history for the monitor, represented as an array of pairs.The number of decimal places to which the SLI value is accurate for the given from-to timestamps.The overall uptime.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetErrors(List<SLOHistoryResponseErrorWithType> errors) voidsetErrors_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<SLOHistoryResponseErrorWithType>> errors) voidvoidsetHistory(List<List<Double>> history) voidsetSpanPrecision(Double spanPrecision) voidspanPrecision(Double spanPrecision) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ERRORS
- See Also:
-
JSON_PROPERTY_GROUP
- See Also:
-
JSON_PROPERTY_HISTORY
- See Also:
-
JSON_PROPERTY_SPAN_PRECISION
- See Also:
-
JSON_PROPERTY_UPTIME
- See Also:
-
-
Constructor Details
-
SyntheticsUptime
public SyntheticsUptime()
-
-
Method Details
-
errors
-
addErrorsItem
-
getErrors
An array of error objects returned while querying the history data for the service level objective.- Returns:
- errors
-
getErrors_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<SLOHistoryResponseErrorWithType>> getErrors_JsonNullable() -
setErrors_JsonNullable
public void setErrors_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<SLOHistoryResponseErrorWithType>> errors) -
setErrors
-
group
-
getGroup
The location name- Returns:
- group
-
setGroup
-
history
-
addHistoryItem
-
getHistory
The state transition history for the monitor, represented as an array of pairs. Each pair is an array where the first element is the transition timestamp in Unix epoch format (integer) and the second element is the state (integer). For the state, an integer value of0indicates uptime,1indicates downtime, and2indicates no data.- Returns:
- history
-
setHistory
-
spanPrecision
-
getSpanPrecision
The number of decimal places to which the SLI value is accurate for the given from-to timestamps.- Returns:
- spanPrecision
-
setSpanPrecision
-
uptime
-
getUptime
The overall uptime.- Returns:
- uptime
-
setUptime
-
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:
- SyntheticsUptime
-
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 SyntheticsUptime object is equal to o. -
hashCode
public int hashCode() -
toString
-