Class AdminUsersSessionListRequest

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

public class AdminUsersSessionListRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.users.session.list
  • Method Details

    • builder

    • getToken

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

      public String getCursor()
      Set cursor to next_cursor returned by the previous call to list items in the next page.
    • getLimit

      public Integer getLimit()
      The maximum number of items to return. Must be between 1 - 1000 both inclusive.

      Default: 1000

    • getTeamId

      public String getTeamId()
      ID of the team you'd like active sessions for (must be used with user_id)
    • getUserId

      public String getUserId()
      ID of user you'd like active sessions for (must be used with team_id)
    • setToken

      public void setToken(String token)
      Authentication token bearing required scopes. (admin.users:read)
      Specified by:
      setToken in interface SlackApiRequest
    • setCursor

      public void setCursor(String cursor)
      Set cursor to next_cursor returned by the previous call to list items in the next page.
    • setLimit

      public void setLimit(Integer limit)
      The maximum number of items to return. Must be between 1 - 1000 both inclusive.

      Default: 1000

    • setTeamId

      public void setTeamId(String teamId)
      ID of the team you'd like active sessions for (must be used with user_id)
    • setUserId

      public void setUserId(String userId)
      ID of user you'd like active sessions for (must be used with team_id)
    • 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