Class UsergroupsUpdateRequest
java.lang.Object
com.slack.api.methods.request.usergroups.UsergroupsUpdateRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/usergroups.update
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanA comma separated string of encoded channel IDs for which the User Group uses as a default.A short description of the User Group.A mention handle.getName()A name for the User Group.encoded team id where the user group exists, required if org token is usedgetToken()Authentication token.The encoded ID of the User Group to update.inthashCode()booleanInclude the number of users in the User Group.voidsetChannels(List<String> channels) A comma separated string of encoded channel IDs for which the User Group uses as a default.voidsetDescription(String description) A short description of the User Group.voidA mention handle.voidsetIncludeCount(boolean includeCount) Include the number of users in the User Group.voidA name for the User Group.voidencoded team id where the user group exists, required if org token is usedvoidAuthentication token.voidsetUsergroup(String usergroup) The encoded ID of the User Group to update.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `usergroups:write`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getUsergroup
The encoded ID of the User Group to update. -
getName
A name for the User Group. Must be unique among User Groups. -
getHandle
A mention handle. Must be unique among channels, users and User Groups. -
getDescription
A short description of the User Group. -
getChannels
A comma separated string of encoded channel IDs for which the User Group uses as a default. -
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:
setTokenin interfaceSlackApiRequest
-
setUsergroup
The encoded ID of the User Group to update. -
setName
A name for the User Group. Must be unique among User Groups. -
setHandle
A mention handle. Must be unique among channels, users and User Groups. -
setDescription
A short description of the User Group. -
setChannels
A comma separated string of encoded channel IDs for which the User Group uses as a default. -
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
-