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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
builder
public static AdminConversationsSetConversationPrefsRequest.AdminConversationsSetConversationPrefsRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
-
getChannelId
public String getChannelId()
The channel to set the prefs for.
-
getPrefsAsString
public String getPrefsAsString()
The prefs for this channel in a stringified JSON format. {'who_can_post':'type:admin,user:U1234,subteam:S1234'}
-
getPrefs
public AdminConversationsSetConversationPrefsRequest.Prefs getPrefs()
-
setToken
public void setToken(String token)
Authentication token bearing required scopes.
-
setChannelId
public void setChannelId(String channelId)
The channel to set the prefs for.
-
setPrefsAsString
public void setPrefsAsString(String prefsAsString)
The prefs for this channel in a stringified JSON format. {'who_can_post':'type:admin,user:U1234,subteam:S1234'}
-
setPrefs
public void setPrefs(AdminConversationsSetConversationPrefsRequest.Prefs prefs)
-
canEqual
protected boolean canEqual(Object other)
-
-