Class ConversationsExternalInvitePermissionsSetRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsExternalInvitePermissionsSetRequest
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsExternalInvitePermissionsSetRequest
extends Object
implements SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.externalInvitePermissions.set
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanType of action to be taken: upgrade or downgrade Value should be one of "upgrade" and "downgrade"The channel ID to change external invite permissions forThe encoded team ID of the target team.getToken()Authentication token bearing required scopes.inthashCode()voidType of action to be taken: upgrade or downgrade Value should be one of "upgrade" and "downgrade"voidsetChannel(String channel) The channel ID to change external invite permissions forvoidsetTargetTeam(String targetTeam) The encoded team ID of the target team.voidAuthentication token bearing required scopes.toString()
-
Method Details
-
builder
-
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
-
getAction
Type of action to be taken: upgrade or downgrade Value should be one of "upgrade" and "downgrade" -
getChannel
The channel ID to change external invite permissions for -
getTargetTeam
The encoded team ID of the target team. Must be in the specified channel. -
setToken
Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.- Specified by:
setTokenin interfaceSlackApiRequest
-
setAction
Type of action to be taken: upgrade or downgrade Value should be one of "upgrade" and "downgrade" -
setChannel
The channel ID to change external invite permissions for -
setTargetTeam
The encoded team ID of the target team. Must be in the specified channel. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-