Class AdminEmojiAddRequest
java.lang.Object
com.slack.api.methods.request.admin.emoji.AdminEmojiAddRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminEmojiAddRequest extends java.lang.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
Modifier and Type Method Description static AdminEmojiAddRequest.AdminEmojiAddRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetName()The name of the emoji to be removed.java.lang.StringgetToken()Authentication token bearing required scopes.java.lang.StringgetUrl()The URL of a file to use as an image for the emoji.inthashCode()voidsetName(java.lang.String name)The name of the emoji to be removed.voidsetToken(java.lang.String token)Authentication token bearing required scopes.voidsetUrl(java.lang.String url)The URL of a file to use as an image for the emoji.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getName
public java.lang.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 java.lang.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(java.lang.String token)Authentication token bearing required scopes. -
setName
public void setName(java.lang.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(java.lang.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. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-