Class FilesRemoteShareRequest
java.lang.Object
com.slack.api.methods.request.files.remote.FilesRemoteShareRequest
- All Implemented Interfaces:
SlackApiRequest
public class FilesRemoteShareRequest extends java.lang.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(java.lang.Object other)booleanequals(java.lang.Object o)java.util.List<java.lang.String>getChannels()Comma-separated list of channel IDs where the file will be shared.java.lang.StringgetExternalId()Creator defined GUID for the file.java.lang.StringgetFile()Specify a file by providing its ID.java.lang.StringgetToken()Authentication token.inthashCode()voidsetChannels(java.util.List<java.lang.String> channels)Comma-separated list of channel IDs where the file will be shared.voidsetExternalId(java.lang.String externalId)Creator defined GUID for the file.voidsetFile(java.lang.String file)Specify a file by providing its ID.voidsetToken(java.lang.String token)Authentication token.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `remote_files:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getExternalId
public java.lang.String getExternalId()Creator defined GUID for the file. -
getFile
public java.lang.String getFile()Specify a file by providing its ID. -
getChannels
public java.util.List<java.lang.String> getChannels()Comma-separated list of channel IDs where the file will be shared. -
setToken
public void setToken(java.lang.String token)Authentication token. Requires scope: `remote_files:write` -
setExternalId
public void setExternalId(java.lang.String externalId)Creator defined GUID for the file. -
setFile
public void setFile(java.lang.String file)Specify a file by providing its ID. -
setChannels
public void setChannels(java.util.List<java.lang.String> channels)Comma-separated list of channel IDs where the file will be shared. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-