/* 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 AccessApprovalNotificationNotificationTypeEnum = {
    REVOCATION: 'REVOCATION',
    FIRST_RENEWAL_REMINDER: 'FIRST_RENEWAL_REMINDER',
    SECOND_RENEWAL_REMINDER: 'SECOND_RENEWAL_REMINDER'
};
/**
 * Check if a given object implements the AccessApprovalNotification interface.
 */
export function instanceOfAccessApprovalNotification(value) {
    return true;
}
export function AccessApprovalNotificationFromJSON(json) {
    return AccessApprovalNotificationFromJSONTyped(json, false);
}
export function AccessApprovalNotificationFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'notificationType': json['notificationType'] == null ? undefined : json['notificationType'],
        'requirementId': json['requirementId'] == null ? undefined : json['requirementId'],
        'recipientId': json['recipientId'] == null ? undefined : json['recipientId'],
        'sentOn': json['sentOn'] == null ? undefined : json['sentOn'],
    };
}
export function AccessApprovalNotificationToJSON(json) {
    return AccessApprovalNotificationToJSONTyped(json, false);
}
export function AccessApprovalNotificationToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'notificationType': value['notificationType'],
        'requirementId': value['requirementId'],
        'recipientId': value['recipientId'],
        'sentOn': value['sentOn'],
    };
}
//# sourceMappingURL=AccessApprovalNotification.js.map