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


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

export function AddressLabelFromJSON(json: any): AddressLabel {
    return AddressLabelFromJSONTyped(json, false);
}

export function AddressLabelFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressLabel {
    return json as AddressLabel;
}

export function AddressLabelToJSON(value?: AddressLabel | null): any {
    return value as any;
}

export function AddressLabelToJSONTyped(value: any, ignoreDiscriminator: boolean): AddressLabel {
    return value as AddressLabel;
}

