Class EntityPresentDetailsRequest

java.lang.Object
com.slack.api.methods.request.entity.EntityPresentDetailsRequest
All Implemented Interfaces:
SlackApiRequest

public class EntityPresentDetailsRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/entity.presentDetails
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token.
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getRawMetadata

      public String getRawMetadata()
      JSON object containing the data that will be displayed in the flexpane for the entity.
    • getMetadata

      public EntityMetadata getMetadata()
    • getTriggerId

      public String 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

      public String 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

      public void setToken(String token)
      Authentication token.
      Specified by:
      setToken in interface SlackApiRequest
    • setRawMetadata

      public void setRawMetadata(String rawMetadata)
      JSON object containing the data that will be displayed in the flexpane for the entity.
    • setMetadata

      public void setMetadata(EntityMetadata metadata)
    • setTriggerId

      public void setTriggerId(String 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.
    • setUserAuthRequired

      public void setUserAuthRequired(boolean userAuthRequired)
      Set to true to indicate that the user must authenticate to view the full the flexpane data.
    • setUserAuthUrl

      public void setUserAuthUrl(String userAuthUrl)
      Send users to this custom URL where they will complete authentication in your app if required. Value should be properly URL-encoded.
    • setError

      public void setError(EntityPresentDetailsRequest.Error error)
      Error indicating why the flexpane details cannot be provided.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object