/** * Boat Public API v1 * Public JSON API for creating, operating, prompting, observing, and exposing Boat sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface SnapshotSummary */ export interface SnapshotSummary { /** * * @type {string} * @memberof SnapshotSummary */ id: string; /** * Public Box id this snapshot belongs to. * @type {string} * @memberof SnapshotSummary */ boxId: string; /** * * @type {SnapshotSummaryStatusEnum} * @memberof SnapshotSummary */ status: SnapshotSummaryStatusEnum; /** * `base` (full) or `incremental` (delta on a base). `null` for legacy snapshots. * @type {SnapshotSummaryKindEnum} * @memberof SnapshotSummary */ kind?: SnapshotSummaryKindEnum | null; /** * Position in the incremental chain (0 = base). * @type {number} * @memberof SnapshotSummary */ generation: number; /** * * @type {string} * @memberof SnapshotSummary */ chainId?: string | null; /** * * @type {Date} * @memberof SnapshotSummary */ createdAt: Date; /** * * @type {Date} * @memberof SnapshotSummary */ completedAt?: Date | null; /** * Bytes this snapshot added (its delta), not the full restored size. * @type {number} * @memberof SnapshotSummary */ sizeBytes: number; /** * Inventory entries alive in the chain at this generation (includes base-image system entries). * @type {number} * @memberof SnapshotSummary */ fileCount: number; /** * Total bytes of your data restored by this snapshot (what resume/download returns; base image excluded). `null` on legacy snapshots. * @type {number} * @memberof SnapshotSummary */ contentSizeBytes?: number | null; /** * Number of your files restored by this snapshot (base image excluded). `null` on legacy snapshots. * @type {number} * @memberof SnapshotSummary */ contentFileCount?: number | null; } /** * @export */ export declare const SnapshotSummaryStatusEnum: { readonly Completed: 'completed'; }; export type SnapshotSummaryStatusEnum = typeof SnapshotSummaryStatusEnum[keyof typeof SnapshotSummaryStatusEnum]; /** * @export */ export declare const SnapshotSummaryKindEnum: { readonly Base: 'base'; readonly Incremental: 'incremental'; }; export type SnapshotSummaryKindEnum = typeof SnapshotSummaryKindEnum[keyof typeof SnapshotSummaryKindEnum]; /** * Check if a given object implements the SnapshotSummary interface. */ export declare function instanceOfSnapshotSummary(value: object): value is SnapshotSummary; export declare function SnapshotSummaryFromJSON(json: any): SnapshotSummary; export declare function SnapshotSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): SnapshotSummary; export declare function SnapshotSummaryToJSON(json: any): SnapshotSummary; export declare function SnapshotSummaryToJSONTyped(value?: SnapshotSummary | null, ignoreDiscriminator?: boolean): any;