<?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\Search;

/**
 * SynonymType Class Doc Comment.
 *
 * @category Class
 *
 * @description Synonym type.
 */
class SynonymType
{
    /**
     * Possible values of this enum.
     */
    public const SYNONYM = 'synonym';

    public const ONEWAYSYNONYM = 'onewaysynonym';

    public const ALTCORRECTION1 = 'altcorrection1';

    public const ALTCORRECTION2 = 'altcorrection2';

    public const PLACEHOLDER = 'placeholder';

    public const ONE_WAY_SYNONYM = 'oneWaySynonym';

    public const ALT_CORRECTION1 = 'altCorrection1';

    public const ALT_CORRECTION2 = 'altCorrection2';

    /**
     * Gets allowable values of the enum.
     *
     * @return string[]
     */
    public static function getAllowableEnumValues()
    {
        return [
            self::SYNONYM,
            self::ONEWAYSYNONYM,
            self::ALTCORRECTION1,
            self::ALTCORRECTION2,
            self::PLACEHOLDER,
            self::ONE_WAY_SYNONYM,
            self::ALT_CORRECTION1,
            self::ALT_CORRECTION2,
        ];
    }
}
