Class ConversationsInviteRequest

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

public class ConversationsInviteRequest
extends java.lang.Object
implements SlackApiRequest
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  ConversationsInviteRequest.ConversationsInviteRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static ConversationsInviteRequest.ConversationsInviteRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChannel()
    The ID of the public or private channel to invite user(s) to.
    java.lang.String getToken()
    Authentication token.
    java.util.List<java.lang.String> getUsers()
    A comma separated list of user IDs.
    int hashCode()  
    void setChannel​(java.lang.String channel)
    The ID of the public or private channel to invite user(s) to.
    void setToken​(java.lang.String token)
    Authentication token.
    void setUsers​(java.util.List<java.lang.String> users)
    A comma separated list of user IDs.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • builder

    • getToken

      public java.lang.String getToken()
      Authentication token. Requires scope: `conversations:write`
      Specified by:
      getToken in interface SlackApiRequest
    • getChannel

      public java.lang.String getChannel()
      The ID of the public or private channel to invite user(s) to.
    • getUsers

      public java.util.List<java.lang.String> getUsers()
      A comma separated list of user IDs. Up to 30 users may be listed.
    • setToken

      public void setToken​(java.lang.String token)
      Authentication token. Requires scope: `conversations:write`
    • setChannel

      public void setChannel​(java.lang.String channel)
      The ID of the public or private channel to invite user(s) to.
    • setUsers

      public void setUsers​(java.util.List<java.lang.String> users)
      A comma separated list of user IDs. Up to 30 users may be listed.
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object