Class AdminUsersSessionListRequest

  • All Implemented Interfaces:
    SlackApiRequest

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

      • getToken

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

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object