Class ConversationsCreateRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsCreateRequest
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsCreateRequest extends java.lang.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(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetName()Name of the public or private channel to createjava.lang.StringgetTeamId()Required for org-wide apps.java.lang.StringgetToken()Authentication token.inthashCode()booleanisPrivate()Create a private channel instead of a public onevoidsetName(java.lang.String name)Name of the public or private channel to createvoidsetPrivate(boolean isPrivate)Create a private channel instead of a public onevoidsetTeamId(java.lang.String teamId)Required for org-wide apps.voidsetToken(java.lang.String token)Authentication token.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `conversations:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getName
public java.lang.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 java.lang.String getTeamId()Required for org-wide apps. -
setToken
public void setToken(java.lang.String token)Authentication token. Requires scope: `conversations:write` -
setName
public void setName(java.lang.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(java.lang.String teamId)Required for org-wide apps. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-