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 class
AdminEmojiAddRequest.AdminEmojiAddRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminEmojiAddRequest.AdminEmojiAddRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getName()
The name of the emoji to be removed.String
getToken()
Authentication token bearing required scopes.String
getUrl()
The URL of a file to use as an image for the emoji.int
hashCode()
void
setName(String name)
The name of the emoji to be removed.void
setToken(String token)
Authentication token bearing required scopes.void
setUrl(String url)
The URL of a file to use as an image for the emoji.String
toString()
-
-
-
Method Detail
-
builder
public static AdminEmojiAddRequest.AdminEmojiAddRequestBuilder 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 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.- Specified by:
setToken
in interfaceSlackApiRequest
-
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)
-
-