Class ErrorMessageRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.ErrorMessageRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation,org.svenson.DynamicProperties
public class ErrorMessageRepresentation extends AbstractExtensibleRepresentation
-
-
Constructor Summary
Constructors Constructor Description ErrorMessageRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorDetailsgetDetails()StringgetError()StringgetInfo()StringgetMessage()voidsetDetails(ErrorDetails details)voidsetError(String error)voidsetInfo(String info)voidsetMessage(String message)StringtoString()-
Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
-
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON
-
-
-
-
Method Detail
-
getError
@JSONProperty(ignoreIfNull=true) public String getError()
-
setError
public void setError(String error)
-
getMessage
@JSONProperty(ignoreIfNull=true) public String getMessage()
-
setMessage
public void setMessage(String message)
-
getInfo
@JSONProperty(ignoreIfNull=true) public String getInfo()
-
setInfo
public void setInfo(String info)
-
getDetails
@JSONProperty(ignoreIfNull=true) public ErrorDetails getDetails()
-
setDetails
public void setDetails(ErrorDetails details)
-
toString
public String toString()
- Overrides:
toStringin classBaseResourceRepresentation
-
-