Package com.slack.api.model
Class File.FileBuilder
java.lang.Object
com.slack.api.model.File.FileBuilder
- Enclosing class:
- File
-
Method Summary
Modifier and TypeMethodDescription_public(boolean _public) attachments(List<Attachment> attachments) Deprecated.blocks(List<LayoutBlock> blocks) Deprecated.Deprecated.build()canvasTemplateMode(String canvasTemplateMode) cc(List<File.Address> cc) channelActionsCount(Integer channelActionsCount) channelActionsTs(String channelActionsTs) channelSpace(boolean channelSpace) commentsCount(Integer commentsCount) Deprecated.convertedPdf(String convertedPdf) deanimateGif(String deanimateGif) displayAsBot(boolean displayAsBot) dmMpdmUsersWithFileAccess(List<File.UserWithFileAccess> dmMpdmUsersWithFileAccess) durationMs(Integer durationMs) editable(boolean editable) editTimestamp(Integer editTimestamp) external(boolean external) externalId(String externalId) externalType(String externalType) externalUrl(String externalUrl) favorites(List<File.Favorite> favorites) fileAccess(String fileAccess) from(List<File.Address> from) hasMore(boolean hasMore) hasMoreShares(Boolean hasMoreShares) hasRichPreview(boolean hasRichPreview) headers(File.Headers headers) imageExifRotation(Integer imageExifRotation) initialComment(FileComment initialComment) Deprecated.lastEditor(String lastEditor) linkedChannelId(String linkedChannelId) listLimits(ListLimits listLimits) listMetadata(ListMetadata listMetadata) mediaDisplayType(String mediaDisplayType) mediaProgress(File.MediaProgress mediaProgress) nonOwnerEditable(boolean nonOwnerEditable) Deprecated.orgOrWorkspaceAccess(String orgOrWorkspaceAccess) originalAttachmentCount(Integer originalAttachmentCount) originalHeight(String originalHeight) originalWidth(String originalWidth) permalinkPublic(String permalinkPublic) pinnedInfo(Map<String, File.PinnedInfo> pinnedInfo) Deprecated.prettyType(String prettyType) previewHighlight(String previewHighlight) previewPlainText(String previewPlainText) previewTruncated(boolean previewTruncated) privateChannelsWithFileAccessCount(Integer privateChannelsWithFileAccessCount) privateFileWithAccessCount(Integer privateFileWithAccessCount) publicUrlShared(boolean publicUrlShared) quipThreadId(String quipThreadId) Deprecated.saved(File.Saved saved) sentToSelf(boolean sentToSelf) shares(File.Shares shares) simplifiedHtml(String simplifiedHtml) sourceTeam(String sourceTeam) starred(boolean starred) Deprecated.teamPrefVersionHistoryEnabled(Boolean teamPrefVersionHistoryEnabled) teamsSharedWith(List<String> teamsSharedWith) templateConversionTs(Integer templateConversionTs) templateDescription(String templateDescription) templateIcon(String templateIcon) templateName(String templateName) templateTitle(String templateTitle) thumb1024Gif(String thumb1024Gif) thumb1024Height(String thumb1024Height) thumb1024Width(String thumb1024Width) thumb160Gif(String thumb160Gif) thumb160Height(String thumb160Height) thumb160Width(String thumb160Width) thumb360Gif(String thumb360Gif) thumb360Height(String thumb360Height) thumb360Width(String thumb360Width) thumb480Gif(String thumb480Gif) thumb480Height(String thumb480Height) thumb480Width(String thumb480Width) thumb64Gif(String thumb64Gif) thumb64Height(String thumb64Height) thumb64Width(String thumb64Width) thumb720Gif(String thumb720Gif) thumb720Height(String thumb720Height) thumb720Width(String thumb720Width) thumb800Gif(String thumb800Gif) thumb800Height(String thumb800Height) thumb800Width(String thumb800Width) thumb80Gif(String thumb80Gif) thumb80Height(String thumb80Height) thumb80Width(String thumb80Width) thumb960Gif(String thumb960Gif) thumb960Height(String thumb960Height) thumb960Width(String thumb960Width) thumbPdfHeight(String thumbPdfHeight) thumbPdfWidth(String thumbPdfWidth) thumbVideo(String thumbVideo) thumbVideoH(Integer thumbVideoH) thumbVideoW(Integer thumbVideoW) titleBlocks(List<LayoutBlock> titleBlocks) to(List<File.Address> to) toString()transcription(File.Transcription transcription) updateNotification(Integer updateNotification) urlPrivate(String urlPrivate) urlPrivateDownload(String urlPrivateDownload) urlStaticPreview(String urlStaticPreview)
-
Method Details
-
id
- Returns:
this.
-
created
- Returns:
this.
-
timestamp
- Returns:
this.
-
name
- Returns:
this.
-
title
- Returns:
this.
-
subject
- Returns:
this.
-
mimetype
- Returns:
this.
-
filetype
- Returns:
this.
-
prettyType
- Returns:
this.
-
user
- Returns:
this.
-
userTeam
- Returns:
this.
-
sourceTeam
- Returns:
this.
-
mode
- Returns:
this.
-
editable
- Returns:
this.
-
nonOwnerEditable
- Returns:
this.
-
editor
- Returns:
this.
-
lastEditor
- Returns:
this.
-
updated
- Returns:
this.
-
fileAccess
- Returns:
this.
-
editors
- Returns:
this.
-
editTimestamp
- Returns:
this.
-
altTxt
- Returns:
this.
-
subtype
- Returns:
this.
-
transcription
- Returns:
this.
-
mp4
- Returns:
this.
-
mp4Low
- Returns:
this.
-
vtt
- Returns:
this.
-
hls
- Returns:
this.
-
hlsEmbed
- Returns:
this.
-
durationMs
- Returns:
this.
-
thumbVideoW
- Returns:
this.
-
thumbVideoH
- Returns:
this.
-
originalAttachmentCount
- Returns:
this.
-
external
- Returns:
this.
-
externalType
- Returns:
this.
-
externalId
- Returns:
this.
-
externalUrl
- Returns:
this.
-
username
- Returns:
this.
-
size
- Returns:
this.
-
urlPrivate
- Returns:
this.
-
urlPrivateDownload
- Returns:
this.
-
urlStaticPreview
- Returns:
this.
-
appId
- Returns:
this.
-
appName
- Returns:
this.
-
thumb64
- Returns:
this.
-
thumb64Gif
- Returns:
this.
-
thumb64Width
- Returns:
this.
-
thumb64Height
- Returns:
this.
-
thumb80
- Returns:
this.
-
thumb80Gif
- Returns:
this.
-
thumb80Width
- Returns:
this.
-
thumb80Height
- Returns:
this.
-
thumb160
- Returns:
this.
-
thumb160Gif
- Returns:
this.
-
thumb160Width
- Returns:
this.
-
thumb160Height
- Returns:
this.
-
thumb360
- Returns:
this.
-
thumb360Gif
- Returns:
this.
-
thumb360Width
- Returns:
this.
-
thumb360Height
- Returns:
this.
-
thumb480
- Returns:
this.
-
thumb480Gif
- Returns:
this.
-
thumb480Width
- Returns:
this.
-
thumb480Height
- Returns:
this.
-
thumb720
- Returns:
this.
-
thumb720Gif
- Returns:
this.
-
thumb720Width
- Returns:
this.
-
thumb720Height
- Returns:
this.
-
thumb800
- Returns:
this.
-
thumb800Gif
- Returns:
this.
-
thumb800Width
- Returns:
this.
-
thumb800Height
- Returns:
this.
-
thumb960
- Returns:
this.
-
thumb960Gif
- Returns:
this.
-
thumb960Width
- Returns:
this.
-
thumb960Height
- Returns:
this.
-
thumb1024
- Returns:
this.
-
thumb1024Gif
- Returns:
this.
-
thumb1024Width
- Returns:
this.
-
thumb1024Height
- Returns:
this.
-
thumbVideo
- Returns:
this.
-
thumbGif
- Returns:
this.
-
thumbPdf
- Returns:
this.
-
thumbPdfWidth
- Returns:
this.
-
thumbPdfHeight
- Returns:
this.
-
thumbTiny
- Returns:
this.
-
convertedPdf
- Returns:
this.
-
imageExifRotation
- Returns:
this.
-
originalWidth
- Returns:
this.
-
originalHeight
- Returns:
this.
-
deanimate
- Returns:
this.
-
deanimateGif
- Returns:
this.
-
pjpeg
- Returns:
this.
-
permalink
- Returns:
this.
-
permalinkPublic
- Returns:
this.
-
editLink
- Returns:
this.
-
hasRichPreview
- Returns:
this.
-
mediaDisplayType
- Returns:
this.
-
previewTruncated
- Returns:
this.
-
preview
- Returns:
this.
-
previewHighlight
- Returns:
this.
-
plainText
- Returns:
this.
-
previewPlainText
- Returns:
this.
-
hasMore
- Returns:
this.
-
sentToSelf
- Returns:
this.
-
lines
- Returns:
this.
-
linesMore
- Returns:
this.
-
_public
- Returns:
this.
-
displayAsBot
- Returns:
this.
-
channels
- Returns:
this.
-
groups
- Returns:
this.
-
ims
- Returns:
this.
-
to
- Returns:
this.
-
from
- Returns:
this.
-
cc
- Returns:
this.
-
pinnedInfo
- Returns:
this.
-
channelActionsTs
- Returns:
this.
-
channelActionsCount
- Returns:
this.
-
headers
- Returns:
this.
-
simplifiedHtml
- Returns:
this.
-
mediaProgress
- Returns:
this.
-
saved
- Returns:
this.
-
quipThreadId
- Returns:
this.
-
channelSpace
- Returns:
this.
-
linkedChannelId
- Returns:
this.
-
access
- Returns:
this.
-
lastRead
- Returns:
this.
-
titleBlocks
- Returns:
this.
-
privateChannelsWithFileAccessCount
public File.FileBuilder privateChannelsWithFileAccessCount(Integer privateChannelsWithFileAccessCount) - Returns:
this.
-
privateFileWithAccessCount
- Returns:
this.
-
dmMpdmUsersWithFileAccess
public File.FileBuilder dmMpdmUsersWithFileAccess(List<File.UserWithFileAccess> dmMpdmUsersWithFileAccess) - Returns:
this.
-
orgOrWorkspaceAccess
- Returns:
this.
-
updateNotification
- Returns:
this.
-
canvasTemplateMode
- Returns:
this.
-
templateConversionTs
- Returns:
this.
-
templateName
- Returns:
this.
-
templateTitle
- Returns:
this.
-
templateDescription
- Returns:
this.
-
templateIcon
- Returns:
this.
-
teamPrefVersionHistoryEnabled
- Returns:
this.
-
showBadge
- Returns:
this.
-
favorites
- Returns:
this.
-
listMetadata
- Returns:
this.
-
listLimits
- Returns:
this.
-
botId
Deprecated.- Returns:
this.
-
initialComment
Deprecated.- Returns:
this.
-
numStars
Deprecated.- Returns:
this.
-
starred
Deprecated.- Returns:
this.
-
pinnedTo
Deprecated.- Returns:
this.
-
reactions
Deprecated.- Returns:
this.
-
commentsCount
Deprecated.- Returns:
this.
-
attachments
Deprecated.- Returns:
this.
-
blocks
Deprecated.- Returns:
this.
-
build
-
toString
-