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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
builder
public static PinsRemoveRequest.PinsRemoveRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `pins:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
public String getChannel()
Channel where the item is pinned to.
-
getFile
public String getFile()
File to un-pin.
-
getFileComment
public String getFileComment()
File comment to un-pin.
-
getTimestamp
public String getTimestamp()
Timestamp of the message to un-pin.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `pins:write`
-
setChannel
public void setChannel(String channel)
Channel where the item is pinned to.
-
setFile
public void setFile(String file)
File to un-pin.
-
setFileComment
public void setFileComment(String fileComment)
File comment to un-pin.
-
setTimestamp
public void setTimestamp(String timestamp)
Timestamp of the message to un-pin.
-
canEqual
protected boolean canEqual(Object other)
-
-