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