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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
builder
public static AdminConversationsSetConversationPrefsRequest.AdminConversationsSetConversationPrefsRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getTokenin 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)
-
-