Class EntityPresentDetailsRequest.EntityPresentDetailsRequestBuilder
java.lang.Object
com.slack.api.methods.request.entity.EntityPresentDetailsRequest.EntityPresentDetailsRequestBuilder
- Enclosing class:
- EntityPresentDetailsRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Error indicating why the flexpane details cannot be provided.metadata(EntityMetadata metadata) rawMetadata(String rawMetadata) JSON object containing the data that will be displayed in the flexpane for the entity.Authentication token.toString()A reference to the original user action that initated the request.userAuthRequired(boolean userAuthRequired) Set to true to indicate that the user must authenticate to view the full the flexpane data.userAuthUrl(String userAuthUrl) Send users to this custom URL where they will complete authentication in your app if required.
-
Method Details
-
token
Authentication token.- Returns:
this.
-
rawMetadata
public EntityPresentDetailsRequest.EntityPresentDetailsRequestBuilder rawMetadata(String rawMetadata) JSON object containing the data that will be displayed in the flexpane for the entity.- Returns:
this.
-
metadata
public EntityPresentDetailsRequest.EntityPresentDetailsRequestBuilder metadata(EntityMetadata metadata) - Returns:
this.
-
triggerId
A reference to the original user action that initated the request. Find this value in the event payload of the `entity_details_requested` event.- Returns:
this.
-
userAuthRequired
public EntityPresentDetailsRequest.EntityPresentDetailsRequestBuilder userAuthRequired(boolean userAuthRequired) Set to true to indicate that the user must authenticate to view the full the flexpane data.- Returns:
this.
-
userAuthUrl
public EntityPresentDetailsRequest.EntityPresentDetailsRequestBuilder userAuthUrl(String userAuthUrl) Send users to this custom URL where they will complete authentication in your app if required. Value should be properly URL-encoded.- Returns:
this.
-
error
public EntityPresentDetailsRequest.EntityPresentDetailsRequestBuilder error(EntityPresentDetailsRequest.Error error) Error indicating why the flexpane details cannot be provided.- Returns:
this.
-
build
-
toString
-