/* 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 FacetColumnResultRangeConcreteTypeEnum = {
    org_sagebionetworks_repo_model_table_FacetColumnResultRange: 'org.sagebionetworks.repo.model.table.FacetColumnResultRange'
};
/**
 * @export
 */
export const FacetColumnResultRangeFacetTypeEnum = {
    enumeration: 'enumeration',
    range: 'range'
};
/**
 * Check if a given object implements the FacetColumnResultRange interface.
 */
export function instanceOfFacetColumnResultRange(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(FacetColumnResultRangeConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function FacetColumnResultRangeFromJSON(json) {
    return FacetColumnResultRangeFromJSONTyped(json, false);
}
export function FacetColumnResultRangeFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'columnName': json['columnName'] == null ? undefined : json['columnName'],
        'facetType': json['facetType'] == null ? undefined : json['facetType'],
        'jsonPath': json['jsonPath'] == null ? undefined : json['jsonPath'],
        'columnMin': json['columnMin'] == null ? undefined : json['columnMin'],
        'columnMax': json['columnMax'] == null ? undefined : json['columnMax'],
        'selectedMin': json['selectedMin'] == null ? undefined : json['selectedMin'],
        'selectedMax': json['selectedMax'] == null ? undefined : json['selectedMax'],
    };
}
export function FacetColumnResultRangeToJSON(json) {
    return FacetColumnResultRangeToJSONTyped(json, false);
}
export function FacetColumnResultRangeToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'columnName': value['columnName'],
        'facetType': value['facetType'],
        'jsonPath': value['jsonPath'],
        'columnMin': value['columnMin'],
        'columnMax': value['columnMax'],
        'selectedMin': value['selectedMin'],
        'selectedMax': value['selectedMax'],
    };
}
//# sourceMappingURL=FacetColumnResultRange.js.map