/* 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 RegistrationType = {
    Individual: 'Individual',
    Joint: 'Joint',
    Corporate: 'Corporate',
    Trust: 'Trust',
    Spousal: 'Spousal',
    Other: 'Other',
    Unknown: 'Unknown',
    unknown_default_open_api: '11184809'
} as const;
export type RegistrationType = typeof RegistrationType[keyof typeof RegistrationType];


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

export function RegistrationTypeFromJSON(json: any): RegistrationType {
    return RegistrationTypeFromJSONTyped(json, false);
}

export function RegistrationTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegistrationType {
    return json as RegistrationType;
}

export function RegistrationTypeToJSON(value?: RegistrationType | null): any {
    return value as any;
}

export function RegistrationTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): RegistrationType {
    return value as RegistrationType;
}

