Class AdminConversationsCreateRequest
java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsCreateRequest
- All Implemented Interfaces:
SlackApiRequest
https://api.slack.com/methods/admin.conversations.create
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Description of the public or private channel to create.When true, creates a private channel instead of a public channelgetName()
Name of the public or private channel to create.When true, the channel will be available org-wide.The workspace to create the channel in.getToken()
Authentication token bearing required scopes.int
hashCode()
void
setDescription
(String description) Description of the public or private channel to create.void
setIsPrivate
(Boolean isPrivate) When true, creates a private channel instead of a public channelvoid
Name of the public or private channel to create.void
setOrgWide
(Boolean orgWide) When true, the channel will be available org-wide.void
The workspace to create the channel in.void
Authentication token bearing required scopes.toString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getIsPrivate
When true, creates a private channel instead of a public channel -
getName
Name of the public or private channel to create. -
getDescription
Description of the public or private channel to create. -
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
The workspace to create the channel in. Note: this argument is required unless you set org_wide=true. -
setToken
Authentication token bearing required scopes.- Specified by:
setToken
in interfaceSlackApiRequest
-
setIsPrivate
When true, creates a private channel instead of a public channel -
setName
Name of the public or private channel to create. -
setDescription
Description of the public or private channel to create. -
setOrgWide
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
The workspace to create the channel in. Note: this argument is required unless you set org_wide=true. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-