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