<?php

// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.

namespace Algolia\AlgoliaSearch\Model\Composition;

/**
 * SortRemainingBy Class Doc Comment.
 *
 * @category Class
 *
 * @description Order of facet values that aren't explicitly positioned with the `order` setting.  - `count`.   Order remaining facet values by decreasing count.   The count is the number of matching records containing this facet value.  - `alpha`.   Sort facet values alphabetically.  - `hidden`.   Don't show facet values that aren't explicitly positioned.
 */
class SortRemainingBy
{
    /**
     * Possible values of this enum.
     */
    public const COUNT = 'count';

    public const ALPHA = 'alpha';

    public const HIDDEN = 'hidden';

    /**
     * Gets allowable values of the enum.
     *
     * @return string[]
     */
    public static function getAllowableEnumValues()
    {
        return [
            self::COUNT,
            self::ALPHA,
            self::HIDDEN,
        ];
    }
}
