Class ConversationsInviteRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsInviteRequest
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsInviteRequest extends java.lang.Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversationsInviteRequest.ConversationsInviteRequestBuilder -
Method Summary
Modifier and Type Method Description static ConversationsInviteRequest.ConversationsInviteRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannel()The ID of the public or private channel to invite user(s) to.java.lang.StringgetToken()Authentication token.java.util.List<java.lang.String>getUsers()A comma separated list of user IDs.inthashCode()voidsetChannel(java.lang.String channel)The ID of the public or private channel to invite user(s) to.voidsetToken(java.lang.String token)Authentication token.voidsetUsers(java.util.List<java.lang.String> users)A comma separated list of user IDs.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `conversations:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
public java.lang.String getChannel()The ID of the public or private channel to invite user(s) to. -
getUsers
public java.util.List<java.lang.String> getUsers()A comma separated list of user IDs. Up to 30 users may be listed. -
setToken
public void setToken(java.lang.String token)Authentication token. Requires scope: `conversations:write` -
setChannel
public void setChannel(java.lang.String channel)The ID of the public or private channel to invite user(s) to. -
setUsers
public void setUsers(java.util.List<java.lang.String> users)A comma separated list of user IDs. Up to 30 users may be listed. -
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
-