Class AdminUsersAssignRequest

java.lang.Object
com.slack.api.methods.request.admin.users.AdminUsersAssignRequest
All Implemented Interfaces:
SlackApiRequest

public class AdminUsersAssignRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.users.assign
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token bearing required scopes.
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getTeamId

      public String getTeamId()
      Workspace Id.
    • getUserId

      public String getUserId()
      The ID of the user to add to the workspace.
    • getChannelIds

      public List<String> getChannelIds()
      Comma separated values of channel IDs to add user in the new workspace.
    • isRestricted

      public boolean isRestricted()
      True if user should be added to the workspace as a guest.
    • isUltraRestricted

      public boolean isUltraRestricted()
      True if user should be added to the workspace as a single-channel guest.
    • setToken

      public void setToken(String token)
      Authentication token bearing required scopes.
      Specified by:
      setToken in interface SlackApiRequest
    • setTeamId

      public void setTeamId(String teamId)
      Workspace Id.
    • setUserId

      public void setUserId(String userId)
      The ID of the user to add to the workspace.
    • setChannelIds

      public void setChannelIds(List<String> channelIds)
      Comma separated values of channel IDs to add user in the new workspace.
    • setRestricted

      public void setRestricted(boolean isRestricted)
      True if user should be added to the workspace as a guest.
    • setUltraRestricted

      public void setUltraRestricted(boolean isUltraRestricted)
      True if user should be added to the workspace as a single-channel guest.
    • 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