Class Error

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.bonitasoft.web.client.model.Error
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class Error extends HashMap<String,Object> implements Serializable
Error
See Also:
  • Field Details

  • Constructor Details

    • Error

      public Error()
  • Method Details

    • message

      public Error message(String message)
    • getMessage

      @Nullable public String getMessage()
      The error message
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • exception

      public Error exception(String exception)
    • getException

      @Nullable public String getException()
      The exception type
      Returns:
      exception
    • setException

      public void setException(String exception)
    • explanations

      public Error explanations(List<String> explanations)
    • addExplanationsItem

      public Error addExplanationsItem(String explanationsItem)
    • getExplanations

      @Nullable public List<String> getExplanations()
      Further details on the error
      Returns:
      explanations
    • setExplanations

      public void setExplanations(List<String> explanations)
    • putAdditionalProperty

      public Error 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 name of the property
      value - the value of the property
      Returns:
      self reference
    • getAdditionalProperties

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

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - the name of the property
      Returns:
      the additional (undeclared) property with the specified name
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface Map<String,Object>
      Overrides:
      equals in class AbstractMap<String,Object>
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface Map<String,Object>
      Overrides:
      hashCode in class AbstractMap<String,Object>
    • toString

      public String toString()
      Overrides:
      toString in class AbstractMap<String,Object>