Class UsergroupsUsersUpdateRequest
java.lang.Object
com.slack.api.methods.request.usergroups.users.UsergroupsUsersUpdateRequest
- All Implemented Interfaces:
SlackApiRequest
public class UsergroupsUsersUpdateRequest extends java.lang.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(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetTeamId()encoded team id where the user group exists, required if org token is usedjava.lang.StringgetToken()Authentication token.java.lang.StringgetUsergroup()The encoded ID of the User Group to update.java.util.List<java.lang.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.voidsetTeamId(java.lang.String teamId)encoded team id where the user group exists, required if org token is usedvoidsetToken(java.lang.String token)Authentication token.voidsetUsergroup(java.lang.String usergroup)The encoded ID of the User Group to update.voidsetUsers(java.util.List<java.lang.String> users)A comma separated string of encoded user IDs that represent the entire list of users for the User Group.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `usergroups:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getUsergroup
public java.lang.String getUsergroup()The encoded ID of the User Group to update. -
getUsers
public java.util.List<java.lang.String> 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. -
getTeamId
public java.lang.String getTeamId()encoded team id where the user group exists, required if org token is used -
setToken
public void setToken(java.lang.String token)Authentication token. Requires scope: `usergroups:write` -
setUsergroup
public void setUsergroup(java.lang.String usergroup)The encoded ID of the User Group to update. -
setUsers
public void setUsers(java.util.List<java.lang.String> users)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. -
setTeamId
public void setTeamId(java.lang.String teamId)encoded team id where the user group exists, required if org token is used -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-