Home > @hapoosjs/api-buckets > BucketFileMetadata

BucketFileMetadata class

Metadata describing a file in a cloud bucket

Signature:

export declare class BucketFileMetadata extends BaseResponse 

Extends: BaseResponse

Constructors

Constructor Modifiers Description
(constructor)(rawResponse) Creates a new BucketFileMetadata instance

Properties

Property Modifiers Type Description
contentEncoding? string (Optional) File content encoding
contentType? string (Optional) Mime type of the file
expires? Date (Optional) Expiration date
lastModified Date Last modification date
other? any (Optional) Cloud platform specific metadata
path string Folder or prefix of the file
size? number (Optional) File size in bytes
storageClass string Cloud platform-specific storage class
versionId? string (Optional) Version ID of the file