/* 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 { DownloadOrderSummaryFromJSON, DownloadOrderSummaryToJSON, } from './DownloadOrderSummary';
/**
 * Check if a given object implements the DownloadOrderSummaryResponse interface.
 */
export function instanceOfDownloadOrderSummaryResponse(value) {
    return true;
}
export function DownloadOrderSummaryResponseFromJSON(json) {
    return DownloadOrderSummaryResponseFromJSONTyped(json, false);
}
export function DownloadOrderSummaryResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'page': json['page'] == null ? undefined : (json['page'].map(DownloadOrderSummaryFromJSON)),
        'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
    };
}
export function DownloadOrderSummaryResponseToJSON(json) {
    return DownloadOrderSummaryResponseToJSONTyped(json, false);
}
export function DownloadOrderSummaryResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'page': value['page'] == null ? undefined : (value['page'].map(DownloadOrderSummaryToJSON)),
        'nextPageToken': value['nextPageToken'],
    };
}
//# sourceMappingURL=DownloadOrderSummaryResponse.js.map