Class ConversationsInviteSharedRequest

java.lang.Object
com.slack.api.methods.request.conversations.ConversationsInviteSharedRequest
All Implemented Interfaces:
SlackApiRequest

public class ConversationsInviteSharedRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.inviteShared
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getChannel

      public String getChannel()
      ID of the channel on your team that you'd like to share
    • getEmails

      public List<String> getEmails()
      Optional email to receive this invite. Either emails or user_ids must be provided.
    • getExternalLimited

      public Boolean getExternalLimited()
      Optional boolean on whether invite is to an external limited member. Defaults to true.
    • getUserIds

      public List<String> getUserIds()
      Optional user_id to receive this invite. Either emails or user_ids must be provided.
    • setToken

      public void setToken(String token)
      Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.
      Specified by:
      setToken in interface SlackApiRequest
    • setChannel

      public void setChannel(String channel)
      ID of the channel on your team that you'd like to share
    • setEmails

      public void setEmails(List<String> emails)
      Optional email to receive this invite. Either emails or user_ids must be provided.
    • setExternalLimited

      public void setExternalLimited(Boolean externalLimited)
      Optional boolean on whether invite is to an external limited member. Defaults to true.
    • setUserIds

      public void setUserIds(List<String> userIds)
      Optional user_id to receive this invite. Either emails or user_ids must 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