Class AdminUsersSessionListRequest
java.lang.Object
com.slack.api.methods.request.admin.users.AdminUsersSessionListRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminUsersSessionListRequest extends java.lang.Object implements SlackApiRequest
https://api.slack.com/methods/admin.users.session.list
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminUsersSessionListRequest.AdminUsersSessionListRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminUsersSessionListRequest.AdminUsersSessionListRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetCursor()Set cursor to next_cursor returned by the previous call to list items in the next page.java.lang.IntegergetLimit()The maximum number of items to return.java.lang.StringgetTeamId()ID of the team you'd like active sessions for (must be used with user_id)java.lang.StringgetToken()Authentication token bearing required scopes.java.lang.StringgetUserId()ID of user you'd like active sessions for (must be used with team_id)inthashCode()voidsetCursor(java.lang.String cursor)Set cursor to next_cursor returned by the previous call to list items in the next page.voidsetLimit(java.lang.Integer limit)The maximum number of items to return.voidsetTeamId(java.lang.String teamId)ID of the team you'd like active sessions for (must be used with user_id)voidsetToken(java.lang.String token)Authentication token bearing required scopes.voidsetUserId(java.lang.String userId)ID of user you'd like active sessions for (must be used with team_id)java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token bearing required scopes. (admin.users:read)- Specified by:
getTokenin interfaceSlackApiRequest
-
getCursor
public java.lang.String getCursor()Set cursor to next_cursor returned by the previous call to list items in the next page. -
getLimit
public java.lang.Integer getLimit()The maximum number of items to return. Must be between 1 - 1000 both inclusive.Default: 1000
-
getTeamId
public java.lang.String getTeamId()ID of the team you'd like active sessions for (must be used with user_id) -
getUserId
public java.lang.String getUserId()ID of user you'd like active sessions for (must be used with team_id) -
setToken
public void setToken(java.lang.String token)Authentication token bearing required scopes. (admin.users:read) -
setCursor
public void setCursor(java.lang.String cursor)Set cursor to next_cursor returned by the previous call to list items in the next page. -
setLimit
public void setLimit(java.lang.Integer limit)The maximum number of items to return. Must be between 1 - 1000 both inclusive.Default: 1000
-
setTeamId
public void setTeamId(java.lang.String teamId)ID of the team you'd like active sessions for (must be used with user_id) -
setUserId
public void setUserId(java.lang.String userId)ID of user you'd like active sessions for (must be used with team_id) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-