Class UsergroupsEnableRequest
java.lang.Object
com.slack.api.methods.request.usergroups.UsergroupsEnableRequest
- All Implemented Interfaces:
SlackApiRequest
https://api.slack.com/methods/usergroups.enable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
encoded team id where the user group exists, required if org token is usedgetToken()
Authentication token.The encoded ID of the User Group to enable.int
hashCode()
boolean
Include the number of users in the User Group.void
setIncludeCount
(boolean includeCount) Include the number of users in the User Group.void
encoded team id where the user group exists, required if org token is usedvoid
Authentication token.void
setUsergroup
(String usergroup) The encoded ID of the User Group to enable.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `usergroups:write`- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getUsergroup
The encoded ID of the User Group to enable. -
isIncludeCount
public boolean isIncludeCount()Include the number of users in the User Group. -
getTeamId
encoded team id where the user group exists, required if org token is used -
setToken
Authentication token. Requires scope: `usergroups:write`- Specified by:
setToken
in interfaceSlackApiRequest
-
setUsergroup
The encoded ID of the User Group to enable. -
setIncludeCount
public void setIncludeCount(boolean includeCount) Include the number of users in the User Group. -
setTeamId
encoded team id where the user group exists, required if org token is used -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-