Class ConversationsInviteSharedRequest
- java.lang.Object
-
- com.slack.api.methods.request.conversations.ConversationsInviteSharedRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsInviteSharedRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/conversations.inviteShared
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversationsInviteSharedRequest.ConversationsInviteSharedRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversationsInviteSharedRequest.ConversationsInviteSharedRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()ID of the channel on your team that you'd like to shareList<String>getEmails()Optional email to receive this invite.BooleangetExternalLimited()Optional boolean on whether invite is to an external limited member.StringgetToken()Authentication token bearing required scopes.List<String>getUserIds()Optional user_id to receive this invite.inthashCode()voidsetChannel(String channel)ID of the channel on your team that you'd like to sharevoidsetEmails(List<String> emails)Optional email to receive this invite.voidsetExternalLimited(Boolean externalLimited)Optional boolean on whether invite is to an external limited member.voidsetToken(String token)Authentication token bearing required scopes.voidsetUserIds(List<String> userIds)Optional user_id to receive this invite.StringtoString()
-
-
-
Method Detail
-
builder
public static ConversationsInviteSharedRequest.ConversationsInviteSharedRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getChannel
public String getChannel()
ID of the channel on your team that you'd like to share
-
getEmails
public List<String> getEmails()
Optional email to receive this invite. Either emails or user_ids must be provided.
-
getExternalLimited
public Boolean getExternalLimited()
Optional boolean on whether invite is to an external limited member. Defaults to true.
-
getUserIds
public List<String> getUserIds()
Optional user_id to receive this invite. Either emails or user_ids must be provided.
-
setToken
public void setToken(String token)
Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.- Specified by:
setTokenin interfaceSlackApiRequest
-
setChannel
public void setChannel(String channel)
ID of the channel on your team that you'd like to share
-
setEmails
public void setEmails(List<String> emails)
Optional email to receive this invite. Either emails or user_ids must be provided.
-
setExternalLimited
public void setExternalLimited(Boolean externalLimited)
Optional boolean on whether invite is to an external limited member. Defaults to true.
-
setUserIds
public void setUserIds(List<String> userIds)
Optional user_id to receive this invite. Either emails or user_ids must be provided.
-
canEqual
protected boolean canEqual(Object other)
-
-