/* 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 FormSubmissionStatusStateEnum = {
    WAITING_FOR_SUBMISSION: 'WAITING_FOR_SUBMISSION',
    SUBMITTED_WAITING_FOR_REVIEW: 'SUBMITTED_WAITING_FOR_REVIEW',
    ACCEPTED: 'ACCEPTED',
    REJECTED: 'REJECTED'
};
/**
 * Check if a given object implements the FormSubmissionStatus interface.
 */
export function instanceOfFormSubmissionStatus(value) {
    return true;
}
export function FormSubmissionStatusFromJSON(json) {
    return FormSubmissionStatusFromJSONTyped(json, false);
}
export function FormSubmissionStatusFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'submittedOn': json['submittedOn'] == null ? undefined : json['submittedOn'],
        'reviewedOn': json['reviewedOn'] == null ? undefined : json['reviewedOn'],
        'reviewedBy': json['reviewedBy'] == null ? undefined : json['reviewedBy'],
        'state': json['state'] == null ? undefined : json['state'],
        'rejectionMessage': json['rejectionMessage'] == null ? undefined : json['rejectionMessage'],
    };
}
export function FormSubmissionStatusToJSON(json) {
    return FormSubmissionStatusToJSONTyped(json, false);
}
export function FormSubmissionStatusToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'submittedOn': value['submittedOn'],
        'reviewedOn': value['reviewedOn'],
        'reviewedBy': value['reviewedBy'],
        'state': value['state'],
        'rejectionMessage': value['rejectionMessage'],
    };
}
//# sourceMappingURL=FormSubmissionStatus.js.map