/* 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 EmailQuarantineStatusReasonEnum = {
    PERMANENT_BOUNCE: 'PERMANENT_BOUNCE',
    TRANSIENT_BOUNCE: 'TRANSIENT_BOUNCE',
    COMPLAINT: 'COMPLAINT',
    OTHER: 'OTHER'
};
/**
 * Check if a given object implements the EmailQuarantineStatus interface.
 */
export function instanceOfEmailQuarantineStatus(value) {
    return true;
}
export function EmailQuarantineStatusFromJSON(json) {
    return EmailQuarantineStatusFromJSONTyped(json, false);
}
export function EmailQuarantineStatusFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'reason': json['reason'] == null ? undefined : json['reason'],
        'reasonDetails': json['reasonDetails'] == null ? undefined : json['reasonDetails'],
        'expiration': json['expiration'] == null ? undefined : json['expiration'],
    };
}
export function EmailQuarantineStatusToJSON(json) {
    return EmailQuarantineStatusToJSONTyped(json, false);
}
export function EmailQuarantineStatusToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'reason': value['reason'],
        'reasonDetails': value['reasonDetails'],
        'expiration': value['expiration'],
    };
}
//# sourceMappingURL=EmailQuarantineStatus.js.map