Package org.bonitasoft.web.client.model
Class 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExplanationsItem(String explanationsItem) booleanexplanations(List<String> explanations) Return the additional (undeclared) properties.Return the additional (undeclared) property with the specified name.The exception typeFurther details on the errorThe error messageinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetException(String exception) voidsetExplanations(List<String> explanations) voidsetMessage(String message) toString()Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Field Details
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_EXCEPTION
- See Also:
-
JSON_PROPERTY_EXPLANATIONS
- See Also:
-
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
message
-
getMessage
The error message- Returns:
- message
-
setMessage
-
exception
-
getException
The exception type- Returns:
- exception
-
setException
-
explanations
-
addExplanationsItem
-
getExplanations
Further details on the error- Returns:
- explanations
-
setExplanations
-
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 name of the propertyvalue- the value of the property- Returns:
- self reference
-
getAdditionalProperties
Return the additional (undeclared) properties.- Returns:
- the additional (undeclared) properties
-
getAdditionalProperty
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
-
hashCode
public int hashCode() -
toString
- Overrides:
toStringin classAbstractMap<String,Object>
-