/* tslint:disable */ /* eslint-disable */ /** * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: * * * 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'; /** * * @export * @interface Auth */ export interface Auth { /** * made optional to support header auth clients * @type {string} * @memberof Auth */ auth: string; } /** * Check if a given object implements the Auth interface. */ export function instanceOfAuth(value: object): value is Auth { if (!('auth' in value) || value['auth'] === undefined) return false; return true; } export function AuthFromJSON(json: any): Auth { return AuthFromJSONTyped(json, false); } export function AuthFromJSONTyped(json: any, ignoreDiscriminator: boolean): Auth { if (json == null) { return json; } return { 'auth': json['auth'], }; } export function AuthToJSON(value?: Auth | null): any { if (value == null) { return value; } return { 'auth': value['auth'], }; }