Class UsergroupsEnableRequest
java.lang.Object
com.slack.api.methods.request.usergroups.UsergroupsEnableRequest
- All Implemented Interfaces:
SlackApiRequest
public class UsergroupsEnableRequest extends Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUsergroupsEnableRequest.UsergroupsEnableRequestBuilder -
Method Summary
Modifier and Type Method Description static UsergroupsEnableRequest.UsergroupsEnableRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetToken()Authentication token.StringgetUsergroup()The encoded ID of the User Group to enable.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 enable.StringtoString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `usergroups:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getUsergroup
The encoded ID of the User Group to enable. -
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 enable. -
setIncludeCount
public void setIncludeCount(boolean includeCount)Include the number of users in the User Group. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-