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 class
AdminConversationsCreateRequest.AdminConversationsCreateRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminConversationsCreateRequest.AdminConversationsCreateRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getDescription()
Description of the public or private channel to create.Boolean
getIsPrivate()
When true, creates a private channel instead of a public channelString
getName()
Name of the public or private channel to create.Boolean
getOrgWide()
When true, the channel will be available org-wide.String
getTeamId()
The workspace to create the channel in.String
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
setName(String name)
Name of the public or private channel to create.void
setOrgWide(Boolean orgWide)
When true, the channel will be available org-wide.void
setTeamId(String teamId)
The workspace to create the channel in.void
setToken(String token)
Authentication token bearing required scopes.String
toString()
-
-
-
Method Detail
-
builder
public static AdminConversationsCreateRequest.AdminConversationsCreateRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
-
getIsPrivate
public Boolean getIsPrivate()
When true, creates a private channel instead of a public channel
-
getName
public String getName()
Name of the public or private channel to create.
-
getDescription
public String getDescription()
Description of the public or private channel to create.
-
getOrgWide
public 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 String getTeamId()
The workspace to create the channel in. Note: this argument is required unless you set org_wide=true.
-
setToken
public void setToken(String token)
Authentication token bearing required scopes.
-
setIsPrivate
public void setIsPrivate(Boolean isPrivate)
When true, creates a private channel instead of a public channel
-
setName
public void setName(String name)
Name of the public or private channel to create.
-
setDescription
public void setDescription(String description)
Description of the public or private channel to create.
-
setOrgWide
public void setOrgWide(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(String teamId)
The workspace to create the channel in. Note: this argument is required unless you set org_wide=true.
-
canEqual
protected boolean canEqual(Object other)
-
-