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
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 Details
-
builder
-
getToken
Authentication token. Requires scope: `conversations:write`- Specified by:
getToken
in 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
-