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 class
ChannelsRenameRequest.ChannelsRenameRequestBuilder
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ChannelsRenameRequest.ChannelsRenameRequestBuilder
builder()
Deprecated.protected boolean
canEqual(Object other)
Deprecated.boolean
equals(Object o)
Deprecated.String
getChannel()
Deprecated.Channel to renameString
getName()
Deprecated.New name for channel.String
getToken()
Deprecated.Authentication token.int
hashCode()
Deprecated.boolean
isValidate()
Deprecated.Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.void
setChannel(String channel)
Deprecated.Channel to renamevoid
setName(String name)
Deprecated.New name for channel.void
setToken(String token)
Deprecated.Authentication token.void
setValidate(boolean validate)
Deprecated.Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.String
toString()
Deprecated.
-
-
-
Method Detail
-
builder
public static ChannelsRenameRequest.ChannelsRenameRequestBuilder builder()
Deprecated.
-
getToken
public String getToken()
Deprecated.Authentication token. Requires scope: `channels:write`- Specified by:
getToken
in 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.
-
-