/* 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 AcquisitionTrackingDataStatusEnum = {
    requested: 'requested',
    approved: 'approved',
    denied: 'denied',
    pending: 'pending',
    acquired: 'acquired'
};
/**
 * Check if a given object implements the AcquisitionTrackingData interface.
 */
export function instanceOfAcquisitionTrackingData(value) {
    return true;
}
export function AcquisitionTrackingDataFromJSON(json) {
    return AcquisitionTrackingDataFromJSONTyped(json, false);
}
export function AcquisitionTrackingDataFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'status': json['status'] == null ? undefined : json['status'],
        'dataAcquisitionReference': json['dataAcquisitionReference'] == null ? undefined : json['dataAcquisitionReference'],
        'requestor': json['requestor'] == null ? undefined : json['requestor'],
        'followupRequirements': json['followupRequirements'] == null ? undefined : json['followupRequirements'],
        'comments': json['comments'] == null ? undefined : json['comments'],
        'history': json['history'] == null ? undefined : (json['history'].map(StatusHistoryRecordFromJSON)),
    };
}
export function AcquisitionTrackingDataToJSON(json) {
    return AcquisitionTrackingDataToJSONTyped(json, false);
}
export function AcquisitionTrackingDataToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'status': value['status'],
        'dataAcquisitionReference': value['dataAcquisitionReference'],
        'requestor': value['requestor'],
        'followupRequirements': value['followupRequirements'],
        'comments': value['comments'],
        'history': value['history'] == null ? undefined : (value['history'].map(StatusHistoryRecordToJSON)),
    };
}
//# sourceMappingURL=AcquisitionTrackingData.js.map