Class AdminConversationsSetConversationPrefsRequest
java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsSetConversationPrefsRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminConversationsSetConversationPrefsRequest
extends Object
implements SlackApiRequest
https://docs.slack.dev/reference/methods/admin.conversations.setConversationPrefs
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic AdminConversationsSetConversationPrefsRequest.AdminConversationsSetConversationPrefsRequestBuilderbuilder()protected booleanbooleanThe channel to set the prefs for.getPrefs()The prefs for this channel in a stringified JSON format.getToken()Authentication token bearing required scopes.inthashCode()voidsetChannelId(String channelId) The channel to set the prefs for.voidvoidsetPrefsAsString(String prefsAsString) The prefs for this channel in a stringified JSON format.voidAuthentication token bearing required scopes.toString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getChannelId
The channel to set the prefs for. -
getPrefsAsString
The prefs for this channel in a stringified JSON format. {'who_can_post':'type:admin,user:U1234,subteam:S1234'} -
getPrefs
-
setToken
Authentication token bearing required scopes.- Specified by:
setTokenin interfaceSlackApiRequest
-
setChannelId
The channel to set the prefs for. -
setPrefsAsString
The prefs for this channel in a stringified JSON format. {'who_can_post':'type:admin,user:U1234,subteam:S1234'} -
setPrefs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-