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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
builder
public static FilesRemoteShareRequest.FilesRemoteShareRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `remote_files:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getExternalId
public String getExternalId()
Creator defined GUID for the file.
-
getFile
public String getFile()
Specify a file by providing its ID.
-
getChannels
public List<String> getChannels()
Comma-separated list of channel IDs where the file will be shared.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `remote_files:write`
-
setExternalId
public void setExternalId(String externalId)
Creator defined GUID for the file.
-
setFile
public void setFile(String file)
Specify a file by providing its ID.
-
setChannels
public void setChannels(List<String> channels)
Comma-separated list of channel IDs where the file will be shared.
-
canEqual
protected boolean canEqual(Object other)
-
-