/* 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'; /** * Configuration for SingleStore connector * @export * @interface SINGLESTOREConfig */ export interface SINGLESTOREConfig { /** * Table Name. Example: Enter table name * @type {string} * @memberof SINGLESTOREConfig */ table: string; } /** * Check if a given object implements the SINGLESTOREConfig interface. */ export function instanceOfSINGLESTOREConfig(value: object): value is SINGLESTOREConfig { if (!('table' in value) || value['table'] === undefined) return false; return true; } export function SINGLESTOREConfigFromJSON(json: any): SINGLESTOREConfig { return SINGLESTOREConfigFromJSONTyped(json, false); } export function SINGLESTOREConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): SINGLESTOREConfig { if (json == null) { return json; } return { 'table': json['table'], }; } export function SINGLESTOREConfigToJSON(json: any): SINGLESTOREConfig { return SINGLESTOREConfigToJSONTyped(json, false); } export function SINGLESTOREConfigToJSONTyped(value?: SINGLESTOREConfig | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'table': value['table'], }; }