/* 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 { ModelSubmissionFromJSON, ModelSubmissionToJSON, } from './ModelSubmission';
import { ModelSubmissionStatusFromJSON, ModelSubmissionStatusToJSON, } from './ModelSubmissionStatus';
/**
 * Check if a given object implements the SubmissionBundle interface.
 */
export function instanceOfSubmissionBundle(value) {
    return true;
}
export function SubmissionBundleFromJSON(json) {
    return SubmissionBundleFromJSONTyped(json, false);
}
export function SubmissionBundleFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'submission': json['submission'] == null ? undefined : ModelSubmissionFromJSON(json['submission']),
        'submissionStatus': json['submissionStatus'] == null ? undefined : ModelSubmissionStatusFromJSON(json['submissionStatus']),
    };
}
export function SubmissionBundleToJSON(json) {
    return SubmissionBundleToJSONTyped(json, false);
}
export function SubmissionBundleToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'submission': ModelSubmissionToJSON(value['submission']),
        'submissionStatus': ModelSubmissionStatusToJSON(value['submissionStatus']),
    };
}
//# sourceMappingURL=SubmissionBundle.js.map