Class ConversationsCreateRequest

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

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

    Nested Classes 
    Modifier and Type Class Description
    static class  ConversationsCreateRequest.ConversationsCreateRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static ConversationsCreateRequest.ConversationsCreateRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getName()
    Name of the public or private channel to create
    java.lang.String getTeamId()
    Required for org-wide apps.
    java.lang.String getToken()
    Authentication token.
    int hashCode()  
    boolean isPrivate()
    Create a private channel instead of a public one
    void setName​(java.lang.String name)
    Name of the public or private channel to create
    void setPrivate​(boolean isPrivate)
    Create a private channel instead of a public one
    void setTeamId​(java.lang.String teamId)
    Required for org-wide apps.
    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:write`
      Specified by:
      getToken in interface SlackApiRequest
    • getName

      public java.lang.String getName()
      Name of the public or private channel to create
    • isPrivate

      public boolean isPrivate()
      Create a private channel instead of a public one
    • getTeamId

      public java.lang.String getTeamId()
      Required for org-wide apps.
    • setToken

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

      public void setName​(java.lang.String name)
      Name of the public or private channel to create
    • setPrivate

      public void setPrivate​(boolean isPrivate)
      Create a private channel instead of a public one
    • setTeamId

      public void setTeamId​(java.lang.String teamId)
      Required for org-wide apps.
    • 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