UNPKG

@vectorize-io/vectorize-client

Version:
67 lines (56 loc) 1.85 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'; /** * Authentication configuration for Zoom Admin * @export * @interface ZOOMADMINAuthConfig */ export interface ZOOMADMINAuthConfig { /** * Connect Admin Zoom to Vectorize. Note: Authorizing a new Zoom Admin account will disconnect any existing Zoom Admin connectors using the same account.. Example: Authorize * @type {string} * @memberof ZOOMADMINAuthConfig */ refreshToken: string; } /** * Check if a given object implements the ZOOMADMINAuthConfig interface. */ export function instanceOfZOOMADMINAuthConfig(value: object): value is ZOOMADMINAuthConfig { if (!('refreshToken' in value) || value['refreshToken'] === undefined) return false; return true; } export function ZOOMADMINAuthConfigFromJSON(json: any): ZOOMADMINAuthConfig { return ZOOMADMINAuthConfigFromJSONTyped(json, false); } export function ZOOMADMINAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ZOOMADMINAuthConfig { if (json == null) { return json; } return { 'refreshToken': json['refresh-token'], }; } export function ZOOMADMINAuthConfigToJSON(json: any): ZOOMADMINAuthConfig { return ZOOMADMINAuthConfigToJSONTyped(json, false); } export function ZOOMADMINAuthConfigToJSONTyped(value?: ZOOMADMINAuthConfig | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'refresh-token': value['refreshToken'], }; }