Package com.datadog.api.client.v1.model
Class SLOListResponse
java.lang.Object
com.datadog.api.client.v1.model.SLOListResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SLOListResponse
extends Object
A response with one or more service level objective.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(ServiceLevelObjective dataItem) addErrorsItem(String errorsItem) data(List<ServiceLevelObjective> data) booleanReturn true if this SLOListResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()An array of service level objective objects.An array of error messages.The metadata object containing additional information about the list of SLOs.inthashCode()metadata(SLOListResponseMetadata metadata) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetData(List<ServiceLevelObjective> data) voidvoidsetMetadata(SLOListResponseMetadata metadata) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_ERRORS
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
-
Constructor Details
-
SLOListResponse
public SLOListResponse()
-
-
Method Details
-
data
-
addDataItem
-
getData
An array of service level objective objects.- Returns:
- data
-
setData
-
errors
-
addErrorsItem
-
getErrors
An array of error messages. Each endpoint documents how/whether this field is used.- Returns:
- errors
-
setErrors
-
metadata
-
getMetadata
The metadata object containing additional information about the list of SLOs.- Returns:
- metadata
-
setMetadata
-
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:
- SLOListResponse
-
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 SLOListResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-