@vectorize-io/vectorize-client
Version:
Client for the Vectorize API
74 lines (62 loc) • 1.68 kB
text/typescript
/* 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 { CAPELLAAuthConfig } from './CAPELLAAuthConfig';
import {
CAPELLAAuthConfigFromJSON,
CAPELLAAuthConfigFromJSONTyped,
CAPELLAAuthConfigToJSON,
CAPELLAAuthConfigToJSONTyped,
} from './CAPELLAAuthConfig';
/**
*
* @export
* @interface Capella1
*/
export interface Capella1 {
/**
*
* @type {CAPELLAAuthConfig}
* @memberof Capella1
*/
config?: CAPELLAAuthConfig;
}
/**
* Check if a given object implements the Capella1 interface.
*/
export function instanceOfCapella1(value: object): value is Capella1 {
return true;
}
export function Capella1FromJSON(json: any): Capella1 {
return Capella1FromJSONTyped(json, false);
}
export function Capella1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Capella1 {
if (json == null) {
return json;
}
return {
'config': json['config'] == null ? undefined : CAPELLAAuthConfigFromJSON(json['config']),
};
}
export function Capella1ToJSON(json: any): Capella1 {
return Capella1ToJSONTyped(json, false);
}
export function Capella1ToJSONTyped(value?: Capella1 | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'config': CAPELLAAuthConfigToJSON(value['config']),
};
}