Package com.datadog.api.client.v2.model
Class JSONAPIErrorItemSource
java.lang.Object
com.datadog.api.client.v2.model.JSONAPIErrorItemSource
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class JSONAPIErrorItemSource
extends Object
References to the source of the error.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this JSONAPIErrorItemSource object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A string indicating the name of a single request header which caused the error.A string indicating which URI query parameter caused the error.A JSON pointer to the value in the request document that caused the error.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetParameter(String parameter) voidsetPointer(String pointer) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_HEADER
- See Also:
-
JSON_PROPERTY_PARAMETER
- See Also:
-
JSON_PROPERTY_POINTER
- See Also:
-
-
Constructor Details
-
JSONAPIErrorItemSource
public JSONAPIErrorItemSource()
-
-
Method Details
-
header
-
getHeader
A string indicating the name of a single request header which caused the error.- Returns:
- header
-
setHeader
-
parameter
-
getParameter
A string indicating which URI query parameter caused the error.- Returns:
- parameter
-
setParameter
-
pointer
-
getPointer
A JSON pointer to the value in the request document that caused the error.- Returns:
- pointer
-
setPointer
-
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:
- JSONAPIErrorItemSource
-
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 JSONAPIErrorItemSource object is equal to o. -
hashCode
public int hashCode() -
toString
-