Class UsergroupsUpdateRequest
- java.lang.Object
-
- com.slack.api.methods.request.usergroups.UsergroupsUpdateRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class UsergroupsUpdateRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UsergroupsUpdateRequest.UsergroupsUpdateRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsergroupsUpdateRequest.UsergroupsUpdateRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<String>
getChannels()
A comma separated string of encoded channel IDs for which the User Group uses as a default.String
getDescription()
A short description of the User Group.String
getHandle()
A mention handle.String
getName()
A name for the User Group.String
getToken()
Authentication token.String
getUsergroup()
The encoded ID of the User Group to update.int
hashCode()
boolean
isIncludeCount()
Include the number of users in the User Group.void
setChannels(List<String> channels)
A comma separated string of encoded channel IDs for which the User Group uses as a default.void
setDescription(String description)
A short description of the User Group.void
setHandle(String handle)
A mention handle.void
setIncludeCount(boolean includeCount)
Include the number of users in the User Group.void
setName(String name)
A name for the User Group.void
setToken(String token)
Authentication token.void
setUsergroup(String usergroup)
The encoded ID of the User Group to update.String
toString()
-
-
-
Method Detail
-
builder
public static UsergroupsUpdateRequest.UsergroupsUpdateRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `usergroups:write`- Specified by:
getToken
in interfaceSlackApiRequest
-
getUsergroup
public String getUsergroup()
The encoded ID of the User Group to update.
-
getName
public String getName()
A name for the User Group. Must be unique among User Groups.
-
getHandle
public String getHandle()
A mention handle. Must be unique among channels, users and User Groups.
-
getDescription
public String getDescription()
A short description of the User Group.
-
getChannels
public List<String> getChannels()
A comma separated string of encoded channel IDs for which the User Group uses as a default.
-
isIncludeCount
public boolean isIncludeCount()
Include the number of users in the User Group.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `usergroups:write`
-
setUsergroup
public void setUsergroup(String usergroup)
The encoded ID of the User Group to update.
-
setName
public void setName(String name)
A name for the User Group. Must be unique among User Groups.
-
setHandle
public void setHandle(String handle)
A mention handle. Must be unique among channels, users and User Groups.
-
setDescription
public void setDescription(String description)
A short description of the User Group.
-
setChannels
public void setChannels(List<String> channels)
A comma separated string of encoded channel IDs for which the User Group uses as a default.
-
setIncludeCount
public void setIncludeCount(boolean includeCount)
Include the number of users in the User Group.
-
canEqual
protected boolean canEqual(Object other)
-
-