Package dev.restate.admin.model
Class ErrorDescriptionResponse
java.lang.Object
dev.restate.admin.model.ErrorDescriptionResponse
Error details of the response
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ErrorDescriptionResponse object is equal to o.Get messageRestate error code describing this errorinthashCode()restateCode(String restateCode) voidsetMessage(String message) voidsetRestateCode(String restateCode) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_RESTATE_CODE
- See Also:
-
-
Constructor Details
-
ErrorDescriptionResponse
public ErrorDescriptionResponse()
-
-
Method Details
-
message
-
getMessage
Get message- Returns:
- message
-
setMessage
-
restateCode
-
getRestateCode
Restate error code describing this error- Returns:
- restateCode
-
setRestateCode
-
equals
Return true if this ErrorDescriptionResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-