Class EntityPresentDetailsRequest
java.lang.Object
com.slack.api.methods.request.entity.EntityPresentDetailsRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/entity.presentDetails
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetError()Error indicating why the flexpane details cannot be provided.JSON object containing the data that will be displayed in the flexpane for the entity.getToken()Authentication token.A reference to the original user action that initated the request.Send users to this custom URL where they will complete authentication in your app if required.inthashCode()booleanSet to true to indicate that the user must authenticate to view the full the flexpane data.voidError indicating why the flexpane details cannot be provided.voidsetMetadata(EntityMetadata metadata) voidsetRawMetadata(String rawMetadata) JSON object containing the data that will be displayed in the flexpane for the entity.voidAuthentication token.voidsetTriggerId(String triggerId) A reference to the original user action that initated the request.voidsetUserAuthRequired(boolean userAuthRequired) Set to true to indicate that the user must authenticate to view the full the flexpane data.voidsetUserAuthUrl(String userAuthUrl) Send users to this custom URL where they will complete authentication in your app if required.toString()
-
Method Details
-
builder
-
getToken
Authentication token.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getRawMetadata
JSON object containing the data that will be displayed in the flexpane for the entity. -
getMetadata
-
getTriggerId
A reference to the original user action that initated the request. Find this value in the event payload of the `entity_details_requested` event. -
isUserAuthRequired
public boolean isUserAuthRequired()Set to true to indicate that the user must authenticate to view the full the flexpane data. -
getUserAuthUrl
Send users to this custom URL where they will complete authentication in your app if required. Value should be properly URL-encoded. -
getError
Error indicating why the flexpane details cannot be provided. -
setToken
Authentication token.- Specified by:
setTokenin interfaceSlackApiRequest
-
setRawMetadata
JSON object containing the data that will be displayed in the flexpane for the entity. -
setMetadata
-
setTriggerId
A reference to the original user action that initated the request. Find this value in the event payload of the `entity_details_requested` event. -
setUserAuthRequired
public void setUserAuthRequired(boolean userAuthRequired) Set to true to indicate that the user must authenticate to view the full the flexpane data. -
setUserAuthUrl
Send users to this custom URL where they will complete authentication in your app if required. Value should be properly URL-encoded. -
setError
Error indicating why the flexpane details cannot be provided. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-