<?php

declare(strict_types=1);

namespace Drupal\netforum\xWeb\Generated\EnumType;

use WsdlToPhp\PackageBase\AbstractStructEnumBase;

/**
 * This class stands for MailingPerferenceStatus EnumType
 * @subpackage Enumerations
 * @author Drupal NetForum xWeb PHP SDK Generator
 * @version 1.0.0
 * @license GPL-2.0-or-later https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * @see https://www.drupal.org/project/netforum
 * @generatedDate 2025-08-05
 * @generatedRelease Official
 * @generatedNetForumVersion 37
 */
class MailingPerferenceStatus extends AbstractStructEnumBase
{
    /**
     * Constant for value 'OptIn'
     * @return string 'OptIn'
     */
    const VALUE_OPT_IN = 'OptIn';
    /**
     * Constant for value 'OptOut'
     * @return string 'OptOut'
     */
    const VALUE_OPT_OUT = 'OptOut';
    /**
     * Constant for value 'Undefined'
     * @return string 'Undefined'
     */
    const VALUE_UNDEFINED = 'Undefined';
    /**
     * Return allowed values
     * @uses self::VALUE_OPT_IN
     * @uses self::VALUE_OPT_OUT
     * @uses self::VALUE_UNDEFINED
     * @return string[]
     */
    public static function getValidValues(): array
    {
        return [
            self::VALUE_OPT_IN,
            self::VALUE_OPT_OUT,
            self::VALUE_UNDEFINED,
        ];
    }
}
