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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
builder
public static FilesRemoteShareRequest.FilesRemoteShareRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `remote_files:write`- Specified by:
getToken
in 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)
-
-