<?php

declare (strict_types=1);
namespace idoit\Module\SyneticsJdisc\Graphql\Schema\Model;

use Axtiva\FlexibleGraphql\Generator\Exception\UnknownEnumValue;
use Axtiva\FlexibleGraphql\Type\EnumInterface;

/**
 * This code is @generated by axtiva/flexible-graphql-php
 * and will be regenerated. Do not edit it manually
 * PHP representation of graphql enum WlanCipherAlgorithm
 * The Wlan Cipher Algorithms
 */
final class WlanCipherAlgorithmEnum implements EnumInterface
{
    public const Unknown = 'Unknown';
    public const None = 'None';
    public const Wep40 = 'Wep40';
    public const Tkip = 'Tkip';
    public const Ccmp = 'Ccmp';
    public const Wep104 = 'Wep104';
    public const WpaUseGroup = 'WpaUseGroup';
    public const Wep = 'Wep';
    public const AES = 'AES';
    public const TKIPANDAES = 'TKIPANDAES';
    public string $value;
    private static array $map = [
        self::Unknown => true,
        self::None => true,
        self::Wep40 => true,
        self::Tkip => true,
        self::Ccmp => true,
        self::Wep104 => true,
        self::WpaUseGroup => true,
        self::Wep => true,
        self::AES => true,
        self::TKIPANDAES => true,
    ];

    public function __construct($value)
    {
        if (!isset(self::$map[$value])) {
            throw new UnknownEnumValue(__CLASS__, $value);
        }
        $this->value = $value;
    }

    public function __toString(): string
    {
        return $this->value;
    }
}