/* 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 MaritalStatus = {
    SINGLE: 'Single',
    MARRIED: 'Married',
    DIVORCED: 'Divorced',
    WIDOWED: 'Widowed',
    COMMON_LAW: 'CommonLaw',
    SEPARATED: 'Separated',
    OTHER: 'Other',
    UNKNOWN: 'Unknown',
    unknown_default_open_api: '11184809'
} as const;
export type MaritalStatus = typeof MaritalStatus[keyof typeof MaritalStatus];


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

export function MaritalStatusFromJSON(json: any): MaritalStatus {
    return MaritalStatusFromJSONTyped(json, false);
}

export function MaritalStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): MaritalStatus {
    return json as MaritalStatus;
}

export function MaritalStatusToJSON(value?: MaritalStatus | null): any {
    return value as any;
}

export function MaritalStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): MaritalStatus {
    return value as MaritalStatus;
}

