Class AdminEmojiAddAliasRequest
java.lang.Object
com.slack.api.methods.request.admin.emoji.AdminEmojiAddAliasRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminEmojiAddAliasRequest extends java.lang.Object implements SlackApiRequest
https://api.slack.com/methods/admin.emoji.adddAlias
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminEmojiAddAliasRequest.AdminEmojiAddAliasRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminEmojiAddAliasRequest.AdminEmojiAddAliasRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetAliasFor()The alias of the emoji.java.lang.StringgetName()The name of the emoji to be aliased.java.lang.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetAliasFor(java.lang.String aliasFor)The alias of the emoji.voidsetName(java.lang.String name)The name of the emoji to be aliased.voidsetToken(java.lang.String token)Authentication token bearing required scopes.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getAliasFor
public java.lang.String getAliasFor()The alias of the emoji. -
getName
public java.lang.String getName()The name of the emoji to be aliased. Colons (:myemoji:) around the value are not required, although they may be included. -
setToken
public void setToken(java.lang.String token)Authentication token bearing required scopes. -
setAliasFor
public void setAliasFor(java.lang.String aliasFor)The alias of the emoji. -
setName
public void setName(java.lang.String name)The name of the emoji to be aliased. Colons (:myemoji:) around the value are not required, although they may be included. -
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
-