/* 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 { CurationTaskFromJSON, CurationTaskToJSON, } from './CurationTask';
import { TaskBundleFromJSON, TaskBundleToJSON, } from './TaskBundle';
/**
 * Check if a given object implements the ListCurationTaskResponse interface.
 */
export function instanceOfListCurationTaskResponse(value) {
    return true;
}
export function ListCurationTaskResponseFromJSON(json) {
    return ListCurationTaskResponseFromJSONTyped(json, false);
}
export function ListCurationTaskResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'page': json['page'] == null ? undefined : (json['page'].map(CurationTaskFromJSON)),
        'bundlePage': json['bundlePage'] == null ? undefined : (json['bundlePage'].map(TaskBundleFromJSON)),
        'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
    };
}
export function ListCurationTaskResponseToJSON(json) {
    return ListCurationTaskResponseToJSONTyped(json, false);
}
export function ListCurationTaskResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'page': value['page'] == null ? undefined : (value['page'].map(CurationTaskToJSON)),
        'bundlePage': value['bundlePage'] == null ? undefined : (value['bundlePage'].map(TaskBundleToJSON)),
        'nextPageToken': value['nextPageToken'],
    };
}
//# sourceMappingURL=ListCurationTaskResponse.js.map