/* 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 AccessRequestSummaryStatusEnum = {
    created: 'created',
    sent: 'sent',
    delivered: 'delivered',
    completed: 'completed',
    declined: 'declined',
    voided: 'voided',
    correct: 'correct',
    submitted: 'submitted',
    approved: 'approved',
    rejected: 'rejected',
    cancelled: 'cancelled'
};
/**
 * Check if a given object implements the AccessRequestSummary interface.
 */
export function instanceOfAccessRequestSummary(value) {
    return true;
}
export function AccessRequestSummaryFromJSON(json) {
    return AccessRequestSummaryFromJSONTyped(json, false);
}
export function AccessRequestSummaryFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'requestId': json['requestId'] == null ? undefined : json['requestId'],
        'accessRequirementName': json['accessRequirementName'] == null ? undefined : json['accessRequirementName'],
        'status': json['status'] == null ? undefined : json['status'],
        'isEDuc': json['isEDuc'] == null ? undefined : json['isEDuc'],
        'signaturesRequested': json['signaturesRequested'] == null ? undefined : json['signaturesRequested'],
        'signaturesAcquired': json['signaturesAcquired'] == null ? undefined : json['signaturesAcquired'],
        'submittedOn': json['submittedOn'] == null ? undefined : json['submittedOn'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
        'expiresOn': json['expiresOn'] == null ? undefined : json['expiresOn'],
    };
}
export function AccessRequestSummaryToJSON(json) {
    return AccessRequestSummaryToJSONTyped(json, false);
}
export function AccessRequestSummaryToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'requestId': value['requestId'],
        'accessRequirementName': value['accessRequirementName'],
        'status': value['status'],
        'isEDuc': value['isEDuc'],
        'signaturesRequested': value['signaturesRequested'],
        'signaturesAcquired': value['signaturesAcquired'],
        'submittedOn': value['submittedOn'],
        'modifiedOn': value['modifiedOn'],
        'expiresOn': value['expiresOn'],
    };
}
//# sourceMappingURL=AccessRequestSummary.js.map