Class AdminUsersAssignRequest

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

public class AdminUsersAssignRequest
extends java.lang.Object
implements SlackApiRequest
https://api.slack.com/methods/admin.users.assign
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  AdminUsersAssignRequest.AdminUsersAssignRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static AdminUsersAssignRequest.AdminUsersAssignRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.util.List<java.lang.String> getChannelIds()
    Comma separated values of channel IDs to add user in the new workspace.
    java.lang.String getTeamId()
    Workspace Id.
    java.lang.String getToken()
    Authentication token bearing required scopes.
    java.lang.String getUserId()
    The ID of the user to add to the workspace.
    int hashCode()  
    boolean isRestricted()
    True if user should be added to the workspace as a guest.
    boolean isUltraRestricted()
    True if user should be added to the workspace as a single-channel guest.
    void setChannelIds​(java.util.List<java.lang.String> channelIds)
    Comma separated values of channel IDs to add user in the new workspace.
    void setRestricted​(boolean isRestricted)
    True if user should be added to the workspace as a guest.
    void setTeamId​(java.lang.String teamId)
    Workspace Id.
    void setToken​(java.lang.String token)
    Authentication token bearing required scopes.
    void setUltraRestricted​(boolean isUltraRestricted)
    True if user should be added to the workspace as a single-channel guest.
    void setUserId​(java.lang.String userId)
    The ID of the user to add to the workspace.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • builder

    • getToken

      public java.lang.String getToken()
      Authentication token bearing required scopes.
      Specified by:
      getToken in interface SlackApiRequest
    • getTeamId

      public java.lang.String getTeamId()
      Workspace Id.
    • getUserId

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

      public java.util.List<java.lang.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​(java.lang.String token)
      Authentication token bearing required scopes.
    • setTeamId

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

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

      public void setChannelIds​(java.util.List<java.lang.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​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object