Class UsergroupsDisableRequest
- java.lang.Object
-
- com.slack.api.methods.request.usergroups.UsergroupsDisableRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class UsergroupsDisableRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/usergroups.disable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UsergroupsDisableRequest.UsergroupsDisableRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsergroupsDisableRequest.UsergroupsDisableRequestBuilder
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 disable.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 disable.String
toString()
-
-
-
Method Detail
-
builder
public static UsergroupsDisableRequest.UsergroupsDisableRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `usergroups:write`- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getUsergroup
public String getUsergroup()
The encoded ID of the User Group to disable.
-
isIncludeCount
public boolean isIncludeCount()
Include the number of users in the User Group.
-
getTeamId
public String getTeamId()
encoded team id where the user group exists, required if org token is used
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `usergroups:write`- Specified by:
setToken
in interfaceSlackApiRequest
-
setUsergroup
public void setUsergroup(String usergroup)
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
public void setTeamId(String teamId)
encoded team id where the user group exists, required if org token is used
-
canEqual
protected boolean canEqual(Object other)
-
-