/* 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 { AccessorChangeFromJSON, AccessorChangeToJSON, } from './AccessorChange';
/**
 * Check if a given object implements the SubmissionInfo interface.
 */
export function instanceOfSubmissionInfo(value) {
    return true;
}
export function SubmissionInfoFromJSON(json) {
    return SubmissionInfoFromJSONTyped(json, false);
}
export function SubmissionInfoFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'institution': json['institution'] == null ? undefined : json['institution'],
        'projectLead': json['projectLead'] == null ? undefined : json['projectLead'],
        'intendedDataUseStatement': json['intendedDataUseStatement'] == null ? undefined : json['intendedDataUseStatement'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
        'submittedBy': json['submittedBy'] == null ? undefined : json['submittedBy'],
        'accessorChanges': json['accessorChanges'] == null ? undefined : (json['accessorChanges'].map(AccessorChangeFromJSON)),
    };
}
export function SubmissionInfoToJSON(json) {
    return SubmissionInfoToJSONTyped(json, false);
}
export function SubmissionInfoToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'institution': value['institution'],
        'projectLead': value['projectLead'],
        'intendedDataUseStatement': value['intendedDataUseStatement'],
        'modifiedOn': value['modifiedOn'],
        'submittedBy': value['submittedBy'],
        'accessorChanges': value['accessorChanges'] == null ? undefined : (value['accessorChanges'].map(AccessorChangeToJSON)),
    };
}
//# sourceMappingURL=SubmissionInfo.js.map