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 class
FilesRemoteShareRequest.FilesRemoteShareRequestBuilder
-
Method Summary
Modifier and Type Method Description static FilesRemoteShareRequest.FilesRemoteShareRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<String>
getChannels()
Comma-separated list of channel IDs where the file will be shared.String
getExternalId()
Creator defined GUID for the file.String
getFile()
Specify a file by providing its ID.String
getToken()
Authentication token.int
hashCode()
void
setChannels(List<String> channels)
Comma-separated list of channel IDs where the file will be shared.void
setExternalId(String externalId)
Creator defined GUID for the file.void
setFile(String file)
Specify a file by providing its ID.void
setToken(String token)
Authentication token.String
toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `remote_files:write`- Specified by:
getToken
in 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
-