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 ErrorDetails
getDetails()
String
getError()
String
getInfo()
String
getMessage()
void
setDetails(ErrorDetails details)
void
setError(String error)
void
setInfo(String info)
void
setMessage(String message)
String
toString()
-
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:
toString
in classBaseResourceRepresentation
-
-