Class AdminConversationsCreateRequest
java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsCreateRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminConversationsCreateRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.conversations.create
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminConversationsCreateRequest.AdminConversationsCreateRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminConversationsCreateRequest.AdminConversationsCreateRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetDescription()Description of the public or private channel to create.BooleangetIsPrivate()When true, creates a private channel instead of a public channelStringgetName()Name of the public or private channel to create.BooleangetOrgWide()When true, the channel will be available org-wide.StringgetTeamId()The workspace to create the channel in.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetDescription(String description)Description of the public or private channel to create.voidsetIsPrivate(Boolean isPrivate)When true, creates a private channel instead of a public channelvoidsetName(String name)Name of the public or private channel to create.voidsetOrgWide(Boolean orgWide)When true, the channel will be available org-wide.voidsetTeamId(String teamId)The workspace to create the channel in.voidsetToken(String token)Authentication token bearing required scopes.StringtoString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
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. -
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
-