@vectorize-io/vectorize-client
Version:
Client for the Vectorize API
74 lines (62 loc) • 1.76 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 { CONFLUENCEAuthConfig } from './CONFLUENCEAuthConfig';
import {
CONFLUENCEAuthConfigFromJSON,
CONFLUENCEAuthConfigFromJSONTyped,
CONFLUENCEAuthConfigToJSON,
CONFLUENCEAuthConfigToJSONTyped,
} from './CONFLUENCEAuthConfig';
/**
*
* @export
* @interface Confluence1
*/
export interface Confluence1 {
/**
*
* @type {CONFLUENCEAuthConfig}
* @memberof Confluence1
*/
config?: CONFLUENCEAuthConfig;
}
/**
* Check if a given object implements the Confluence1 interface.
*/
export function instanceOfConfluence1(value: object): value is Confluence1 {
return true;
}
export function Confluence1FromJSON(json: any): Confluence1 {
return Confluence1FromJSONTyped(json, false);
}
export function Confluence1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Confluence1 {
if (json == null) {
return json;
}
return {
'config': json['config'] == null ? undefined : CONFLUENCEAuthConfigFromJSON(json['config']),
};
}
export function Confluence1ToJSON(json: any): Confluence1 {
return Confluence1ToJSONTyped(json, false);
}
export function Confluence1ToJSONTyped(value?: Confluence1 | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'config': CONFLUENCEAuthConfigToJSON(value['config']),
};
}