Subclass of ConnectApi.FeedItemAttachment Class
Objects of this type are returned by attachments in feed items with the type ContentPost.
Name | Type | Description | Available Version |
---|---|---|---|
checkSum | String | MD5 checksum for the file | 28.0–31.0 |
contentUrl | String | URL for link files and Google Docs; otherwise the value is null. | 31.0–31.0 |
description | String | Description of the attachment | 28.0–31.0 |
downloadUrl | String | File’s URL. This value is null if the content is a link or a Google Doc. | 28.0–31.0 |
fileExtension | String | File’s extensionConnectApi.UserSummary Class | 28.0–31.0 |
fileSize | String | Size of the file in bytes. If size cannot be determined, returns unknown. | 28.0–31.0 |
fileType | String | Type of file | 28.0–31.0 |
hasImagePreview | Boolean | true if the file has a preview image available, otherwise ,false | 28.0–29.0 |
hasPdfPreview | Boolean | true if the file has a PDF preview available, otherwise, false | 28.0–31.0 |
id | String | Content’s 18-character ID | 28.0–31.0 |
isInMyFileSync | Boolean | true if the file is synced with Salesforce Files Sync; false otherwise. | 28.0–31.0 |
mimeType | String | File’s MIME type | 28.0–31.0 |
renditionUrl | String | URL to the file’s rendition resource | 28.0–31.0 |
renditionUrl240By180 | String | URL to the 240 x 180 rendition resource for the file.For shared files, renditions process asynchronously after upload. For private files, renditions process when the first file preview is requested, and aren’t available immediately after the file is uploaded. | 30.0–31.0 |
renditionUrl720By480 | String | URL to the 720 x 480 rendition resource for the file.For shared files, renditions process asynchronously after upload. For private files, renditions process when the first file preview is requested, and aren’t available immediately after the file is uploaded. | 30.0–31.0 |
textPreview | String | Text preview of the file if available; null otherwise. | 30.0–31.0 |
thumb120By90RenditionStatus | String | Specifies the rendering status of the 120 x 90 preview image of the
file. One of these values:
|
30.0–31.0 |
thumb240By180RenditionStatus | String | Specifies the rendering status of the 240 x 180 preview image of the
file. One of these values:
|
30.0–31.0 |
thumb720By480RenditionStatus | String | Specifies the rendering status of the 720 x 480 preview image of the
file. One of these values:
|
30.0–31.0 |
title | String | Title of the file | 28.0–31.0 |
versionId | String | 18-character ID for this version of the content | 28.0–31.0 |