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 classConversationsCreateRequest.ConversationsCreateRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversationsCreateRequest.ConversationsCreateRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetName()Name of the public or private channel to createStringgetToken()Authentication token.inthashCode()booleanisPrivate()Create a private channel instead of a public onevoidsetName(String name)Name of the public or private channel to createvoidsetPrivate(boolean isPrivate)Create a private channel instead of a public onevoidsetToken(String token)Authentication token.StringtoString()
-
-
-
Method Detail
-
builder
public static ConversationsCreateRequest.ConversationsCreateRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `conversations:write`- Specified by:
getTokenin 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
-
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
-
canEqual
protected boolean canEqual(Object other)
-
-