/* 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 AccessApprovalInfo interface.
 */
export function instanceOfAccessApprovalInfo(value) {
    return true;
}
export function AccessApprovalInfoFromJSON(json) {
    return AccessApprovalInfoFromJSONTyped(json, false);
}
export function AccessApprovalInfoFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'userId': json['userId'] == null ? undefined : json['userId'],
        'accessRequirementId': json['accessRequirementId'] == null ? undefined : json['accessRequirementId'],
        'hasAccessApproval': json['hasAccessApproval'] == null ? undefined : json['hasAccessApproval'],
    };
}
export function AccessApprovalInfoToJSON(json) {
    return AccessApprovalInfoToJSONTyped(json, false);
}
export function AccessApprovalInfoToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'userId': value['userId'],
        'accessRequirementId': value['accessRequirementId'],
        'hasAccessApproval': value['hasAccessApproval'],
    };
}
//# sourceMappingURL=AccessApprovalInfo.js.map