Class ReactionsAddRequest
- java.lang.Object
-
- com.slack.api.methods.request.reactions.ReactionsAddRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class ReactionsAddRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReactionsAddRequest.ReactionsAddRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReactionsAddRequest.ReactionsAddRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannel()
Channel where the message to add reaction to was posted.String
getFile()
File to add reaction to.String
getFileComment()
File comment to add reaction to.String
getName()
Reaction (emoji) name.String
getTimestamp()
Timestamp of the message to add reaction to.String
getToken()
Authentication token.int
hashCode()
void
setChannel(String channel)
Channel where the message to add reaction to was posted.void
setFile(String file)
File to add reaction to.void
setFileComment(String fileComment)
File comment to add reaction to.void
setName(String name)
Reaction (emoji) name.void
setTimestamp(String timestamp)
Timestamp of the message to add reaction to.void
setToken(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
builder
public static ReactionsAddRequest.ReactionsAddRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `reactions:write`- Specified by:
getToken
in interfaceSlackApiRequest
-
getName
public String getName()
Reaction (emoji) name.
-
getFile
public String getFile()
File to add reaction to.
-
getFileComment
public String getFileComment()
File comment to add reaction to.
-
getChannel
public String getChannel()
Channel where the message to add reaction to was posted.
-
getTimestamp
public String getTimestamp()
Timestamp of the message to add reaction to.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `reactions:write`
-
setName
public void setName(String name)
Reaction (emoji) name.
-
setFile
public void setFile(String file)
File to add reaction to.
-
setFileComment
public void setFileComment(String fileComment)
File comment to add reaction to.
-
setChannel
public void setChannel(String channel)
Channel where the message to add reaction to was posted.
-
setTimestamp
public void setTimestamp(String timestamp)
Timestamp of the message to add reaction to.
-
canEqual
protected boolean canEqual(Object other)
-
-