Class Error

java.lang.Object
org.bonitasoft.web.client.model.Error
All Implemented Interfaces:
Serializable

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

  • Constructor Details

    • Error

      public Error()
  • Method Details

    • message

      public Error message(@Nullable String message)
    • getMessage

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

      public void setMessage(@Nullable String message)
    • exception

      public Error exception(@Nullable String exception)
    • getException

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

      public void setException(@Nullable String exception)
    • explanations

      public Error explanations(@Nullable 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(@Nullable 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)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object