Class ConversationsRequestSharedInviteApproveRequest
java.lang.Object
com.slack.api.methods.request.conversations.request_shared_invite.ConversationsRequestSharedInviteApproveRequest
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsRequestSharedInviteApproveRequest
extends Object
implements SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.requestSharedInvite.approve
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classConversationsRequestSharedInviteApproveRequest.ConversationsRequestSharedInviteApproveRequestBuilderstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic ConversationsRequestSharedInviteApproveRequest.ConversationsRequestSharedInviteApproveRequestBuilderbuilder()protected booleanbooleanOptional channel_id to which external user will be invited to.ID of the requested shared channel invite to approve.Optional boolean on whether the invited team will have post-only permissions in the channel.Object describing the text to send along with the invite.getToken()Returns a token in this request object.inthashCode()voidsetChannelId(String channelId) Optional channel_id to which external user will be invited to.voidsetInviteId(String inviteId) ID of the requested shared channel invite to approve.voidsetIsExternalLimited(Boolean isExternalLimited) Optional boolean on whether the invited team will have post-only permissions in the channel.voidObject describing the text to send along with the invite.voidUpdates the token in this request object.toString()
-
Method Details
-
builder
-
getToken
Description copied from interface:SlackApiRequestReturns a token in this request object. If the API endpoint does not require a token (e.g., api.test), this method can return null.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getInviteId
ID of the requested shared channel invite to approve. -
getChannelId
Optional channel_id to which external user will be invited to. Will override the value on the requested invite. -
getIsExternalLimited
Optional boolean on whether the invited team will have post-only permissions in the channel. Will override the value on the requested invite. -
getMessage
Object describing the text to send along with the invite. If this object is specified, both text and is_override are required properties. If is_override is set to true, text will override the original invitation message. Otherwise, text will be appended to the original invitation message. The total length of the message cannot exceed 560 characters. If is_override is set to false, the length of text and the user specified message on the invite request in total must be less than 560 characters. -
setToken
Description copied from interface:SlackApiRequestUpdates the token in this request object.The default implementation throws
UnsupportedOperationException. All the built-in implementing classes overrides this method in a proper way.- Specified by:
setTokenin interfaceSlackApiRequest
-
setInviteId
ID of the requested shared channel invite to approve. -
setChannelId
Optional channel_id to which external user will be invited to. Will override the value on the requested invite. -
setIsExternalLimited
Optional boolean on whether the invited team will have post-only permissions in the channel. Will override the value on the requested invite. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-