Class FilesRemoteUpdateRequest
- java.lang.Object
-
- com.slack.api.methods.request.files.remote.FilesRemoteUpdateRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class FilesRemoteUpdateRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getExternalId()
Creator defined GUID for the file.String
getExternalUrl()
URL of the remote file.String
getFiletype()
type of filebyte[]
getIndexableFileContents()
File containing contents that can be used to improve searchability for the remote file.byte[]
getPreviewImage()
Preview of the document via multipart/form-data.String
getTitle()
Title of the file being shared.String
getToken()
Authentication token.int
hashCode()
void
setExternalId(String externalId)
Creator defined GUID for the file.void
setExternalUrl(String externalUrl)
URL of the remote file.void
setFiletype(String filetype)
type of filevoid
setIndexableFileContents(byte[] indexableFileContents)
File containing contents that can be used to improve searchability for the remote file.void
setPreviewImage(byte[] previewImage)
Preview of the document via multipart/form-data.void
setTitle(String title)
Title of the file being shared.void
setToken(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
builder
public static FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder 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.
-
getExternalUrl
public String getExternalUrl()
URL of the remote file.
-
getTitle
public String getTitle()
Title of the file being shared.
-
getFiletype
public String getFiletype()
type of file
-
getIndexableFileContents
public byte[] getIndexableFileContents()
File containing contents that can be used to improve searchability for the remote file.
-
getPreviewImage
public byte[] getPreviewImage()
Preview of the document via multipart/form-data.
-
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.
-
setExternalUrl
public void setExternalUrl(String externalUrl)
URL of the remote file.
-
setTitle
public void setTitle(String title)
Title of the file being shared.
-
setFiletype
public void setFiletype(String filetype)
type of file
-
setIndexableFileContents
public void setIndexableFileContents(byte[] indexableFileContents)
File containing contents that can be used to improve searchability for the remote file.
-
setPreviewImage
public void setPreviewImage(byte[] previewImage)
Preview of the document via multipart/form-data.
-
canEqual
protected boolean canEqual(Object other)
-
-