UNPKG

@vectorize-io/vectorize-client

Version:
74 lines (62 loc) 1.71 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'; import type { DATASTAXAuthConfig } from './DATASTAXAuthConfig'; import { DATASTAXAuthConfigFromJSON, DATASTAXAuthConfigFromJSONTyped, DATASTAXAuthConfigToJSON, DATASTAXAuthConfigToJSONTyped, } from './DATASTAXAuthConfig'; /** * * @export * @interface Datastax1 */ export interface Datastax1 { /** * * @type {DATASTAXAuthConfig} * @memberof Datastax1 */ config?: DATASTAXAuthConfig; } /** * Check if a given object implements the Datastax1 interface. */ export function instanceOfDatastax1(value: object): value is Datastax1 { return true; } export function Datastax1FromJSON(json: any): Datastax1 { return Datastax1FromJSONTyped(json, false); } export function Datastax1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Datastax1 { if (json == null) { return json; } return { 'config': json['config'] == null ? undefined : DATASTAXAuthConfigFromJSON(json['config']), }; } export function Datastax1ToJSON(json: any): Datastax1 { return Datastax1ToJSONTyped(json, false); } export function Datastax1ToJSONTyped(value?: Datastax1 | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'config': DATASTAXAuthConfigToJSON(value['config']), }; }