/* 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 SubmissionStateChangeRequestNewStateEnum = {
    SUBMITTED: 'SUBMITTED',
    APPROVED: 'APPROVED',
    REJECTED: 'REJECTED',
    CANCELLED: 'CANCELLED'
};
/**
 * Check if a given object implements the SubmissionStateChangeRequest interface.
 */
export function instanceOfSubmissionStateChangeRequest(value) {
    return true;
}
export function SubmissionStateChangeRequestFromJSON(json) {
    return SubmissionStateChangeRequestFromJSONTyped(json, false);
}
export function SubmissionStateChangeRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'submissionId': json['submissionId'] == null ? undefined : json['submissionId'],
        'newState': json['newState'] == null ? undefined : json['newState'],
        'rejectedReason': json['rejectedReason'] == null ? undefined : json['rejectedReason'],
    };
}
export function SubmissionStateChangeRequestToJSON(json) {
    return SubmissionStateChangeRequestToJSONTyped(json, false);
}
export function SubmissionStateChangeRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'submissionId': value['submissionId'],
        'newState': value['newState'],
        'rejectedReason': value['rejectedReason'],
    };
}
//# sourceMappingURL=SubmissionStateChangeRequest.js.map