/** * mongocamp-server * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.2.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 MongoIndex */ export interface MongoIndex { /** * * @type {string} * @memberof MongoIndex */ name: string; /** * * @type {Array} * @memberof MongoIndex */ fields?: Array; /** * * @type {boolean} * @memberof MongoIndex */ unique: boolean; /** * * @type {number} * @memberof MongoIndex */ version: number; /** * * @type {string} * @memberof MongoIndex */ namespace: string; /** * * @type {{ [key: string]: string; }} * @memberof MongoIndex */ keys: { [key: string]: string; }; /** * * @type {{ [key: string]: string; }} * @memberof MongoIndex */ weights: { [key: string]: string; }; /** * * @type {boolean} * @memberof MongoIndex */ expire: boolean; /** * * @type {number} * @memberof MongoIndex */ expireAfterSeconds: number; /** * * @type {boolean} * @memberof MongoIndex */ text: boolean; /** * * @type {Date} * @memberof MongoIndex */ fetched: Date; /** * * @type {{ [key: string]: string; }} * @memberof MongoIndex */ map: { [key: string]: string; }; } export declare function MongoIndexFromJSON(json: any): MongoIndex; export declare function MongoIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoIndex; export declare function MongoIndexToJSON(value?: MongoIndex | null): any;