Class UsergroupsDisableRequest
java.lang.Object
com.slack.api.methods.request.usergroups.UsergroupsDisableRequest
- All Implemented Interfaces:
SlackApiRequest
public class UsergroupsDisableRequest extends Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUsergroupsDisableRequest.UsergroupsDisableRequestBuilder -
Method Summary
Modifier and Type Method Description static UsergroupsDisableRequest.UsergroupsDisableRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetTeamId()encoded team id where the user group exists, required if org token is usedStringgetToken()Authentication token.StringgetUsergroup()The encoded ID of the User Group to disable.inthashCode()booleanisIncludeCount()Include the number of users in the User Group.voidsetIncludeCount(boolean includeCount)Include the number of users in the User Group.voidsetTeamId(String teamId)encoded team id where the user group exists, required if org token is usedvoidsetToken(String token)Authentication token.voidsetUsergroup(String usergroup)The encoded ID of the User Group to disable.StringtoString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `usergroups:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getUsergroup
The encoded ID of the User Group to disable. -
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` -
setUsergroup
The encoded ID of the User Group to disable. -
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
-