/* 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 SearchFacetOptionNameEnum = {
    Id: 'Id',
    Name: 'Name',
    Description: 'Description',
    EntityType: 'EntityType',
    ModifiedBy: 'ModifiedBy',
    ModifiedOn: 'ModifiedOn',
    CreatedBy: 'CreatedBy',
    CreatedOn: 'CreatedOn',
    Consortium: 'Consortium',
    Diagnosis: 'Diagnosis',
    Organ: 'Organ',
    Tissue: 'Tissue'
};
/**
 * @export
 */
export const SearchFacetOptionSortTypeEnum = {
    ALPHA: 'ALPHA',
    COUNT: 'COUNT'
};
/**
 * Check if a given object implements the SearchFacetOption interface.
 */
export function instanceOfSearchFacetOption(value) {
    return true;
}
export function SearchFacetOptionFromJSON(json) {
    return SearchFacetOptionFromJSONTyped(json, false);
}
export function SearchFacetOptionFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'maxResultCount': json['maxResultCount'] == null ? undefined : json['maxResultCount'],
        'sortType': json['sortType'] == null ? undefined : json['sortType'],
    };
}
export function SearchFacetOptionToJSON(json) {
    return SearchFacetOptionToJSONTyped(json, false);
}
export function SearchFacetOptionToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'maxResultCount': value['maxResultCount'],
        'sortType': value['sortType'],
    };
}
//# sourceMappingURL=SearchFacetOption.js.map