/* 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.
 */
/**
 * @export
 */
export const CreateSubmissionRequestSubjectTypeEnum = {
    ENTITY: 'ENTITY',
    EVALUATION: 'EVALUATION',
    TEAM: 'TEAM'
};
/**
 * Check if a given object implements the CreateSubmissionRequest interface.
 */
export function instanceOfCreateSubmissionRequest(value) {
    return true;
}
export function CreateSubmissionRequestFromJSON(json) {
    return CreateSubmissionRequestFromJSONTyped(json, false);
}
export function CreateSubmissionRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'requestId': json['requestId'] == null ? undefined : json['requestId'],
        'requestEtag': json['requestEtag'] == null ? undefined : json['requestEtag'],
        'subjectId': json['subjectId'] == null ? undefined : json['subjectId'],
        'subjectType': json['subjectType'] == null ? undefined : json['subjectType'],
    };
}
export function CreateSubmissionRequestToJSON(json) {
    return CreateSubmissionRequestToJSONTyped(json, false);
}
export function CreateSubmissionRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'requestId': value['requestId'],
        'requestEtag': value['requestEtag'],
        'subjectId': value['subjectId'],
        'subjectType': value['subjectType'],
    };
}
//# sourceMappingURL=CreateSubmissionRequest.js.map