UNPKG

@vectorize-io/vectorize-client

Version:
66 lines (55 loc) 1.43 kB
/* 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 Anthropic1 */ export interface Anthropic1 { /** * Configuration updates * @type {object} * @memberof Anthropic1 */ config?: object; } /** * Check if a given object implements the Anthropic1 interface. */ export function instanceOfAnthropic1(value: object): value is Anthropic1 { return true; } export function Anthropic1FromJSON(json: any): Anthropic1 { return Anthropic1FromJSONTyped(json, false); } export function Anthropic1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Anthropic1 { if (json == null) { return json; } return { 'config': json['config'] == null ? undefined : json['config'], }; } export function Anthropic1ToJSON(json: any): Anthropic1 { return Anthropic1ToJSONTyped(json, false); } export function Anthropic1ToJSONTyped(value?: Anthropic1 | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'config': value['config'], }; }