Class ChannelsRenameRequest
- java.lang.Object
-
- com.slack.api.methods.request.channels.ChannelsRenameRequest
-
- All Implemented Interfaces:
SlackApiRequest
@Deprecated public class ChannelsRenameRequest extends Object implements SlackApiRequest
Deprecated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChannelsRenameRequest.ChannelsRenameRequestBuilderDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ChannelsRenameRequest.ChannelsRenameRequestBuilderbuilder()Deprecated.protected booleancanEqual(Object other)Deprecated.booleanequals(Object o)Deprecated.StringgetChannel()Deprecated.Channel to renameStringgetName()Deprecated.New name for 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.Channel to renamevoidsetName(String name)Deprecated.New name for 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 ChannelsRenameRequest.ChannelsRenameRequestBuilder builder()
Deprecated.
-
getToken
public String getToken()
Deprecated.Authentication token. Requires scope: `channels:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
public String getChannel()
Deprecated.Channel to rename
-
getName
public String getName()
Deprecated.New name for 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: `channels:write`
-
setChannel
public void setChannel(String channel)
Deprecated.Channel to rename
-
setName
public void setName(String name)
Deprecated.New name for 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.
-
-