Class UsergroupsDisableRequest.UsergroupsDisableRequestBuilder
java.lang.Object
com.slack.api.methods.request.usergroups.UsergroupsDisableRequest.UsergroupsDisableRequestBuilder
- Enclosing class:
- UsergroupsDisableRequest
public static class UsergroupsDisableRequest.UsergroupsDisableRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description UsergroupsDisableRequestbuild()UsergroupsDisableRequest.UsergroupsDisableRequestBuilderincludeCount(boolean includeCount)Include the number of users in the User Group.UsergroupsDisableRequest.UsergroupsDisableRequestBuilderteamId(String teamId)encoded team id where the user group exists, required if org token is usedUsergroupsDisableRequest.UsergroupsDisableRequestBuildertoken(String token)Authentication token.StringtoString()UsergroupsDisableRequest.UsergroupsDisableRequestBuilderusergroup(String usergroup)The encoded ID of the User Group to disable.
-
Method Details
-
token
Authentication token. Requires scope: `usergroups:write`- Returns:
this.
-
usergroup
The encoded ID of the User Group to disable.- 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
-