Class UsergroupsEnableRequest.UsergroupsEnableRequestBuilder
java.lang.Object
com.slack.api.methods.request.usergroups.UsergroupsEnableRequest.UsergroupsEnableRequestBuilder
- Enclosing class:
- UsergroupsEnableRequest
public static class UsergroupsEnableRequest.UsergroupsEnableRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description UsergroupsEnableRequest
build()
UsergroupsEnableRequest.UsergroupsEnableRequestBuilder
includeCount(boolean includeCount)
Include the number of users in the User Group.UsergroupsEnableRequest.UsergroupsEnableRequestBuilder
teamId(String teamId)
encoded team id where the user group exists, required if org token is usedUsergroupsEnableRequest.UsergroupsEnableRequestBuilder
token(String token)
Authentication token.String
toString()
UsergroupsEnableRequest.UsergroupsEnableRequestBuilder
usergroup(String usergroup)
The encoded ID of the User Group to enable.
-
Method Details
-
token
Authentication token. Requires scope: `usergroups:write`- Returns:
this
.
-
usergroup
The encoded ID of the User Group to enable.- Returns:
this
.
-
includeCount
Include the number of users in the User Group.- Returns:
this
.
-
teamId
encoded team id where the user group exists, required if org token is used- Returns:
this
.
-
build
-
toString
-