Class ConversationsInviteSharedRequest

  • All Implemented Interfaces:
    SlackApiRequest

    public class ConversationsInviteSharedRequest
    extends Object
    implements SlackApiRequest
    https://api.slack.com/methods/conversations.inviteShared
    • Method Detail

      • 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 a 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 a 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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object