Class AdminRolesRemoveAssignmentsRequest
- java.lang.Object
-
- com.slack.api.methods.request.admin.roles.AdminRolesRemoveAssignmentsRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AdminRolesRemoveAssignmentsRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.roles.removeAssignments
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminRolesRemoveAssignmentsRequest.AdminRolesRemoveAssignmentsRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminRolesRemoveAssignmentsRequest.AdminRolesRemoveAssignmentsRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<String>
getEntityIds()
List of the entity IDs for which roles will be revoked.String
getRoleId()
ID of the role to which users will be assignedString
getToken()
Authentication token bearing required scopes.List<String>
getUserIds()
List of IDs of the users whose roles will be revokedint
hashCode()
void
setEntityIds(List<String> entityIds)
List of the entity IDs for which roles will be revoked.void
setRoleId(String roleId)
ID of the role to which users will be assignedvoid
setToken(String token)
Authentication token bearing required scopes.void
setUserIds(List<String> userIds)
List of IDs of the users whose roles will be revokedString
toString()
-
-
-
Method Detail
-
builder
public static AdminRolesRemoveAssignmentsRequest.AdminRolesRemoveAssignmentsRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getRoleId
public String getRoleId()
ID of the role to which users will be assigned
-
getEntityIds
public List<String> getEntityIds()
List of the entity IDs for which roles will be revoked. These can be Org IDs, Team IDs or Channel IDs
-
setToken
public void setToken(String token)
Authentication token bearing required scopes.- Specified by:
setToken
in interfaceSlackApiRequest
-
setRoleId
public void setRoleId(String roleId)
ID of the role to which users will be assigned
-
setEntityIds
public void setEntityIds(List<String> entityIds)
List of the entity IDs for which roles will be revoked. These can be Org IDs, Team IDs or Channel IDs
-
setUserIds
public void setUserIds(List<String> userIds)
List of IDs of the users whose roles will be revoked
-
canEqual
protected boolean canEqual(Object other)
-
-