@pinecone-database/pinecone
Version:
This is the official Node.js SDK for [Pinecone](https://www.pinecone.io), written in TypeScript.
74 lines (73 loc) • 2.08 kB
TypeScript
/**
* Pinecone Control Plane API
* Pinecone is a vector database that makes it easy to search and retrieve billions of high-dimensional vectors.
*
* The version of the OpenAPI document: 2025-04
* Contact: support@pinecone.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* The RestoreJobModel describes the status of a restore job.
* @export
* @interface RestoreJobModel
*/
export interface RestoreJobModel {
/**
* Unique identifier for the restore job
* @type {string}
* @memberof RestoreJobModel
*/
restoreJobId: string;
/**
* Backup used for the restore
* @type {string}
* @memberof RestoreJobModel
*/
backupId: string;
/**
* Name of the index into which data is being restored
* @type {string}
* @memberof RestoreJobModel
*/
targetIndexName: string;
/**
* ID of the index
* @type {string}
* @memberof RestoreJobModel
*/
targetIndexId: string;
/**
* Status of the restore job
* @type {string}
* @memberof RestoreJobModel
*/
status: string;
/**
* Timestamp when the restore job started
* @type {Date}
* @memberof RestoreJobModel
*/
createdAt: Date;
/**
* Timestamp when the restore job finished
* @type {Date}
* @memberof RestoreJobModel
*/
completedAt?: Date;
/**
* The progress made by the restore job out of 100
* @type {number}
* @memberof RestoreJobModel
*/
percentComplete?: number;
}
/**
* Check if a given object implements the RestoreJobModel interface.
*/
export declare function instanceOfRestoreJobModel(value: object): boolean;
export declare function RestoreJobModelFromJSON(json: any): RestoreJobModel;
export declare function RestoreJobModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): RestoreJobModel;
export declare function RestoreJobModelToJSON(value?: RestoreJobModel | null): any;