Class AdminEmojiAddRequest
- java.lang.Object
-
- com.slack.api.methods.request.admin.emoji.AdminEmojiAddRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AdminEmojiAddRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.emoji.add
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminEmojiAddRequest.AdminEmojiAddRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminEmojiAddRequest.AdminEmojiAddRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetName()The name of the emoji to be removed.StringgetToken()Authentication token bearing required scopes.StringgetUrl()The URL of a file to use as an image for the emoji.inthashCode()voidsetName(String name)The name of the emoji to be removed.voidsetToken(String token)Authentication token bearing required scopes.voidsetUrl(String url)The URL of a file to use as an image for the emoji.StringtoString()
-
-
-
Method Detail
-
builder
public static AdminEmojiAddRequest.AdminEmojiAddRequestBuilder 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 removed. Colons (:myemoji:) around the value are not required, although they may be included.
-
getUrl
public String getUrl()
The URL of a file to use as an image for the emoji. Square images under 128KB and with transparent backgrounds work best.
-
setToken
public void setToken(String token)
Authentication token bearing required scopes.
-
setName
public void setName(String name)
The name of the emoji to be removed. Colons (:myemoji:) around the value are not required, although they may be included.
-
setUrl
public void setUrl(String url)
The URL of a file to use as an image for the emoji. Square images under 128KB and with transparent backgrounds work best.
-
canEqual
protected boolean canEqual(Object other)
-
-