/* 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 { StatusHistoryRecordFromJSON, StatusHistoryRecordToJSON, } from './StatusHistoryRecord';
/**
 * @export
 */
export const CurationTrackingDataStatusEnum = {
    loaded: 'loaded',
    processed: 'processed',
    published: 'published'
};
/**
 * Check if a given object implements the CurationTrackingData interface.
 */
export function instanceOfCurationTrackingData(value) {
    return true;
}
export function CurationTrackingDataFromJSON(json) {
    return CurationTrackingDataFromJSONTyped(json, false);
}
export function CurationTrackingDataFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'status': json['status'] == null ? undefined : json['status'],
        'curator': json['curator'] == null ? undefined : json['curator'],
        'history': json['history'] == null ? undefined : (json['history'].map(StatusHistoryRecordFromJSON)),
    };
}
export function CurationTrackingDataToJSON(json) {
    return CurationTrackingDataToJSONTyped(json, false);
}
export function CurationTrackingDataToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'status': value['status'],
        'curator': value['curator'],
        'history': value['history'] == null ? undefined : (value['history'].map(StatusHistoryRecordToJSON)),
    };
}
//# sourceMappingURL=CurationTrackingData.js.map