/** * 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. */ /** * JSON schema for a facet field sort key-value pair. * @export * @interface FacetSort */ export interface FacetSort { /** * The facet name * @type {string} * @memberof FacetSort */ facetName?: string; /** * The type of sort option for a facet * @type {string} * @memberof FacetSort */ sortType?: FacetSortSortTypeEnum; /** * Sort the facet values by the sum of the values in two or more fields. This is a list of names of the fields to sum. * @type {Array} * @memberof FacetSort */ sumFields?: Array; /** * The facet name * @type {string} * @memberof FacetSort */ maxfield?: string; } /** * @export */ export declare const FacetSortSortTypeEnum: { readonly ALPHA: "ALPHA"; readonly COUNT: "COUNT"; readonly MAX: "MAX"; readonly SUM: "SUM"; }; export type FacetSortSortTypeEnum = typeof FacetSortSortTypeEnum[keyof typeof FacetSortSortTypeEnum]; /** * Check if a given object implements the FacetSort interface. */ export declare function instanceOfFacetSort(value: object): value is FacetSort; export declare function FacetSortFromJSON(json: any): FacetSort; export declare function FacetSortFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacetSort; export declare function FacetSortToJSON(json: any): FacetSort; export declare function FacetSortToJSONTyped(value?: FacetSort | null, ignoreDiscriminator?: boolean): any;