Package com.datadog.api.client.v1.model
Class SLOResponse
java.lang.Object
com.datadog.api.client.v1.model.SLOResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SLOResponse
extends Object
A service level objective response containing a single service level objective.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddErrorsItem(String errorsItem) data(SLOResponseData data) booleanReturn true if this SLOResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (name,description,tags, etc.).An array of error messages.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetData(SLOResponseData data) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_ERRORS
- See Also:
-
-
Constructor Details
-
SLOResponse
public SLOResponse()
-
-
Method Details
-
data
-
getData
A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (name,description,tags, etc.).- Returns:
- data
-
setData
-
errors
-
addErrorsItem
-
getErrors
An array of error messages. Each endpoint documents how/whether this field is used.- Returns:
- errors
-
setErrors
-
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:
- SLOResponse
-
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 SLOResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-