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://docs.slack.dev/reference/methods/admin.roles.addAssignments
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token bearing required scopes.
      Specified by:
      getToken in interface SlackApiRequest
      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 interface SlackApiRequest
    • 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object