/* 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.
 */
/**
 * Check if a given object implements the ResearchProject interface.
 */
export function instanceOfResearchProject(value) {
    return true;
}
export function ResearchProjectFromJSON(json) {
    return ResearchProjectFromJSONTyped(json, false);
}
export function ResearchProjectFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'accessRequirementId': json['accessRequirementId'] == null ? undefined : json['accessRequirementId'],
        'institution': json['institution'] == null ? undefined : json['institution'],
        'projectLead': json['projectLead'] == null ? undefined : json['projectLead'],
        'intendedDataUseStatement': json['intendedDataUseStatement'] == null ? undefined : json['intendedDataUseStatement'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
        'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
        'etag': json['etag'] == null ? undefined : json['etag'],
    };
}
export function ResearchProjectToJSON(json) {
    return ResearchProjectToJSONTyped(json, false);
}
export function ResearchProjectToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'accessRequirementId': value['accessRequirementId'],
        'institution': value['institution'],
        'projectLead': value['projectLead'],
        'intendedDataUseStatement': value['intendedDataUseStatement'],
        'createdOn': value['createdOn'],
        'modifiedOn': value['modifiedOn'],
        'createdBy': value['createdBy'],
        'modifiedBy': value['modifiedBy'],
        'etag': value['etag'],
    };
}
//# sourceMappingURL=ResearchProject.js.map