/* 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.
 */
/**
 * Check if a given object implements the RestrictionFulfillment interface.
 */
export function instanceOfRestrictionFulfillment(value) {
    return true;
}
export function RestrictionFulfillmentFromJSON(json) {
    return RestrictionFulfillmentFromJSONTyped(json, false);
}
export function RestrictionFulfillmentFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'accessRequirementId': json['accessRequirementId'] == null ? undefined : json['accessRequirementId'],
        'isApproved': json['isApproved'] == null ? undefined : json['isApproved'],
        'isMet': json['isMet'] == null ? undefined : json['isMet'],
        'isExempt': json['isExempt'] == null ? undefined : json['isExempt'],
    };
}
export function RestrictionFulfillmentToJSON(json) {
    return RestrictionFulfillmentToJSONTyped(json, false);
}
export function RestrictionFulfillmentToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'accessRequirementId': value['accessRequirementId'],
        'isApproved': value['isApproved'],
        'isMet': value['isMet'],
        'isExempt': value['isExempt'],
    };
}
//# sourceMappingURL=RestrictionFulfillment.js.map