Class ConversationsInviteSharedRequest

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

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

    Nested Classes 
    Modifier and Type Class Description
    static class  ConversationsInviteSharedRequest.ConversationsInviteSharedRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static ConversationsInviteSharedRequest.ConversationsInviteSharedRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChannel()
    ID of the channel on your team that you'd like to share
    java.util.List<java.lang.String> getEmails()
    Optional email to receive this invite.
    java.lang.String getToken()
    Authentication token bearing required scopes.
    java.util.List<java.lang.String> getUserIds()
    Optional user_id to receive this invite.
    int hashCode()  
    void setChannel​(java.lang.String channel)
    ID of the channel on your team that you'd like to share
    void setEmails​(java.util.List<java.lang.String> emails)
    Optional email to receive this invite.
    void setToken​(java.lang.String token)
    Authentication token bearing required scopes.
    void setUserIds​(java.util.List<java.lang.String> userIds)
    Optional user_id to receive this invite.
    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 bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.
      Specified by:
      getToken in interface SlackApiRequest
    • getChannel

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

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

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

      public void setToken​(java.lang.String token)
      Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.
    • setChannel

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

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

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