Package com.slack.api.model
Class File
java.lang.Object
com.slack.api.model.File
public class File extends Object
https://api.slack.com/types/file
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFile.Addressstatic classFile.FileBuilderstatic classFile.PinnedInfostatic classFile.ShareDetailstatic classFile.Shares -
Constructor Summary
Constructors Constructor Description File()File(String id, Integer created, Integer timestamp, String name, String title, String subject, String mimetype, String filetype, String prettyType, String user, String mode, boolean editable, boolean nonOwnerEditable, String editor, String lastEditor, Integer updated, boolean external, String externalType, String externalId, String externalUrl, String username, Integer size, String urlPrivate, String urlPrivateDownload, String appId, String appName, String thumb64, String thumb64Gif, String thumb64Width, String thumb64Height, String thumb80, String thumb80Gif, String thumb80Width, String thumb80Height, String thumb160, String thumb160Gif, String thumb160Width, String thumb160Height, String thumb360, String thumb360Gif, String thumb360Width, String thumb360Height, String thumb480, String thumb480Gif, String thumb480Width, String thumb480Height, String thumb720, String thumb720Gif, String thumb720Width, String thumb720Height, String thumb800, String thumb800Gif, String thumb800Width, String thumb800Height, String thumb960, String thumb960Gif, String thumb960Width, String thumb960Height, String thumb1024, String thumb1024Gif, String thumb1024Width, String thumb1024Height, String thumbVideo, String thumbPdf, String thumbPdfWidth, String thumbPdfHeight, String thumbTiny, String convertedPdf, Integer imageExifRotation, String originalWidth, String originalHeight, String deanimateGif, String pjpeg, String permalink, String permalinkPublic, String editLink, boolean hasRichPreview, String mediaDisplayType, boolean previewTruncated, String preview, String previewHighlight, String plainText, String previewPlainText, boolean hasMore, boolean sentToSelf, Integer lines, Integer linesMore, boolean _public, boolean publicUrlShared, boolean displayAsBot, List<String> channels, List<String> groups, List<String> ims, File.Shares shares, List<File.Address> to, List<File.Address> from, List<File.Address> cc, Map<String,File.PinnedInfo> pinnedInfo, String channelActionsTs, Integer channelActionsCount, String botId, FileComment initialComment, Integer numStars, boolean starred, List<String> pinnedTo, List<Reaction> reactions, Integer commentsCount, List<Attachment> attachments, List<LayoutBlock> blocks) -
Method Summary
-
Constructor Details
-
File
public File(String id, Integer created, Integer timestamp, String name, String title, String subject, String mimetype, String filetype, String prettyType, String user, String mode, boolean editable, boolean nonOwnerEditable, String editor, String lastEditor, Integer updated, boolean external, String externalType, String externalId, String externalUrl, String username, Integer size, String urlPrivate, String urlPrivateDownload, String appId, String appName, String thumb64, String thumb64Gif, String thumb64Width, String thumb64Height, String thumb80, String thumb80Gif, String thumb80Width, String thumb80Height, String thumb160, String thumb160Gif, String thumb160Width, String thumb160Height, String thumb360, String thumb360Gif, String thumb360Width, String thumb360Height, String thumb480, String thumb480Gif, String thumb480Width, String thumb480Height, String thumb720, String thumb720Gif, String thumb720Width, String thumb720Height, String thumb800, String thumb800Gif, String thumb800Width, String thumb800Height, String thumb960, String thumb960Gif, String thumb960Width, String thumb960Height, String thumb1024, String thumb1024Gif, String thumb1024Width, String thumb1024Height, String thumbVideo, String thumbPdf, String thumbPdfWidth, String thumbPdfHeight, String thumbTiny, String convertedPdf, Integer imageExifRotation, String originalWidth, String originalHeight, String deanimateGif, String pjpeg, String permalink, String permalinkPublic, String editLink, boolean hasRichPreview, String mediaDisplayType, boolean previewTruncated, String preview, String previewHighlight, String plainText, String previewPlainText, boolean hasMore, boolean sentToSelf, Integer lines, Integer linesMore, boolean _public, boolean publicUrlShared, boolean displayAsBot, List<String> channels, List<String> groups, List<String> ims, File.Shares shares, List<File.Address> to, List<File.Address> from, List<File.Address> cc, Map<String,File.PinnedInfo> pinnedInfo, String channelActionsTs, Integer channelActionsCount, String botId, FileComment initialComment, Integer numStars, boolean starred, List<String> pinnedTo, List<Reaction> reactions, Integer commentsCount, List<Attachment> attachments, List<LayoutBlock> blocks) -
File
public File()
-
-
Method Details
-
isPublic
public boolean isPublic() -
setPublic
public void setPublic(boolean isPublic) -
builder
-
getId
-
getCreated
-
getTimestamp
-
getName
-
getTitle
-
getSubject
-
getMimetype
-
getFiletype
-
getPrettyType
-
getUser
-
getMode
-
isEditable
public boolean isEditable() -
isNonOwnerEditable
public boolean isNonOwnerEditable() -
getEditor
-
getLastEditor
-
getUpdated
-
isExternal
public boolean isExternal() -
getExternalType
-
getExternalId
-
getExternalUrl
-
getUsername
-
getSize
-
getUrlPrivate
-
getUrlPrivateDownload
-
getAppId
-
getAppName
-
getThumb64
-
getThumb64Gif
-
getThumb64Width
-
getThumb64Height
-
getThumb80
-
getThumb80Gif
-
getThumb80Width
-
getThumb80Height
-
getThumb160
-
getThumb160Gif
-
getThumb160Width
-
getThumb160Height
-
getThumb360
-
getThumb360Gif
-
getThumb360Width
-
getThumb360Height
-
getThumb480
-
getThumb480Gif
-
getThumb480Width
-
getThumb480Height
-
getThumb720
-
getThumb720Gif
-
getThumb720Width
-
getThumb720Height
-
getThumb800
-
getThumb800Gif
-
getThumb800Width
-
getThumb800Height
-
getThumb960
-
getThumb960Gif
-
getThumb960Width
-
getThumb960Height
-
getThumb1024
-
getThumb1024Gif
-
getThumb1024Width
-
getThumb1024Height
-
getThumbVideo
-
getThumbPdf
-
getThumbPdfWidth
-
getThumbPdfHeight
-
getThumbTiny
-
getConvertedPdf
-
getImageExifRotation
-
getOriginalWidth
-
getOriginalHeight
-
getDeanimateGif
-
getPjpeg
-
getPermalink
-
getPermalinkPublic
-
getEditLink
-
isHasRichPreview
public boolean isHasRichPreview() -
getMediaDisplayType
-
isPreviewTruncated
public boolean isPreviewTruncated() -
getPreview
-
getPreviewHighlight
-
getPlainText
-
getPreviewPlainText
-
isHasMore
public boolean isHasMore() -
isSentToSelf
public boolean isSentToSelf() -
getLines
-
getLinesMore
-
isPublicUrlShared
public boolean isPublicUrlShared() -
isDisplayAsBot
public boolean isDisplayAsBot() -
getChannels
-
getGroups
-
getIms
-
getShares
-
getTo
-
getFrom
-
getCc
-
getPinnedInfo
-
getChannelActionsTs
-
getChannelActionsCount
-
getBotId
Deprecated. -
getInitialComment
Deprecated. -
getNumStars
Deprecated. -
isStarred
Deprecated. -
getPinnedTo
Deprecated. -
getReactions
Deprecated. -
getCommentsCount
Deprecated. -
getAttachments
Deprecated. -
getBlocks
Deprecated. -
setId
-
setCreated
-
setTimestamp
-
setName
-
setTitle
-
setSubject
-
setMimetype
-
setFiletype
-
setPrettyType
-
setUser
-
setMode
-
setEditable
public void setEditable(boolean editable) -
setNonOwnerEditable
public void setNonOwnerEditable(boolean nonOwnerEditable) -
setEditor
-
setLastEditor
-
setUpdated
-
setExternal
public void setExternal(boolean external) -
setExternalType
-
setExternalId
-
setExternalUrl
-
setUsername
-
setSize
-
setUrlPrivate
-
setUrlPrivateDownload
-
setAppId
-
setAppName
-
setThumb64
-
setThumb64Gif
-
setThumb64Width
-
setThumb64Height
-
setThumb80
-
setThumb80Gif
-
setThumb80Width
-
setThumb80Height
-
setThumb160
-
setThumb160Gif
-
setThumb160Width
-
setThumb160Height
-
setThumb360
-
setThumb360Gif
-
setThumb360Width
-
setThumb360Height
-
setThumb480
-
setThumb480Gif
-
setThumb480Width
-
setThumb480Height
-
setThumb720
-
setThumb720Gif
-
setThumb720Width
-
setThumb720Height
-
setThumb800
-
setThumb800Gif
-
setThumb800Width
-
setThumb800Height
-
setThumb960
-
setThumb960Gif
-
setThumb960Width
-
setThumb960Height
-
setThumb1024
-
setThumb1024Gif
-
setThumb1024Width
-
setThumb1024Height
-
setThumbVideo
-
setThumbPdf
-
setThumbPdfWidth
-
setThumbPdfHeight
-
setThumbTiny
-
setConvertedPdf
-
setImageExifRotation
-
setOriginalWidth
-
setOriginalHeight
-
setDeanimateGif
-
setPjpeg
-
setPermalink
-
setPermalinkPublic
-
setEditLink
-
setHasRichPreview
public void setHasRichPreview(boolean hasRichPreview) -
setMediaDisplayType
-
setPreviewTruncated
public void setPreviewTruncated(boolean previewTruncated) -
setPreview
-
setPreviewHighlight
-
setPlainText
-
setPreviewPlainText
-
setHasMore
public void setHasMore(boolean hasMore) -
setSentToSelf
public void setSentToSelf(boolean sentToSelf) -
setLines
-
setLinesMore
-
setPublicUrlShared
public void setPublicUrlShared(boolean publicUrlShared) -
setDisplayAsBot
public void setDisplayAsBot(boolean displayAsBot) -
setChannels
-
setGroups
-
setIms
-
setShares
-
setTo
-
setFrom
-
setCc
-
setPinnedInfo
-
setChannelActionsTs
-
setChannelActionsCount
-
setBotId
Deprecated. -
setInitialComment
Deprecated. -
setNumStars
Deprecated. -
setStarred
Deprecated. -
setPinnedTo
Deprecated. -
setReactions
Deprecated. -
setCommentsCount
Deprecated. -
setAttachments
Deprecated. -
setBlocks
Deprecated. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-