Class ReactionsAddRequest
java.lang.Object
com.slack.api.methods.request.reactions.ReactionsAddRequest
- All Implemented Interfaces:
SlackApiRequest
public class ReactionsAddRequest extends java.lang.Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReactionsAddRequest.ReactionsAddRequestBuilder -
Method Summary
Modifier and Type Method Description static ReactionsAddRequest.ReactionsAddRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannel()Channel where the message to add reaction to was posted.java.lang.StringgetFile()Deprecated.java.lang.StringgetFileComment()Deprecated.java.lang.StringgetName()Reaction (emoji) name.java.lang.StringgetTimestamp()Timestamp of the message to add reaction to.java.lang.StringgetToken()Authentication token.inthashCode()voidsetChannel(java.lang.String channel)Channel where the message to add reaction to was posted.voidsetFile(java.lang.String file)Deprecated.voidsetFileComment(java.lang.String fileComment)Deprecated.voidsetName(java.lang.String name)Reaction (emoji) name.voidsetTimestamp(java.lang.String timestamp)Timestamp of the message to add reaction to.voidsetToken(java.lang.String token)Authentication token.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `reactions:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getName
public java.lang.String getName()Reaction (emoji) name. -
getFile
@Deprecated public java.lang.String getFile()Deprecated.File to add reaction to. -
getFileComment
@Deprecated public java.lang.String getFileComment()Deprecated.File comment to add reaction to. -
getChannel
public java.lang.String getChannel()Channel where the message to add reaction to was posted. -
getTimestamp
public java.lang.String getTimestamp()Timestamp of the message to add reaction to. -
setToken
public void setToken(java.lang.String token)Authentication token. Requires scope: `reactions:write` -
setName
public void setName(java.lang.String name)Reaction (emoji) name. -
setFile
@Deprecated public void setFile(java.lang.String file)Deprecated.File to add reaction to. -
setFileComment
@Deprecated public void setFileComment(java.lang.String fileComment)Deprecated.File comment to add reaction to. -
setChannel
public void setChannel(java.lang.String channel)Channel where the message to add reaction to was posted. -
setTimestamp
public void setTimestamp(java.lang.String timestamp)Timestamp of the message to add reaction to. -
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
-