/* 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'; /** * * @export * @interface Voyage1 */ export interface Voyage1 { /** * Configuration updates * @type {object} * @memberof Voyage1 */ config?: object; } /** * Check if a given object implements the Voyage1 interface. */ export function instanceOfVoyage1(value: object): value is Voyage1 { return true; } export function Voyage1FromJSON(json: any): Voyage1 { return Voyage1FromJSONTyped(json, false); } export function Voyage1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Voyage1 { if (json == null) { return json; } return { 'config': json['config'] == null ? undefined : json['config'], }; } export function Voyage1ToJSON(json: any): Voyage1 { return Voyage1ToJSONTyped(json, false); } export function Voyage1ToJSONTyped(value?: Voyage1 | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'config': value['config'], }; }