/* 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 UserSourceStatus = {
    ENABLED: 'Enabled',
    DISABLED: 'Disabled',
    AUTHENTICATION_REQUIRED: 'AuthenticationRequired',
    unknown_default_open_api: '11184809'
} as const;
export type UserSourceStatus = typeof UserSourceStatus[keyof typeof UserSourceStatus];


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

export function UserSourceStatusFromJSON(json: any): UserSourceStatus {
    return UserSourceStatusFromJSONTyped(json, false);
}

export function UserSourceStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSourceStatus {
    return json as UserSourceStatus;
}

export function UserSourceStatusToJSON(value?: UserSourceStatus | null): any {
    return value as any;
}

export function UserSourceStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): UserSourceStatus {
    return value as UserSourceStatus;
}

