Class AdminConversationsCreateRequest
java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsCreateRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminConversationsCreateRequest extends java.lang.Object implements SlackApiRequest
https://api.slack.com/methods/admin.conversations.create
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminConversationsCreateRequest.AdminConversationsCreateRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminConversationsCreateRequest.AdminConversationsCreateRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetDescription()Description of the public or private channel to create.java.lang.BooleangetIsPrivate()When true, creates a private channel instead of a public channeljava.lang.StringgetName()Name of the public or private channel to create.java.lang.BooleangetOrgWide()When true, the channel will be available org-wide.java.lang.StringgetTeamId()The workspace to create the channel in.java.lang.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetDescription(java.lang.String description)Description of the public or private channel to create.voidsetIsPrivate(java.lang.Boolean isPrivate)When true, creates a private channel instead of a public channelvoidsetName(java.lang.String name)Name of the public or private channel to create.voidsetOrgWide(java.lang.Boolean orgWide)When true, the channel will be available org-wide.voidsetTeamId(java.lang.String teamId)The workspace to create the channel in.voidsetToken(java.lang.String token)Authentication token bearing required scopes.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getIsPrivate
public java.lang.Boolean getIsPrivate()When true, creates a private channel instead of a public channel -
getName
public java.lang.String getName()Name of the public or private channel to create. -
getDescription
public java.lang.String getDescription()Description of the public or private channel to create. -
getOrgWide
public java.lang.Boolean getOrgWide()When true, the channel will be available org-wide. Note: if the channel is not org_wide=true, you must specify a team_id for this channel -
getTeamId
public java.lang.String getTeamId()The workspace to create the channel in. Note: this argument is required unless you set org_wide=true. -
setToken
public void setToken(java.lang.String token)Authentication token bearing required scopes. -
setIsPrivate
public void setIsPrivate(java.lang.Boolean isPrivate)When true, creates a private channel instead of a public channel -
setName
public void setName(java.lang.String name)Name of the public or private channel to create. -
setDescription
public void setDescription(java.lang.String description)Description of the public or private channel to create. -
setOrgWide
public void setOrgWide(java.lang.Boolean orgWide)When true, the channel will be available org-wide. Note: if the channel is not org_wide=true, you must specify a team_id for this channel -
setTeamId
public void setTeamId(java.lang.String teamId)The workspace to create the channel in. Note: this argument is required unless you set org_wide=true. -
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
-