Class PinsRemoveRequest
java.lang.Object
com.slack.api.methods.request.pins.PinsRemoveRequest
- All Implemented Interfaces:
SlackApiRequest
public class PinsRemoveRequest extends java.lang.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(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannel()Channel where the item is pinned to.java.lang.StringgetFile()Deprecated.java.lang.StringgetFileComment()Deprecated.java.lang.StringgetTimestamp()Timestamp of the message to un-pin.java.lang.StringgetToken()Authentication token.inthashCode()voidsetChannel(java.lang.String channel)Channel where the item is pinned to.voidsetFile(java.lang.String file)Deprecated.voidsetFileComment(java.lang.String fileComment)Deprecated.voidsetTimestamp(java.lang.String timestamp)Timestamp of the message to un-pin.voidsetToken(java.lang.String token)Authentication token.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `pins:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
public java.lang.String getChannel()Channel where the item is pinned to. -
getFile
@Deprecated public java.lang.String getFile()Deprecated.File to un-pin. -
getFileComment
@Deprecated public java.lang.String getFileComment()Deprecated.File comment to un-pin. -
getTimestamp
public java.lang.String getTimestamp()Timestamp of the message to un-pin. -
setToken
public void setToken(java.lang.String token)Authentication token. Requires scope: `pins:write` -
setChannel
public void setChannel(java.lang.String channel)Channel where the item is pinned to. -
setFile
@Deprecated public void setFile(java.lang.String file)Deprecated.File to un-pin. -
setFileComment
@Deprecated public void setFileComment(java.lang.String fileComment)Deprecated.File comment to un-pin. -
setTimestamp
public void setTimestamp(java.lang.String timestamp)Timestamp of the message to un-pin. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-