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


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

export function PhoneLabelFromJSON(json: any): PhoneLabel {
    return PhoneLabelFromJSONTyped(json, false);
}

export function PhoneLabelFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhoneLabel {
    return json as PhoneLabel;
}

export function PhoneLabelToJSON(value?: PhoneLabel | null): any {
    return value as any;
}

export function PhoneLabelToJSONTyped(value: any, ignoreDiscriminator: boolean): PhoneLabel {
    return value as PhoneLabel;
}

