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 class
AdminConversationsSetConversationPrefsRequest.AdminConversationsSetConversationPrefsRequestBuilder
static class
AdminConversationsSetConversationPrefsRequest.Pref
static class
AdminConversationsSetConversationPrefsRequest.Prefs
-
Method Summary
Modifier and Type Method Description static AdminConversationsSetConversationPrefsRequest.AdminConversationsSetConversationPrefsRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannelId()
The channel to set the prefs for.AdminConversationsSetConversationPrefsRequest.Prefs
getPrefs()
String
getPrefsAsString()
The prefs for this channel in a stringified JSON format.String
getToken()
Authentication token bearing required scopes.int
hashCode()
void
setChannelId(String channelId)
The channel to set the prefs for.void
setPrefs(AdminConversationsSetConversationPrefsRequest.Prefs prefs)
void
setPrefsAsString(String prefsAsString)
The prefs for this channel in a stringified JSON format.void
setToken(String token)
Authentication token bearing required scopes.String
toString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getToken
in 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
-