<?php

declare (strict_types=1);
namespace idoit\Module\JDisc\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 ClusterType
 * A cluster's type
 */
final class ClusterTypeEnum implements EnumInterface
{
    public const VeritasCluster = 'VeritasCluster';
    public const ServiceGuard = 'ServiceGuard';
    public const MicrosoftCluster = 'MicrosoftCluster';
    public const OracleSolaris = 'OracleSolaris';
    public const RedHatCluster = 'RedHatCluster';
    public const VRRPCluster = 'VRRPCluster';
    public const HSRPCluster = 'HSRPCluster';
    public const CitrixXenServerCluster = 'CitrixXenServerCluster';
    public const VMwareCluster = 'VMwareCluster';
    public const ProxmoxCluster = 'ProxmoxCluster';
    public const AIXCluster = 'AIXCluster';
    public const FortinetHA = 'FortinetHA';
    public const JuniperHA = 'JuniperHA';
    public const PacemakerCluster = 'PacemakerCluster';
    public const SonicwallCluster = 'SonicwallCluster';
    public const F5BigIPCluster = 'F5BigIPCluster';
    public const NutanixStorageCluster = 'NutanixStorageCluster';
    public const NetApp = 'NetApp';
    public const NetAppOntapSelect = 'NetAppOntapSelect';
    public const WatchGuard = 'WatchGuard';
    public const MicrosoftNLB = 'MicrosoftNLB';
    public const CiscoAPControllerCluster = 'CiscoAPControllerCluster';
    public string $value;
    private static array $map = [
        self::VeritasCluster => true,
        self::ServiceGuard => true,
        self::MicrosoftCluster => true,
        self::OracleSolaris => true,
        self::RedHatCluster => true,
        self::VRRPCluster => true,
        self::HSRPCluster => true,
        self::CitrixXenServerCluster => true,
        self::VMwareCluster => true,
        self::ProxmoxCluster => true,
        self::AIXCluster => true,
        self::FortinetHA => true,
        self::JuniperHA => true,
        self::PacemakerCluster => true,
        self::SonicwallCluster => true,
        self::F5BigIPCluster => true,
        self::NutanixStorageCluster => true,
        self::NetApp => true,
        self::NetAppOntapSelect => true,
        self::WatchGuard => true,
        self::MicrosoftNLB => true,
        self::CiscoAPControllerCluster => 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;
    }
}