/* 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 InvestmentStatus = {
    Active: 'Active',
    Closed: 'Closed',
    Other: 'Other',
    Unknown: 'Unknown',
    unknown_default_open_api: '11184809'
} as const;
export type InvestmentStatus = typeof InvestmentStatus[keyof typeof InvestmentStatus];


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

export function InvestmentStatusFromJSON(json: any): InvestmentStatus {
    return InvestmentStatusFromJSONTyped(json, false);
}

export function InvestmentStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvestmentStatus {
    return json as InvestmentStatus;
}

export function InvestmentStatusToJSON(value?: InvestmentStatus | null): any {
    return value as any;
}

export function InvestmentStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): InvestmentStatus {
    return value as InvestmentStatus;
}

