<?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 AccountType
 * The account's type
 */
final class AccountTypeEnum implements EnumInterface
{
    public const Login = 'Login';
    public const Virtualization = 'Virtualization';
    public const Containerization = 'Containerization';
    public const Database = 'Database';
    public const PostgreSQLDB = 'PostgreSQLDB';
    public const MSSQLSERVERDB = 'MSSQLSERVERDB';
    public const MYSQLDB = 'MYSQLDB';
    public const ORACLEDB = 'ORACLEDB';
    public const SYBASEDB = 'SYBASEDB';
    public const DB2DB = 'DB2DB';
    public const OtherDB = 'OtherDB';
    public const API = 'API';
    public const SNMP = 'SNMP';
    public const Other = 'Other';
    public const User = 'User';
    public const Administrative = 'Administrative';
    public const Discovered = 'Discovered';
    public const Undefined = 'Undefined';
    public const VmwareAPI = 'VmwareAPI';
    public const Http = 'Http';
    public const DiscoveredCloud = 'DiscoveredCloud';
    public const Laps = 'Laps';
    public const Redfish = 'Redfish';
    public const oVirt = 'oVirt';
    public const Kubernetes_API = 'Kubernetes_API';
    public const SnmpV3 = 'SnmpV3';
    public const SnmpCommunity = 'SnmpCommunity';
    public const DbInstance = 'DbInstance';
    public const Db = 'Db';
    public const SSH = 'SSH';
    public const Thycotic = 'Thycotic';
    public const Cyberark = 'Cyberark';
    public const Passwordstate = 'Passwordstate';
    public const ManageEnginePMP = 'ManageEnginePMP';
    public const AceBITDepot = 'AceBITDepot';
    public string $value;
    private static array $map = [
        self::Login => true,
        self::Virtualization => true,
        self::Containerization => true,
        self::Database => true,
        self::PostgreSQLDB => true,
        self::MSSQLSERVERDB => true,
        self::MYSQLDB => true,
        self::ORACLEDB => true,
        self::SYBASEDB => true,
        self::DB2DB => true,
        self::OtherDB => true,
        self::API => true,
        self::SNMP => true,
        self::Other => true,
        self::User => true,
        self::Administrative => true,
        self::Discovered => true,
        self::Undefined => true,
        self::VmwareAPI => true,
        self::Http => true,
        self::DiscoveredCloud => true,
        self::Laps => true,
        self::Redfish => true,
        self::oVirt => true,
        self::Kubernetes_API => true,
        self::SnmpV3 => true,
        self::SnmpCommunity => true,
        self::DbInstance => true,
        self::Db => true,
        self::SSH => true,
        self::Thycotic => true,
        self::Cyberark => true,
        self::Passwordstate => true,
        self::ManageEnginePMP => true,
        self::AceBITDepot => 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;
    }
}