Class AdminRolesAddAssignmentsRequest
java.lang.Object
com.slack.api.methods.request.admin.roles.AdminRolesAddAssignmentsRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/admin.roles.addAssignments
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanList of the entity IDs for which roles will be assigned.ID of the role to which users will be assigned.getToken()Authentication token bearing required scopes.List of IDs from the users to be added to the given roleinthashCode()voidsetEntityIds(List<String> entityIds) List of the entity IDs for which roles will be assigned.voidID of the role to which users will be assigned.voidAuthentication token bearing required scopes.voidsetUserIds(List<String> userIds) List of IDs from the users to be added to the given roletoString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getRoleId
ID of the role to which users will be assigned. -
getEntityIds
List of the entity IDs for which roles will be assigned. These can be Org IDs, Team IDs or Channel IDs -
getUserIds
List of IDs from the users to be added to the given role -
setToken
Authentication token bearing required scopes.- Specified by:
setTokenin interfaceSlackApiRequest
-
setRoleId
ID of the role to which users will be assigned. -
setEntityIds
List of the entity IDs for which roles will be assigned. These can be Org IDs, Team IDs or Channel IDs -
setUserIds
List of IDs from the users to be added to the given role -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-