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://api.slack.com/methods/admin.conversations.setConversationPrefs
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminConversationsSetConversationPrefsRequest.AdminConversationsSetConversationPrefsRequestBuilderstatic classAdminConversationsSetConversationPrefsRequest.Prefstatic classAdminConversationsSetConversationPrefsRequest.Prefs -
Method Summary
Modifier and Type Method Description static AdminConversationsSetConversationPrefsRequest.AdminConversationsSetConversationPrefsRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannelId()The channel to set the prefs for.AdminConversationsSetConversationPrefsRequest.PrefsgetPrefs()StringgetPrefsAsString()The prefs for this channel in a stringified JSON format.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetChannelId(String channelId)The channel to set the prefs for.voidsetPrefs(AdminConversationsSetConversationPrefsRequest.Prefs prefs)voidsetPrefsAsString(String prefsAsString)The prefs for this channel in a stringified JSON format.voidsetToken(String token)Authentication token bearing required scopes.StringtoString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
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. -
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
-