Class AdminRolesAddAssignmentsRequest
- java.lang.Object
-
- com.slack.api.methods.request.admin.roles.AdminRolesAddAssignmentsRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AdminRolesAddAssignmentsRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.roles.addAssignments
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminRolesAddAssignmentsRequest.AdminRolesAddAssignmentsRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminRolesAddAssignmentsRequest.AdminRolesAddAssignmentsRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<String>
getEntityIds()
List of the entity IDs for which roles will be assigned.String
getRoleId()
ID of the role to which users will be assigned.String
getToken()
Authentication token bearing required scopes.List<String>
getUserIds()
List of IDs from the users to be added to the given roleint
hashCode()
void
setEntityIds(List<String> entityIds)
List of the entity IDs for which roles will be assigned.void
setRoleId(String roleId)
ID of the role to which users will be assigned.void
setToken(String token)
Authentication token bearing required scopes.void
setUserIds(List<String> userIds)
List of IDs from the users to be added to the given roleString
toString()
-
-
-
Method Detail
-
builder
public static AdminRolesAddAssignmentsRequest.AdminRolesAddAssignmentsRequestBuilder 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 assigned. These can be Org IDs, Team IDs or Channel IDs
-
getUserIds
public List<String> getUserIds()
List of IDs from the users to be added to the given role
-
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 assigned. These can be Org IDs, Team IDs or Channel IDs
-
setUserIds
public void setUserIds(List<String> userIds)
List of IDs from the users to be added to the given role
-
canEqual
protected boolean canEqual(Object other)
-
-