/* 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.
 */
/**
 * Check if a given object implements the DownloadOrderSummary interface.
 */
export function instanceOfDownloadOrderSummary(value) {
    return true;
}
export function DownloadOrderSummaryFromJSON(json) {
    return DownloadOrderSummaryFromJSONTyped(json, false);
}
export function DownloadOrderSummaryFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'orderId': json['orderId'] == null ? undefined : json['orderId'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'zipFileName': json['zipFileName'] == null ? undefined : json['zipFileName'],
        'totalSizeBytes': json['totalSizeBytes'] == null ? undefined : json['totalSizeBytes'],
        'totalNumberOfFiles': json['totalNumberOfFiles'] == null ? undefined : json['totalNumberOfFiles'],
    };
}
export function DownloadOrderSummaryToJSON(json) {
    return DownloadOrderSummaryToJSONTyped(json, false);
}
export function DownloadOrderSummaryToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'orderId': value['orderId'],
        'createdBy': value['createdBy'],
        'createdOn': value['createdOn'],
        'zipFileName': value['zipFileName'],
        'totalSizeBytes': value['totalSizeBytes'],
        'totalNumberOfFiles': value['totalNumberOfFiles'],
    };
}
//# sourceMappingURL=DownloadOrderSummary.js.map