/* 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 { EDucSignerStatusFromJSON, EDucSignerStatusToJSON, } from './EDucSignerStatus';
/**
 * @export
 */
export const EDucSignatureStatusDucStatusEnum = {
    sent: 'sent',
    delivered: 'delivered',
    completed: 'completed',
    declined: 'declined',
    voided: 'voided',
    correct: 'correct'
};
/**
 * Check if a given object implements the EDucSignatureStatus interface.
 */
export function instanceOfEDucSignatureStatus(value) {
    return true;
}
export function EDucSignatureStatusFromJSON(json) {
    return EDucSignatureStatusFromJSONTyped(json, false);
}
export function EDucSignatureStatusFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'dataAccessRequestId': json['dataAccessRequestId'] == null ? undefined : json['dataAccessRequestId'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
        'ducStatus': json['ducStatus'] == null ? undefined : json['ducStatus'],
        'includesRequestChanges': json['includesRequestChanges'] == null ? undefined : json['includesRequestChanges'],
        'signerStatus': json['signerStatus'] == null ? undefined : (json['signerStatus'].map(EDucSignerStatusFromJSON)),
    };
}
export function EDucSignatureStatusToJSON(json) {
    return EDucSignatureStatusToJSONTyped(json, false);
}
export function EDucSignatureStatusToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'dataAccessRequestId': value['dataAccessRequestId'],
        'createdOn': value['createdOn'],
        'modifiedOn': value['modifiedOn'],
        'ducStatus': value['ducStatus'],
        'includesRequestChanges': value['includesRequestChanges'],
        'signerStatus': value['signerStatus'] == null ? undefined : (value['signerStatus'].map(EDucSignerStatusToJSON)),
    };
}
//# sourceMappingURL=EDucSignatureStatus.js.map