Class PinsRemoveRequest
java.lang.Object
com.slack.api.methods.request.pins.PinsRemoveRequest
- All Implemented Interfaces:
SlackApiRequest
public class PinsRemoveRequest extends Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PinsRemoveRequest.PinsRemoveRequestBuilder
-
Method Summary
Modifier and Type Method Description static PinsRemoveRequest.PinsRemoveRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannel()
Channel where the item is pinned to.String
getFile()
File to un-pin.String
getFileComment()
File comment to un-pin.String
getTimestamp()
Timestamp of the message to un-pin.String
getToken()
Authentication token.int
hashCode()
void
setChannel(String channel)
Channel where the item is pinned to.void
setFile(String file)
File to un-pin.void
setFileComment(String fileComment)
File comment to un-pin.void
setTimestamp(String timestamp)
Timestamp of the message to un-pin.void
setToken(String token)
Authentication token.String
toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `pins:write`- Specified by:
getToken
in interfaceSlackApiRequest
-
getChannel
Channel where the item is pinned to. -
getFile
File to un-pin. -
getFileComment
File comment to un-pin. -
getTimestamp
Timestamp of the message to un-pin. -
setToken
Authentication token. Requires scope: `pins:write` -
setChannel
Channel where the item is pinned to. -
setFile
File to un-pin. -
setFileComment
File comment to un-pin. -
setTimestamp
Timestamp of the message to un-pin. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-