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 Details

  • Constructor Details

    • JSONAPIErrorItem

      public JSONAPIErrorItem()
  • Method Details

    • detail

      public JSONAPIErrorItem detail(String detail)
    • getDetail

      @Nullable public String getDetail()
      A human-readable explanation specific to this occurrence of the error.
      Returns:
      detail
    • setDetail

      public void setDetail(String detail)
    • meta

      public JSONAPIErrorItem meta(Map<String,Object> meta)
    • putMetaItem

      public JSONAPIErrorItem putMetaItem(String key, Object metaItem)
    • getMeta

      @Nullable public Map<String,Object> getMeta()
      Non-standard meta-information about the error
      Returns:
      meta
    • setMeta

      public void setMeta(Map<String,Object> meta)
    • source

      public JSONAPIErrorItem source(JSONAPIErrorItemSource source)
    • getSource

      @Nullable public JSONAPIErrorItemSource getSource()
      References to the source of the error.
      Returns:
      source
    • setSource

      public void setSource(JSONAPIErrorItemSource source)
    • status

      public JSONAPIErrorItem status(String status)
    • getStatus

      @Nullable public String getStatus()
      Status code of the response.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • title

      public JSONAPIErrorItem title(String title)
    • getTitle

      @Nullable public String getTitle()
      Short human-readable summary of the error.
      Returns:
      title
    • setTitle

      public void setTitle(String title)
    • putAdditionalProperty

      public JSONAPIErrorItem putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      JSONAPIErrorItem
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this JSONAPIErrorItem object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object