/* tslint:disable */
/* eslint-disable */
/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { TraceEventFromJSON, TraceEventToJSON, } from './TraceEvent';
/**
 * Check if a given object implements the TraceEventsResponse interface.
 */
export function instanceOfTraceEventsResponse(value) {
    return true;
}
export function TraceEventsResponseFromJSON(json) {
    return TraceEventsResponseFromJSONTyped(json, false);
}
export function TraceEventsResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'jobId': json['jobId'] == null ? undefined : json['jobId'],
        'page': json['page'] == null ? undefined : (json['page'].map(TraceEventFromJSON)),
    };
}
export function TraceEventsResponseToJSON(json) {
    return TraceEventsResponseToJSONTyped(json, false);
}
export function TraceEventsResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'jobId': value['jobId'],
        'page': value['page'] == null ? undefined : (value['page'].map(TraceEventToJSON)),
    };
}
//# sourceMappingURL=TraceEventsResponse.js.map