Class UsergroupsUsersUpdateRequest
java.lang.Object
com.slack.api.methods.request.usergroups.users.UsergroupsUsersUpdateRequest
- All Implemented Interfaces:
SlackApiRequest
public class UsergroupsUsersUpdateRequest extends Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUsergroupsUsersUpdateRequest.UsergroupsUsersUpdateRequestBuilder -
Method Summary
Modifier and Type Method Description static UsergroupsUsersUpdateRequest.UsergroupsUsersUpdateRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetToken()Authentication token.StringgetUsergroup()The encoded ID of the User Group to update.List<String>getUsers()A comma separated string of encoded user IDs that represent the entire list of users for the User Group.inthashCode()booleanisIncludeCount()Include the number of users in the User Group.voidsetIncludeCount(boolean includeCount)Include the number of users in the User Group.voidsetToken(String token)Authentication token.voidsetUsergroup(String usergroup)The encoded ID of the User Group to update.voidsetUsers(List<String> users)A comma separated string of encoded user IDs that represent the entire list of users for the User Group.StringtoString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `usergroups:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getUsergroup
The encoded ID of the User Group to update. -
getUsers
A comma separated string of encoded user IDs that represent the entire list of users for the User Group. -
isIncludeCount
public boolean isIncludeCount()Include the number of users in the User Group. -
setToken
Authentication token. Requires scope: `usergroups:write` -
setUsergroup
The encoded ID of the User Group to update. -
setUsers
A comma separated string of encoded user IDs that represent the entire list of users for the User Group. -
setIncludeCount
public void setIncludeCount(boolean includeCount)Include the number of users in the User Group. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-