/* 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 DataaccessSubmissionStatusStateEnum = {
    SUBMITTED: 'SUBMITTED',
    APPROVED: 'APPROVED',
    REJECTED: 'REJECTED',
    CANCELLED: 'CANCELLED'
};
/**
 * Check if a given object implements the DataaccessSubmissionStatus interface.
 */
export function instanceOfDataaccessSubmissionStatus(value) {
    return true;
}
export function DataaccessSubmissionStatusFromJSON(json) {
    return DataaccessSubmissionStatusFromJSONTyped(json, false);
}
export function DataaccessSubmissionStatusFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'submissionId': json['submissionId'] == null ? undefined : json['submissionId'],
        'submittedBy': json['submittedBy'] == null ? undefined : json['submittedBy'],
        'rejectedReason': json['rejectedReason'] == null ? undefined : json['rejectedReason'],
        'state': json['state'] == null ? undefined : json['state'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
    };
}
export function DataaccessSubmissionStatusToJSON(json) {
    return DataaccessSubmissionStatusToJSONTyped(json, false);
}
export function DataaccessSubmissionStatusToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'submissionId': value['submissionId'],
        'submittedBy': value['submittedBy'],
        'rejectedReason': value['rejectedReason'],
        'state': value['state'],
        'modifiedOn': value['modifiedOn'],
    };
}
//# sourceMappingURL=DataaccessSubmissionStatus.js.map