@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOBulkDeleteResponse extends Object
This endpoint operates on multiple service level objective objects, so it may be partially successful. In such cases, the "data" and "error" fields in this response indicate which deletions succeeded and failed.
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DATA |
static String |
JSON_PROPERTY_ERRORS |
boolean |
unparsed |
| Constructor and Description |
|---|
SLOBulkDeleteResponse() |
| Modifier and Type | Method and Description |
|---|---|
SLOBulkDeleteResponse |
addErrorsItem(SLOBulkDeleteError errorsItem) |
SLOBulkDeleteResponse |
data(SLOBulkDeleteResponseData data) |
boolean |
equals(Object o)
Return true if this SLOBulkDeleteResponse object is equal to o.
|
SLOBulkDeleteResponse |
errors(List<SLOBulkDeleteError> errors) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
SLOBulkDeleteResponseData |
getData()
An array of service level objective objects.
|
List<SLOBulkDeleteError> |
getErrors()
Array of errors object returned.
|
int |
hashCode() |
SLOBulkDeleteResponse |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setData(SLOBulkDeleteResponseData data) |
void |
setErrors(List<SLOBulkDeleteError> errors) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_ERRORS
public SLOBulkDeleteResponse data(SLOBulkDeleteResponseData data)
@Nullable public SLOBulkDeleteResponseData getData()
public void setData(SLOBulkDeleteResponseData data)
public SLOBulkDeleteResponse errors(List<SLOBulkDeleteError> errors)
public SLOBulkDeleteResponse addErrorsItem(SLOBulkDeleteError errorsItem)
@Nullable public List<SLOBulkDeleteError> getErrors()
public void setErrors(List<SLOBulkDeleteError> errors)
public SLOBulkDeleteResponse 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.