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 class
StarsRemoveRequest.StarsRemoveRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StarsRemoveRequest.StarsRemoveRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannel()
Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`).String
getFile()
File to remove star from.String
getFileComment()
File comment to remove star from.String
getTimestamp()
Timestamp of the message to remove star from.String
getToken()
Authentication token.int
hashCode()
void
setChannel(String channel)
Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`).void
setFile(String file)
File to remove star from.void
setFileComment(String fileComment)
File comment to remove star from.void
setTimestamp(String timestamp)
Timestamp of the message to remove star from.void
setToken(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
builder
public static StarsRemoveRequest.StarsRemoveRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `stars:write`- Specified by:
getToken
in 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)
-
-