@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DATA |
static String |
JSON_PROPERTY_ERRORS |
boolean |
unparsed |
| Constructor and Description |
|---|
SLOResponse() |
| Modifier and Type | Method and Description |
|---|---|
SLOResponse |
addErrorsItem(String errorsItem) |
SLOResponse |
data(SLOResponseData data) |
boolean |
equals(Object o)
Return true if this SLOResponse object is equal to o.
|
SLOResponse |
errors(List<String> errors) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
SLOResponseData |
getData()
A service level objective object includes a service level indicator, thresholds for one or more
timeframes, and metadata (
name, description, tags,
etc.). |
List<String> |
getErrors()
An array of error messages.
|
int |
hashCode() |
SLOResponse |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setData(SLOResponseData data) |
void |
setErrors(List<String> errors) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_ERRORS
public SLOResponse data(SLOResponseData data)
@Nullable public SLOResponseData getData()
name, description, tags,
etc.).public void setData(SLOResponseData data)
public SLOResponse errors(List<String> errors)
public SLOResponse addErrorsItem(String errorsItem)
@Nullable public List<String> getErrors()
public SLOResponse 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.