/* 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 { SubmissionQuotaFromJSON, SubmissionQuotaToJSON, } from './SubmissionQuota';
/**
 * Check if a given object implements the Evaluation interface.
 */
export function instanceOfEvaluation(value) {
    return true;
}
export function EvaluationFromJSON(json) {
    return EvaluationFromJSONTyped(json, false);
}
export function EvaluationFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'etag': json['etag'] == null ? undefined : json['etag'],
        'name': json['name'] == null ? undefined : json['name'],
        'description': json['description'] == null ? undefined : json['description'],
        'ownerId': json['ownerId'] == null ? undefined : json['ownerId'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'contentSource': json['contentSource'] == null ? undefined : json['contentSource'],
        'submissionInstructionsMessage': json['submissionInstructionsMessage'] == null ? undefined : json['submissionInstructionsMessage'],
        'submissionReceiptMessage': json['submissionReceiptMessage'] == null ? undefined : json['submissionReceiptMessage'],
        'quota': json['quota'] == null ? undefined : SubmissionQuotaFromJSON(json['quota']),
    };
}
export function EvaluationToJSON(json) {
    return EvaluationToJSONTyped(json, false);
}
export function EvaluationToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'etag': value['etag'],
        'name': value['name'],
        'description': value['description'],
        'ownerId': value['ownerId'],
        'createdOn': value['createdOn'],
        'contentSource': value['contentSource'],
        'submissionInstructionsMessage': value['submissionInstructionsMessage'],
        'submissionReceiptMessage': value['submissionReceiptMessage'],
        'quota': SubmissionQuotaToJSON(value['quota']),
    };
}
//# sourceMappingURL=Evaluation.js.map