Class FilesCompleteUploadExternalRequest
- java.lang.Object
-
- com.slack.api.methods.request.files.FilesCompleteUploadExternalRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class FilesCompleteUploadExternalRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/files.completeUploadExternal
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilesCompleteUploadExternalRequest.FileDetailsstatic classFilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannelId()Channel ID where the file will be shared.List<FilesCompleteUploadExternalRequest.FileDetails>getFiles()Array of file ids and their corresponding (optional) titles.StringgetInitialComment()The message text introducing the file in specified channels.StringgetThreadTs()Provide another message's ts value to upload this file as a reply.StringgetToken()Authentication token.inthashCode()voidsetChannelId(String channelId)Channel ID where the file will be shared.voidsetFiles(List<FilesCompleteUploadExternalRequest.FileDetails> files)Array of file ids and their corresponding (optional) titles.voidsetInitialComment(String initialComment)The message text introducing the file in specified channels.voidsetThreadTs(String threadTs)Provide another message's ts value to upload this file as a reply.voidsetToken(String token)Authentication token.StringtoString()
-
-
-
Method Detail
-
builder
public static FilesCompleteUploadExternalRequest.FilesCompleteUploadExternalRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `files:write`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getFiles
public List<FilesCompleteUploadExternalRequest.FileDetails> getFiles()
Array of file ids and their corresponding (optional) titles.
-
getChannelId
public String getChannelId()
Channel ID where the file will be shared. If not specified the file will be private.
-
getInitialComment
public String getInitialComment()
The message text introducing the file in specified channels.
-
getThreadTs
public String getThreadTs()
Provide another message's ts value to upload this file as a reply. Never use a reply's ts value; use its parent instead.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `files:write`- Specified by:
setTokenin interfaceSlackApiRequest
-
setFiles
public void setFiles(List<FilesCompleteUploadExternalRequest.FileDetails> files)
Array of file ids and their corresponding (optional) titles.
-
setChannelId
public void setChannelId(String channelId)
Channel ID where the file will be shared. If not specified the file will be private.
-
setInitialComment
public void setInitialComment(String initialComment)
The message text introducing the file in specified channels.
-
setThreadTs
public void setThreadTs(String threadTs)
Provide another message's ts value to upload this file as a reply. Never use a reply's ts value; use its parent instead.
-
canEqual
protected boolean canEqual(Object other)
-
-