Class AdminConversationsRestrictAccessAddGroupRequest
java.lang.Object
com.slack.api.methods.request.admin.conversations.restrict_access.AdminConversationsRestrictAccessAddGroupRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminConversationsRestrictAccessAddGroupRequest extends java.lang.Object implements SlackApiRequest
https://api.slack.com/methods/admin.conversations.restrictAccess.addGroup
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminConversationsRestrictAccessAddGroupRequest.AdminConversationsRestrictAccessAddGroupRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminConversationsRestrictAccessAddGroupRequest.AdminConversationsRestrictAccessAddGroupRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannelId()The channel to whitelist a group for.java.lang.StringgetGroupId()The IDP Group ID to whitelist for the private channel.java.lang.StringgetTeamId()The workspace where the IDP Group and channel exist.java.lang.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetChannelId(java.lang.String channelId)The channel to whitelist a group for.voidsetGroupId(java.lang.String groupId)The IDP Group ID to whitelist for the private channel.voidsetTeamId(java.lang.String teamId)The workspace where the IDP Group and channel exist.voidsetToken(java.lang.String token)Authentication token bearing required scopes.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannelId
public java.lang.String getChannelId()The channel to whitelist a group for. -
getGroupId
public java.lang.String getGroupId()The IDP Group ID to whitelist for the private channel. -
getTeamId
public java.lang.String getTeamId()The workspace where the IDP Group and channel exist. -
setToken
public void setToken(java.lang.String token)Authentication token bearing required scopes. -
setChannelId
public void setChannelId(java.lang.String channelId)The channel to whitelist a group for. -
setGroupId
public void setGroupId(java.lang.String groupId)The IDP Group ID to whitelist for the private channel. -
setTeamId
public void setTeamId(java.lang.String teamId)The workspace where the IDP Group and channel exist. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-