Class ConversationsRequestSharedInviteDenyRequest
java.lang.Object
com.slack.api.methods.request.conversations.request_shared_invite.ConversationsRequestSharedInviteDenyRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.requestSharedInvite.deny
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic ConversationsRequestSharedInviteDenyRequest.ConversationsRequestSharedInviteDenyRequestBuilderbuilder()protected booleanbooleanID of the requested shared channel invite to deny.Optional message explaining why the request to invite was denied.getToken()Returns a token in this request object.inthashCode()voidsetInviteId(String inviteId) ID of the requested shared channel invite to deny.voidsetMessage(String message) Optional message explaining why the request to invite was denied.voidUpdates the token in this request object.toString()
-
Method Details
-
builder
public static ConversationsRequestSharedInviteDenyRequest.ConversationsRequestSharedInviteDenyRequestBuilder 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 deny. -
getMessage
Optional message explaining why the request to invite was denied. -
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 deny. -
setMessage
Optional message explaining why the request to invite was denied. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-