/* 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 FacetConstraint interface.
 */
export function instanceOfFacetConstraint(value) {
    return true;
}
export function FacetConstraintFromJSON(json) {
    return FacetConstraintFromJSONTyped(json, false);
}
export function FacetConstraintFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'value': json['value'] == null ? undefined : json['value'],
        'count': json['count'] == null ? undefined : json['count'],
    };
}
export function FacetConstraintToJSON(json) {
    return FacetConstraintToJSONTyped(json, false);
}
export function FacetConstraintToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'value': value['value'],
        'count': value['count'],
    };
}
//# sourceMappingURL=FacetConstraint.js.map