/* 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.
 */
/**
 * Check if a given object implements the ErrorResponse interface.
 */
export function instanceOfErrorResponse(value) {
    return true;
}
export function ErrorResponseFromJSON(json) {
    return ErrorResponseFromJSONTyped(json, false);
}
export function ErrorResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'details': json['details'] == null ? undefined : json['details'],
        'errorCode': json['errorCode'] == null ? undefined : json['errorCode'],
        'errorMessage': json['errorMessage'] == null ? undefined : json['errorMessage'],
    };
}
export function ErrorResponseToJSON(json) {
    return ErrorResponseToJSONTyped(json, false);
}
export function ErrorResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'details': value['details'],
        'errorCode': value['errorCode'],
        'errorMessage': value['errorMessage'],
    };
}
