Class AdminConversationsCreateRequest

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

public class AdminConversationsCreateRequest
extends java.lang.Object
implements SlackApiRequest
https://api.slack.com/methods/admin.conversations.create
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  AdminConversationsCreateRequest.AdminConversationsCreateRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static AdminConversationsCreateRequest.AdminConversationsCreateRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getDescription()
    Description of the public or private channel to create.
    java.lang.Boolean getIsPrivate()
    When true, creates a private channel instead of a public channel
    java.lang.String getName()
    Name of the public or private channel to create.
    java.lang.Boolean getOrgWide()
    When true, the channel will be available org-wide.
    java.lang.String getTeamId()
    The workspace to create the channel in.
    java.lang.String getToken()
    Authentication token bearing required scopes.
    int hashCode()  
    void setDescription​(java.lang.String description)
    Description of the public or private channel to create.
    void setIsPrivate​(java.lang.Boolean isPrivate)
    When true, creates a private channel instead of a public channel
    void setName​(java.lang.String name)
    Name of the public or private channel to create.
    void setOrgWide​(java.lang.Boolean orgWide)
    When true, the channel will be available org-wide.
    void setTeamId​(java.lang.String teamId)
    The workspace to create the channel in.
    void setToken​(java.lang.String token)
    Authentication token bearing required scopes.
    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.
      Specified by:
      getToken in interface SlackApiRequest
    • getIsPrivate

      public java.lang.Boolean getIsPrivate()
      When true, creates a private channel instead of a public channel
    • getName

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

      public java.lang.String getDescription()
      Description of the public or private channel to create.
    • getOrgWide

      public java.lang.Boolean getOrgWide()
      When true, the channel will be available org-wide. Note: if the channel is not org_wide=true, you must specify a team_id for this channel
    • getTeamId

      public java.lang.String getTeamId()
      The workspace to create the channel in. Note: this argument is required unless you set org_wide=true.
    • setToken

      public void setToken​(java.lang.String token)
      Authentication token bearing required scopes.
    • setIsPrivate

      public void setIsPrivate​(java.lang.Boolean isPrivate)
      When true, creates a private channel instead of a public channel
    • setName

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

      public void setDescription​(java.lang.String description)
      Description of the public or private channel to create.
    • setOrgWide

      public void setOrgWide​(java.lang.Boolean orgWide)
      When true, the channel will be available org-wide. Note: if the channel is not org_wide=true, you must specify a team_id for this channel
    • setTeamId

      public void setTeamId​(java.lang.String teamId)
      The workspace to create the channel in. Note: this argument is required unless you set org_wide=true.
    • 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