Class ConversationsInfoRequest

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

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

    Nested Classes 
    Modifier and Type Class Description
    static class  ConversationsInfoRequest.ConversationsInfoRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static ConversationsInfoRequest.ConversationsInfoRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChannel()
    Conversation ID to learn more about
    java.lang.String getToken()
    Authentication token.
    int hashCode()  
    boolean isIncludeLocale()
    Set this to `true` to receive the locale for this conversation.
    boolean isIncludeNumMembers()
    Set to true to include the member count for the specified conversation.
    void setChannel​(java.lang.String channel)
    Conversation ID to learn more about
    void setIncludeLocale​(boolean includeLocale)
    Set this to `true` to receive the locale for this conversation.
    void setIncludeNumMembers​(boolean includeNumMembers)
    Set to true to include the member count for the specified conversation.
    void setToken​(java.lang.String token)
    Authentication token.
    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:read`
      Specified by:
      getToken in interface SlackApiRequest
    • getChannel

      public java.lang.String getChannel()
      Conversation ID to learn more about
    • isIncludeLocale

      public boolean isIncludeLocale()
      Set this to `true` to receive the locale for this conversation. Defaults to `false`
    • isIncludeNumMembers

      public boolean isIncludeNumMembers()
      Set to true to include the member count for the specified conversation. Defaults to false
    • setToken

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

      public void setChannel​(java.lang.String channel)
      Conversation ID to learn more about
    • setIncludeLocale

      public void setIncludeLocale​(boolean includeLocale)
      Set this to `true` to receive the locale for this conversation. Defaults to `false`
    • setIncludeNumMembers

      public void setIncludeNumMembers​(boolean includeNumMembers)
      Set to true to include the member count for the specified conversation. Defaults to false
    • 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