OptionaldescriptionUser-provided description.
OptionaldownloadPresigned download URL when available.
OptionalentityEntity id the file is associated with.
OptionalentityEntity type the file is associated with.
The unique file id.
OptionalfileHex MD5 checksum of the file content.
OptionalfileRainMaker-side file name.
OptionalfileCustom file type label.
OptionalmetadataOptional metadata attached at confirm time.
OptionalpublicWhether the file is public.
Optionals3S3 object key.
OptionaltimestampUpload timestamp from the backend.
OptionaluserOwner user id from the backend.
OptionaluserOwner username from the backend.
Deletes this uploaded file from RainMaker.
Downloads file bytes from the presigned download URL.
Optionaloptions: ESPFileDownloadOptionsDownload options including format and abort signal.
File content in the requested format.
Returns the cached presigned download URL without network I/O.
The download URL when known.
Fetches the latest file metadata from the cloud and updates this instance.
This instance with refreshed fields, or null when no record exists.
Updates file metadata such as public visibility.
Fields to update.
This instance with refreshed fields from the backend.
Sets whether this file is public.
true to make the file public.
This instance with refreshed fields from the backend.
Represents an uploaded file in the ESP RainMaker SDK.
Returned by upload confirm, list, and lookup helpers. Use refresh to fetch the latest metadata, download to fetch file bytes, and updatePublic to change visibility.