Package com.mypurecloud.sdk.v2.model
Class UserRoutingStatusErrorInfo
java.lang.Object
com.mypurecloud.sdk.v2.model.UserRoutingStatusErrorInfo
- All Implemented Interfaces:
Serializable
Error information that the Public API will receive in a response body. This allows backend services to pass an error message to consumers of the Public API.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncorrelationId(String correlationId) The correlation Id or context Id for this message.booleanA code unique to this error.inthashCode()voidsetCorrelationId(String correlationId) voidsetErrorCode(String errorCode) voidvoidsetUserMessage(String userMessage) voidsetUserParams(List<UserRoutingStatusUserParam> userParams) voidsetUserParamsMessage(String userParamsMessage) The HTTP status code for this message.toString()userMessage(String userMessage) A customer friendly message.userParams(List<UserRoutingStatusUserParam> userParams) Used in conjunction with userParamsMessage.userParamsMessage(String userParamsMessage) This is the same as userMessage except it uses template fields for variable replacement.
-
Constructor Details
-
UserRoutingStatusErrorInfo
public UserRoutingStatusErrorInfo() -
UserRoutingStatusErrorInfo
-
-
Method Details
-
errorCode
A code unique to this error. Typically prefixed with the service that originated the error. For example CONFIG_USER_NOT_FOUND -
getErrorCode
-
setErrorCode
-
status
The HTTP status code for this message. If left blank the status code from the HTTP response is used. -
getStatus
-
setStatus
-
correlationId
The correlation Id or context Id for this message. If left blank the Public API will look at the HTTP response header 'ININ-Correlation-Id' instead. -
getCorrelationId
-
setCorrelationId
-
userMessage
A customer friendly message. This should be a complete sentence, use proper grammar and only include information useful to a customer. This is not a dev message and should not include things like Org Id -
getUserMessage
-
setUserMessage
-
userParamsMessage
This is the same as userMessage except it uses template fields for variable replacement. For instance: 'User {username} was not found' -
getUserParamsMessage
-
setUserParamsMessage
-
userParams
Used in conjunction with userParamsMessage. These are the template parameters. For instance: UserParam.key = 'username', UserParam.value = 'chuck.pulfer' -
getUserParams
-
setUserParams
-
equals
-
hashCode
public int hashCode() -
toString
-