Class ConversationsCreateRequest
- java.lang.Object
-
- com.slack.api.methods.request.conversations.ConversationsCreateRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsCreateRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConversationsCreateRequest.ConversationsCreateRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversationsCreateRequest.ConversationsCreateRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getName()
Name of the public or private channel to createString
getTeamId()
Required for org-wide apps.String
getToken()
Authentication token.int
hashCode()
boolean
isPrivate()
Create a private channel instead of a public onevoid
setName(String name)
Name of the public or private channel to createvoid
setPrivate(boolean isPrivate)
Create a private channel instead of a public onevoid
setTeamId(String teamId)
Required for org-wide apps.void
setToken(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
builder
public static ConversationsCreateRequest.ConversationsCreateRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `conversations:write`- Specified by:
getToken
in interfaceSlackApiRequest
-
getName
public 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 String getTeamId()
Required for org-wide apps.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `conversations:write`
-
setName
public void setName(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(String teamId)
Required for org-wide apps.
-
canEqual
protected boolean canEqual(Object other)
-
-