/* tslint:disable */
/* eslint-disable */
/**
 * UCX Proxy
 * A single use API for the UCX Proxy.
 *
 * The version of the OpenAPI document: 0.0.12
 * Contact: customersuccess@equisoft.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


/**
 * 
 * @export
 */
export const HoldingExchange = {
    Tsx: 'Tsx',
    Nyse: 'Nyse',
    Nasdaq: 'Nasdaq',
    unknown_default_open_api: '11184809'
} as const;
export type HoldingExchange = typeof HoldingExchange[keyof typeof HoldingExchange];


export function instanceOfHoldingExchange(value: any): boolean {
    for (const key in HoldingExchange) {
        if (Object.prototype.hasOwnProperty.call(HoldingExchange, key)) {
            if (HoldingExchange[key as keyof typeof HoldingExchange] === value) {
                return true;
            }
        }
    }
    return false;
}

export function HoldingExchangeFromJSON(json: any): HoldingExchange {
    return HoldingExchangeFromJSONTyped(json, false);
}

export function HoldingExchangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): HoldingExchange {
    return json as HoldingExchange;
}

export function HoldingExchangeToJSON(value?: HoldingExchange | null): any {
    return value as any;
}

export function HoldingExchangeToJSONTyped(value: any, ignoreDiscriminator: boolean): HoldingExchange {
    return value as HoldingExchange;
}

