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


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

export function EmailLabelFromJSON(json: any): EmailLabel {
    return EmailLabelFromJSONTyped(json, false);
}

export function EmailLabelFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailLabel {
    return json as EmailLabel;
}

export function EmailLabelToJSON(value?: EmailLabel | null): any {
    return value as any;
}

export function EmailLabelToJSONTyped(value: any, ignoreDiscriminator: boolean): EmailLabel {
    return value as EmailLabel;
}

