Package com.datadog.api.client.v2.model
Class JSONAPIErrorItem
java.lang.Object
com.datadog.api.client.v2.model.JSONAPIErrorItem
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class JSONAPIErrorItem
extends Object
API error response body
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this JSONAPIErrorItem object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A human-readable explanation specific to this occurrence of the error.getMeta()Non-standard meta-information about the errorReferences to the source of the error.Status code of the response.getTitle()Short human-readable summary of the error.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putMetaItem(String key, Object metaItem) voidvoidvoidsetSource(JSONAPIErrorItemSource source) voidvoidsource(JSONAPIErrorItemSource source) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DETAIL
- See Also:
-
JSON_PROPERTY_META
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
-
Constructor Details
-
JSONAPIErrorItem
public JSONAPIErrorItem()
-
-
Method Details
-
detail
-
getDetail
A human-readable explanation specific to this occurrence of the error.- Returns:
- detail
-
setDetail
-
meta
-
putMetaItem
-
getMeta
Non-standard meta-information about the error- Returns:
- meta
-
setMeta
-
source
-
getSource
References to the source of the error.- Returns:
- source
-
setSource
-
status
-
getStatus
Status code of the response.- Returns:
- status
-
setStatus
-
title
-
getTitle
Short human-readable summary of the error.- Returns:
- title
-
setTitle
-
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:
- JSONAPIErrorItem
-
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 JSONAPIErrorItem object is equal to o. -
hashCode
public int hashCode() -
toString
-