Class GroupsRenameRequest
- java.lang.Object
-
- com.slack.api.methods.request.groups.GroupsRenameRequest
-
- All Implemented Interfaces:
SlackApiRequest
@Deprecated public class GroupsRenameRequest extends Object implements SlackApiRequest
Deprecated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupsRenameRequest.GroupsRenameRequestBuilderDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GroupsRenameRequest.GroupsRenameRequestBuilderbuilder()Deprecated.protected booleancanEqual(Object other)Deprecated.booleanequals(Object o)Deprecated.StringgetChannel()Deprecated.Private channel to renameStringgetName()Deprecated.New name for private channel.StringgetToken()Deprecated.Authentication token.inthashCode()Deprecated.booleanisValidate()Deprecated.Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.voidsetChannel(String channel)Deprecated.Private channel to renamevoidsetName(String name)Deprecated.New name for private channel.voidsetToken(String token)Deprecated.Authentication token.voidsetValidate(boolean validate)Deprecated.Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.StringtoString()Deprecated.
-
-
-
Method Detail
-
builder
public static GroupsRenameRequest.GroupsRenameRequestBuilder builder()
Deprecated.
-
getToken
public String getToken()
Deprecated.Authentication token. Requires scope: `groups:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
public String getChannel()
Deprecated.Private channel to rename
-
getName
public String getName()
Deprecated.New name for private channel.
-
isValidate
public boolean isValidate()
Deprecated.Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.
-
setToken
public void setToken(String token)
Deprecated.Authentication token. Requires scope: `groups:write`
-
setChannel
public void setChannel(String channel)
Deprecated.Private channel to rename
-
setName
public void setName(String name)
Deprecated.New name for private channel.
-
setValidate
public void setValidate(boolean validate)
Deprecated.Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.
-
canEqual
protected boolean canEqual(Object other)
Deprecated.
-
-