@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsUptime extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ERRORS |
static String |
JSON_PROPERTY_GROUP |
static String |
JSON_PROPERTY_HISTORY |
static String |
JSON_PROPERTY_SPAN_PRECISION |
static String |
JSON_PROPERTY_UPTIME |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsUptime() |
| Modifier and Type | Method and Description |
|---|---|
SyntheticsUptime |
addErrorsItem(SLOHistoryResponseErrorWithType errorsItem) |
SyntheticsUptime |
addHistoryItem(List<Double> historyItem) |
boolean |
equals(Object o)
Return true if this SyntheticsUptime object is equal to o.
|
SyntheticsUptime |
errors(List<SLOHistoryResponseErrorWithType> errors) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
org.openapitools.jackson.nullable.JsonNullable<List<SLOHistoryResponseErrorWithType>> |
getErrors_JsonNullable() |
List<SLOHistoryResponseErrorWithType> |
getErrors()
An array of error objects returned while querying the history data for the service level
objective.
|
String |
getGroup()
The location name
|
List<List<Double>> |
getHistory()
The state transition history for the monitor, represented as an array of pairs.
|
Double |
getSpanPrecision()
The number of decimal places to which the SLI value is accurate for the given from-to
timestamps.
|
Double |
getUptime()
The overall uptime.
|
SyntheticsUptime |
group(String group) |
int |
hashCode() |
SyntheticsUptime |
history(List<List<Double>> history) |
SyntheticsUptime |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setErrors_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<SLOHistoryResponseErrorWithType>> errors) |
void |
setErrors(List<SLOHistoryResponseErrorWithType> errors) |
void |
setGroup(String group) |
void |
setHistory(List<List<Double>> history) |
void |
setSpanPrecision(Double spanPrecision) |
void |
setUptime(Double uptime) |
SyntheticsUptime |
spanPrecision(Double spanPrecision) |
String |
toString() |
SyntheticsUptime |
uptime(Double uptime) |
public boolean unparsed
public static final String JSON_PROPERTY_ERRORS
public static final String JSON_PROPERTY_GROUP
public static final String JSON_PROPERTY_HISTORY
public static final String JSON_PROPERTY_SPAN_PRECISION
public static final String JSON_PROPERTY_UPTIME
public SyntheticsUptime errors(List<SLOHistoryResponseErrorWithType> errors)
public SyntheticsUptime addErrorsItem(SLOHistoryResponseErrorWithType errorsItem)
@Nullable public List<SLOHistoryResponseErrorWithType> getErrors()
public org.openapitools.jackson.nullable.JsonNullable<List<SLOHistoryResponseErrorWithType>> getErrors_JsonNullable()
public void setErrors_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<SLOHistoryResponseErrorWithType>> errors)
public void setErrors(List<SLOHistoryResponseErrorWithType> errors)
public SyntheticsUptime group(String group)
@Nullable public String getGroup()
public void setGroup(String group)
public SyntheticsUptime history(List<List<Double>> history)
public SyntheticsUptime addHistoryItem(List<Double> historyItem)
@Nullable public List<List<Double>> getHistory()
0
indicates uptime, 1 indicates downtime, and 2 indicates no data.public SyntheticsUptime spanPrecision(Double spanPrecision)
@Nullable public Double getSpanPrecision()
public void setSpanPrecision(Double spanPrecision)
public SyntheticsUptime uptime(Double uptime)
@Nullable public Double getUptime()
public void setUptime(Double uptime)
public SyntheticsUptime putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.