Properties
Methods
toJSON
toJSON
Returns a JSON-serializable record representation of the file.Returns:
Record<string, string>Complete model data including all fieldstoDict
toDict
Converts the file metadata to a record.Returns:
Record<string, string>Record with fileName, key, bucket, region, endpoint, suggestedFileName, and fileTypegetS3Key
getS3Key
Returns the full S3 URL for the file.Returns:
stringComplete S3 URL in format: https://bucket.s3.region.amazonaws.com/filenamegetFilePath
getFilePath
Returns the file path/key within the S3 bucket.Returns:
stringThe fileName property (S3 object key)