IBM COS SDK for JavaScript V2 - v1.0.0
    Preparing search index...

    Interface ObjectVersion

    The version of an object.

    interface ObjectVersion {
        ETag?: string;
        ChecksumAlgorithm?: ChecksumAlgorithm[];
        ChecksumType?: ChecksumType;
        Size?: number;
        StorageClass?: "STANDARD";
        Key?: string;
        VersionId?: string;
        IsLatest?: boolean;
        LastModified?: Date;
        Owner?: Owner;
        RestoreStatus?: RestoreStatus;
    }
    Index

    Properties

    ETag?: string

    The entity tag is an MD5 hash of that version of the object.

    ChecksumAlgorithm?: ChecksumAlgorithm[]

    The algorithm that was used to create a checksum of the object.

    ChecksumType?: ChecksumType

    The checksum type that is used to calculate the object’s checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.

    Size?: number

    Size in bytes of the object.

    StorageClass?: "STANDARD"

    The class of storage used to store the object.

    Key?: string

    The object key.

    VersionId?: string

    Version ID of an object.

    IsLatest?: boolean

    Specifies whether the object is (true) or is not (false) the latest version of an object.

    LastModified?: Date

    Date and time when the object was last modified.

    Owner?: Owner

    Specifies the owner of the object.

    RestoreStatus?: RestoreStatus

    Specifies the restoration status of an object. Objects in certain storage classes must be restored before they can be retrieved. For more information about these storage classes and how to work with archived objects, see Working with archived objects in the Amazon S3 User Guide.