/* tslint:disable */ /* eslint-disable */ /** * Vectorize API * API for Vectorize services (Beta) * * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; import type { PINECONEAuthConfig } from './PINECONEAuthConfig'; import { PINECONEAuthConfigFromJSON, PINECONEAuthConfigFromJSONTyped, PINECONEAuthConfigToJSON, PINECONEAuthConfigToJSONTyped, } from './PINECONEAuthConfig'; /** * * @export * @interface Pinecone1 */ export interface Pinecone1 { /** * * @type {PINECONEAuthConfig} * @memberof Pinecone1 */ config?: PINECONEAuthConfig; } /** * Check if a given object implements the Pinecone1 interface. */ export function instanceOfPinecone1(value: object): value is Pinecone1 { return true; } export function Pinecone1FromJSON(json: any): Pinecone1 { return Pinecone1FromJSONTyped(json, false); } export function Pinecone1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Pinecone1 { if (json == null) { return json; } return { 'config': json['config'] == null ? undefined : PINECONEAuthConfigFromJSON(json['config']), }; } export function Pinecone1ToJSON(json: any): Pinecone1 { return Pinecone1ToJSONTyped(json, false); } export function Pinecone1ToJSONTyped(value?: Pinecone1 | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'config': PINECONEAuthConfigToJSON(value['config']), }; }