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