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 classPinsRemoveRequest.PinsRemoveRequestBuilder -
Method Summary
Modifier and Type Method Description static PinsRemoveRequest.PinsRemoveRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()Channel where the item is pinned to.StringgetFile()File to un-pin.StringgetFileComment()File comment to un-pin.StringgetTimestamp()Timestamp of the message to un-pin.StringgetToken()Authentication token.inthashCode()voidsetChannel(String channel)Channel where the item is pinned to.voidsetFile(String file)File to un-pin.voidsetFileComment(String fileComment)File comment to un-pin.voidsetTimestamp(String timestamp)Timestamp of the message to un-pin.voidsetToken(String token)Authentication token.StringtoString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `pins:write`- Specified by:
getTokenin 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
-