@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOListResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DATA |
static String |
JSON_PROPERTY_ERRORS |
static String |
JSON_PROPERTY_METADATA |
boolean |
unparsed |
| Constructor and Description |
|---|
SLOListResponse() |
| Modifier and Type | Method and Description |
|---|---|
SLOListResponse |
addDataItem(ServiceLevelObjective dataItem) |
SLOListResponse |
addErrorsItem(String errorsItem) |
SLOListResponse |
data(List<ServiceLevelObjective> data) |
boolean |
equals(Object o)
Return true if this SLOListResponse object is equal to o.
|
SLOListResponse |
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.
|
List<ServiceLevelObjective> |
getData()
An array of service level objective objects.
|
List<String> |
getErrors()
An array of error messages.
|
SLOListResponseMetadata |
getMetadata()
The metadata object containing additional information about the list of SLOs.
|
int |
hashCode() |
SLOListResponse |
metadata(SLOListResponseMetadata metadata) |
SLOListResponse |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setData(List<ServiceLevelObjective> data) |
void |
setErrors(List<String> errors) |
void |
setMetadata(SLOListResponseMetadata metadata) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_ERRORS
public static final String JSON_PROPERTY_METADATA
public SLOListResponse data(List<ServiceLevelObjective> data)
public SLOListResponse addDataItem(ServiceLevelObjective dataItem)
@Nullable public List<ServiceLevelObjective> getData()
public void setData(List<ServiceLevelObjective> data)
public SLOListResponse errors(List<String> errors)
public SLOListResponse addErrorsItem(String errorsItem)
@Nullable public List<String> getErrors()
public SLOListResponse metadata(SLOListResponseMetadata metadata)
@Nullable public SLOListResponseMetadata getMetadata()
public void setMetadata(SLOListResponseMetadata metadata)
public SLOListResponse 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.