Class FilesRemoteUpdateRequest
java.lang.Object
com.slack.api.methods.request.files.remote.FilesRemoteUpdateRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/files.remote.update
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanCreator defined GUID for the file.URL of the remote file.type of filebyte[]File containing contents that can be used to improve searchability for the remote file.byte[]Preview of the document via multipart/form-data.getTitle()Title of the file being shared.getToken()Authentication token.inthashCode()voidsetExternalId(String externalId) Creator defined GUID for the file.voidsetExternalUrl(String externalUrl) URL of the remote file.voidsetFiletype(String filetype) type of filevoidsetIndexableFileContents(byte[] indexableFileContents) File containing contents that can be used to improve searchability for the remote file.voidsetPreviewImage(byte[] previewImage) Preview of the document via multipart/form-data.voidTitle of the file being shared.voidAuthentication token.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `remote_files:write`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getExternalId
Creator defined GUID for the file. -
getExternalUrl
URL of the remote file. -
getTitle
Title of the file being shared. -
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
Authentication token. Requires scope: `remote_files:write`- Specified by:
setTokenin interfaceSlackApiRequest
-
setExternalId
Creator defined GUID for the file. -
setExternalUrl
URL of the remote file. -
setTitle
Title of the file being shared. -
setFiletype
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. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-