/* 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 { AccessApprovalNotificationFromJSON, AccessApprovalNotificationToJSON, } from './AccessApprovalNotification';
/**
 * Check if a given object implements the AccessApprovalNotificationResponse interface.
 */
export function instanceOfAccessApprovalNotificationResponse(value) {
    return true;
}
export function AccessApprovalNotificationResponseFromJSON(json) {
    return AccessApprovalNotificationResponseFromJSONTyped(json, false);
}
export function AccessApprovalNotificationResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'requirementId': json['requirementId'] == null ? undefined : json['requirementId'],
        'results': json['results'] == null ? undefined : (json['results'].map(AccessApprovalNotificationFromJSON)),
    };
}
export function AccessApprovalNotificationResponseToJSON(json) {
    return AccessApprovalNotificationResponseToJSONTyped(json, false);
}
export function AccessApprovalNotificationResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'requirementId': value['requirementId'],
        'results': value['results'] == null ? undefined : (value['results'].map(AccessApprovalNotificationToJSON)),
    };
}
//# sourceMappingURL=AccessApprovalNotificationResponse.js.map