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
Modifier and Type Method Description static ConversationsCreateRequest.ConversationsCreateRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetName()Name of the public or private channel to createStringgetTeamId()Required for org-wide apps.StringgetToken()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 onevoidsetTeamId(String teamId)Required for org-wide apps.voidsetToken(String token)Authentication token.StringtoString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `conversations:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getName
Name of the public or private channel to create -
isPrivate
public boolean isPrivate()Create a private channel instead of a public one -
getTeamId
Required for org-wide apps. -
setToken
Authentication token. Requires scope: `conversations:write` -
setName
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
Required for org-wide apps. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-