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 class
UsergroupsEnableRequest.UsergroupsEnableRequestBuilder
-
Method Summary
Modifier and Type Method Description static UsergroupsEnableRequest.UsergroupsEnableRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getTeamId()
encoded team id where the user group exists, required if org token is usedString
getToken()
Authentication token.String
getUsergroup()
The encoded ID of the User Group to enable.int
hashCode()
boolean
isIncludeCount()
Include the number of users in the User Group.void
setIncludeCount(boolean includeCount)
Include the number of users in the User Group.void
setTeamId(String teamId)
encoded team id where the user group exists, required if org token is usedvoid
setToken(String token)
Authentication token.void
setUsergroup(String usergroup)
The encoded ID of the User Group to enable.String
toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `usergroups:write`- Specified by:
getToken
in interfaceSlackApiRequest
-
getUsergroup
The encoded ID of the User Group to enable. -
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 enable. -
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
-