UNPKG

@vectorize-io/vectorize-client

Version:
74 lines (62 loc) 1.65 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 { GITHUBAuthConfig } from './GITHUBAuthConfig'; import { GITHUBAuthConfigFromJSON, GITHUBAuthConfigFromJSONTyped, GITHUBAuthConfigToJSON, GITHUBAuthConfigToJSONTyped, } from './GITHUBAuthConfig'; /** * * @export * @interface Github1 */ export interface Github1 { /** * * @type {GITHUBAuthConfig} * @memberof Github1 */ config?: GITHUBAuthConfig; } /** * Check if a given object implements the Github1 interface. */ export function instanceOfGithub1(value: object): value is Github1 { return true; } export function Github1FromJSON(json: any): Github1 { return Github1FromJSONTyped(json, false); } export function Github1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Github1 { if (json == null) { return json; } return { 'config': json['config'] == null ? undefined : GITHUBAuthConfigFromJSON(json['config']), }; } export function Github1ToJSON(json: any): Github1 { return Github1ToJSONTyped(json, false); } export function Github1ToJSONTyped(value?: Github1 | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'config': GITHUBAuthConfigToJSON(value['config']), }; }