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 classAdminEmojiRenameRequest.AdminEmojiRenameRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminEmojiRenameRequest.AdminEmojiRenameRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetName()The name of the emoji to be renamed.StringgetNewName()The new name of the emoji.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetName(String name)The name of the emoji to be renamed.voidsetNewName(String newName)The new name of the emoji.voidsetToken(String token)Authentication token bearing required scopes.StringtoString()
-
-
-
Method Detail
-
builder
public static AdminEmojiRenameRequest.AdminEmojiRenameRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
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.
-
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)
-
-