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 class
PinsAddRequest.PinsAddRequestBuilder
-
Method Summary
Modifier and Type Method Description static PinsAddRequest.PinsAddRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannel()
Channel to pin the item in.String
getFile()
Deprecated.String
getFileComment()
Deprecated.String
getTimestamp()
Timestamp of the message to pin.String
getToken()
Authentication token.int
hashCode()
void
setChannel(String channel)
Channel to pin the item in.void
setFile(String file)
Deprecated.void
setFileComment(String fileComment)
Deprecated.void
setTimestamp(String timestamp)
Timestamp of the message to 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 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
-