/* 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 BasicAccessRequirementStatusConcreteTypeEnum = {
    org_sagebionetworks_repo_model_dataaccess_BasicAccessRequirementStatus: 'org.sagebionetworks.repo.model.dataaccess.BasicAccessRequirementStatus'
};
/**
 * Check if a given object implements the BasicAccessRequirementStatus interface.
 */
export function instanceOfBasicAccessRequirementStatus(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(BasicAccessRequirementStatusConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function BasicAccessRequirementStatusFromJSON(json) {
    return BasicAccessRequirementStatusFromJSONTyped(json, false);
}
export function BasicAccessRequirementStatusFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'accessRequirementId': json['accessRequirementId'] == null ? undefined : json['accessRequirementId'],
        'concreteType': json['concreteType'],
        'isApproved': json['isApproved'] == null ? undefined : json['isApproved'],
        'expiredOn': json['expiredOn'] == null ? undefined : json['expiredOn'],
    };
}
export function BasicAccessRequirementStatusToJSON(json) {
    return BasicAccessRequirementStatusToJSONTyped(json, false);
}
export function BasicAccessRequirementStatusToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'accessRequirementId': value['accessRequirementId'],
        'concreteType': value['concreteType'],
        'isApproved': value['isApproved'],
        'expiredOn': value['expiredOn'],
    };
}
//# sourceMappingURL=BasicAccessRequirementStatus.js.map