Class AdminEmojiRenameRequest
- java.lang.Object
-
- com.slack.api.methods.request.admin.emoji.AdminEmojiRenameRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AdminEmojiRenameRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.emoji.rename
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminEmojiRenameRequest.AdminEmojiRenameRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminEmojiRenameRequest.AdminEmojiRenameRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getName()
The name of the emoji to be renamed.String
getNewName()
The new name of the emoji.String
getToken()
Authentication token bearing required scopes.int
hashCode()
void
setName(String name)
The name of the emoji to be renamed.void
setNewName(String newName)
The new name of the emoji.void
setToken(String token)
Authentication token bearing required scopes.String
toString()
-
-
-
Method Detail
-
builder
public static AdminEmojiRenameRequest.AdminEmojiRenameRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getName
public String getName()
The name of the emoji to be renamed. Colons (:myemoji:) around the value are not required, although they may be included.
-
getNewName
public String getNewName()
The new name of the emoji.
-
setToken
public void setToken(String token)
Authentication token bearing required scopes.- Specified by:
setToken
in interfaceSlackApiRequest
-
setName
public void setName(String name)
The name of the emoji to be renamed. Colons (:myemoji:) around the value are not required, although they may be included.
-
setNewName
public void setNewName(String newName)
The new name of the emoji.
-
canEqual
protected boolean canEqual(Object other)
-
-