Class StarsRemoveRequest
- java.lang.Object
-
- com.slack.api.methods.request.stars.StarsRemoveRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class StarsRemoveRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStarsRemoveRequest.StarsRemoveRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StarsRemoveRequest.StarsRemoveRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`).StringgetFile()File to remove star from.StringgetFileComment()File comment to remove star from.StringgetTimestamp()Timestamp of the message to remove star from.StringgetToken()Authentication token.inthashCode()voidsetChannel(String channel)Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`).voidsetFile(String file)File to remove star from.voidsetFileComment(String fileComment)File comment to remove star from.voidsetTimestamp(String timestamp)Timestamp of the message to remove star from.voidsetToken(String token)Authentication token.StringtoString()
-
-
-
Method Detail
-
builder
public static StarsRemoveRequest.StarsRemoveRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `stars:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getFile
public String getFile()
File to remove star from.
-
getFileComment
public String getFileComment()
File comment to remove star from.
-
getChannel
public String getChannel()
Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`).
-
getTimestamp
public String getTimestamp()
Timestamp of the message to remove star from.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `stars:write`
-
setFile
public void setFile(String file)
File to remove star from.
-
setFileComment
public void setFileComment(String fileComment)
File comment to remove star from.
-
setChannel
public void setChannel(String channel)
Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`).
-
setTimestamp
public void setTimestamp(String timestamp)
Timestamp of the message to remove star from.
-
canEqual
protected boolean canEqual(Object other)
-
-