Class PinsAddRequest
java.lang.Object
com.slack.api.methods.request.pins.PinsAddRequest
- All Implemented Interfaces:
SlackApiRequest
public class PinsAddRequest extends Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPinsAddRequest.PinsAddRequestBuilder -
Method Summary
Modifier and Type Method Description static PinsAddRequest.PinsAddRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()Channel to pin the item in.StringgetFile()Deprecated.StringgetFileComment()Deprecated.StringgetTimestamp()Timestamp of the message to pin.StringgetToken()Authentication token.inthashCode()voidsetChannel(String channel)Channel to pin the item in.voidsetFile(String file)Deprecated.voidsetFileComment(String fileComment)Deprecated.voidsetTimestamp(String timestamp)Timestamp of the message to pin.voidsetToken(String token)Authentication token.StringtoString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `pins:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
Channel to pin the item in. -
getFile
Deprecated.File to pin. -
getFileComment
Deprecated.File comment to pin. -
getTimestamp
Timestamp of the message to pin. -
setToken
Authentication token. Requires scope: `pins:write` -
setChannel
Channel to pin the item in. -
setFile
Deprecated.File to pin. -
setFileComment
Deprecated.File comment to pin. -
setTimestamp
Timestamp of the message to pin. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-