Class FilesRemoteShareRequest
java.lang.Object
com.slack.api.methods.request.files.remote.FilesRemoteShareRequest
- All Implemented Interfaces:
SlackApiRequest
public class FilesRemoteShareRequest extends Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilesRemoteShareRequest.FilesRemoteShareRequestBuilder -
Method Summary
Modifier and Type Method Description static FilesRemoteShareRequest.FilesRemoteShareRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)List<String>getChannels()Comma-separated list of channel IDs where the file will be shared.StringgetExternalId()Creator defined GUID for the file.StringgetFile()Specify a file by providing its ID.StringgetToken()Authentication token.inthashCode()voidsetChannels(List<String> channels)Comma-separated list of channel IDs where the file will be shared.voidsetExternalId(String externalId)Creator defined GUID for the file.voidsetFile(String file)Specify a file by providing its ID.voidsetToken(String token)Authentication token.StringtoString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `remote_files:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getExternalId
Creator defined GUID for the file. -
getFile
Specify a file by providing its ID. -
getChannels
Comma-separated list of channel IDs where the file will be shared. -
setToken
Authentication token. Requires scope: `remote_files:write` -
setExternalId
Creator defined GUID for the file. -
setFile
Specify a file by providing its ID. -
setChannels
Comma-separated list of channel IDs where the file will be shared. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-