Class UsergroupsListRequest
java.lang.Object
com.slack.api.methods.request.usergroups.UsergroupsListRequest
- All Implemented Interfaces:
SlackApiRequest
https://api.slack.com/methods/usergroups.list
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
encoded team id where the user group exists, required if org token is usedgetToken()
Authentication token.int
hashCode()
boolean
Include the number of users in each User Groupboolean
Include disabled User Groups.boolean
Include the list of users for each User Group.void
setIncludeCount
(boolean includeCount) Include the number of users in each User Groupvoid
setIncludeDisabled
(boolean includeDisabled) Include disabled User Groups.void
setIncludeUsers
(boolean includeUsers) Include the list of users for each User Group.void
encoded team id where the user group exists, required if org token is usedvoid
Authentication token.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `usergroups:read- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
isIncludeDisabled
public boolean isIncludeDisabled()Include disabled User Groups. -
isIncludeCount
public boolean isIncludeCount()Include the number of users in each User Group -
isIncludeUsers
public boolean isIncludeUsers()Include the list of users for each User Group. -
getTeamId
encoded team id where the user group exists, required if org token is used -
setToken
Authentication token. Requires scope: `usergroups:read- Specified by:
setToken
in interfaceSlackApiRequest
-
setIncludeDisabled
public void setIncludeDisabled(boolean includeDisabled) Include disabled User Groups. -
setIncludeCount
public void setIncludeCount(boolean includeCount) Include the number of users in each User Group -
setIncludeUsers
public void setIncludeUsers(boolean includeUsers) Include the list of users for each User Group. -
setTeamId
encoded team id where the user group exists, required if org token is used -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-