/* 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 { TaskStatusFromJSON, TaskStatusToJSON, } from './TaskStatus';
/**
 * Check if a given object implements the TaskBundle interface.
 */
export function instanceOfTaskBundle(value) {
    return true;
}
export function TaskBundleFromJSON(json) {
    return TaskBundleFromJSONTyped(json, false);
}
export function TaskBundleFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'task': json['task'] == null ? undefined : CurationTaskFromJSON(json['task']),
        'status': json['status'] == null ? undefined : TaskStatusFromJSON(json['status']),
    };
}
export function TaskBundleToJSON(json) {
    return TaskBundleToJSONTyped(json, false);
}
export function TaskBundleToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'task': CurationTaskToJSON(value['task']),
        'status': TaskStatusToJSON(value['status']),
    };
}
//# sourceMappingURL=TaskBundle.js.map