Package com.datadog.api.client.v2.model
Class JSONAPIErrorResponse
java.lang.Object
com.datadog.api.client.v2.model.JSONAPIErrorResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class JSONAPIErrorResponse
extends Object
API error response.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddErrorsItem(JSONAPIErrorItem errorsItem) booleanReturn true if this JSONAPIErrorResponse object is equal to o.errors(List<JSONAPIErrorItem> errors) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of errors.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetErrors(List<JSONAPIErrorItem> errors) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ERRORS
- See Also:
-
-
Constructor Details
-
JSONAPIErrorResponse
public JSONAPIErrorResponse() -
JSONAPIErrorResponse
-
-
Method Details
-
errors
-
addErrorsItem
-
getErrors
A list of errors.- 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:
- JSONAPIErrorResponse
-
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 JSONAPIErrorResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-