/* 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 ErrorCodes = {
    SERVER_ERROR: 'SERVER_ERROR',
    NOT_FOUND: 'NOT_FOUND',
    SOURCE_ALREADY_EXISTS: 'SOURCE_ALREADY_EXISTS',
    INVALID_ARGUMENT: 'INVALID_ARGUMENT',
    unknown_default_open_api: '11184809'
};
export function instanceOfErrorCodes(value) {
    for (const key in ErrorCodes) {
        if (Object.prototype.hasOwnProperty.call(ErrorCodes, key)) {
            if (ErrorCodes[key] === value) {
                return true;
            }
        }
    }
    return false;
}
export function ErrorCodesFromJSON(json) {
    return ErrorCodesFromJSONTyped(json, false);
}
export function ErrorCodesFromJSONTyped(json, ignoreDiscriminator) {
    return json;
}
export function ErrorCodesToJSON(value) {
    return value;
}
export function ErrorCodesToJSONTyped(value, ignoreDiscriminator) {
    return value;
}
