Class EntityPresentDetailsRequest.Error
java.lang.Object
com.slack.api.methods.request.entity.EntityPresentDetailsRequest.Error
- Enclosing class:
- EntityPresentDetailsRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanAn action button to be shown in case of a specific errorUsed when status is 'custom' to provide a specific message to the clientUsed when status is 'custom' to provide a specific title to the clientFormat of the messageStandardized error statusinthashCode()voidAn action button to be shown in case of a specific errorvoidsetCustomMessage(String customMessage) Used when status is 'custom' to provide a specific message to the clientvoidsetCustomTitle(String customTitle) Used when status is 'custom' to provide a specific title to the clientvoidsetMessageFormat(String messageFormat) Format of the messagevoidStandardized error statustoString()
-
Constructor Details
-
Error
public Error() -
Error
public Error(String status, String customMessage, String messageFormat, String customTitle, EntityPresentDetailsRequest.Error.ActionButton[] actions) Creates a newErrorinstance.- Parameters:
status- Standardized error statuscustomMessage- Used when status is 'custom' to provide a specific message to the clientmessageFormat- Format of the messagecustomTitle- Used when status is 'custom' to provide a specific title to the clientactions- An action button to be shown in case of a specific error
-
-
Method Details
-
builder
-
getStatus
Standardized error status -
getCustomMessage
Used when status is 'custom' to provide a specific message to the client -
getMessageFormat
Format of the message -
getCustomTitle
Used when status is 'custom' to provide a specific title to the client -
getActions
An action button to be shown in case of a specific error -
setStatus
Standardized error status -
setCustomMessage
Used when status is 'custom' to provide a specific message to the client -
setMessageFormat
Format of the message -
setCustomTitle
Used when status is 'custom' to provide a specific title to the client -
setActions
An action button to be shown in case of a specific error -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-