<?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 DiagramRelationId
 * The diagram relation id
 */
final class DiagramRelationIdEnum implements EnumInterface
{
    public const getIP4NetworkDevices = 'getIP4NetworkDevices';
    public const getIP6NetworkDevices = 'getIP6NetworkDevices';
    public const getOperatingSystem = 'getOperatingSystem';
    public const getProcessors = 'getProcessors';
    public const getProcessorSlots = 'getProcessorSlots';
    public const getPhysicalDiskSlots = 'getPhysicalDiskSlots';
    public const getDeviceLogicalDisks = 'getDeviceLogicalDisks';
    public const getDeviceDiskPartitions = 'getDeviceDiskPartitions';
    public const getPhysicalDiskPartitions = 'getPhysicalDiskPartitions';
    public const getPartitionPhysicalDisk = 'getPartitionPhysicalDisk';
    public const getPhysicalDisk = 'getPhysicalDisk';
    public const getConnectedDevices = 'getConnectedDevices';
    public const getManagedVCenters = 'getManagedVCenters';
    public const getMemoryModule = 'getMemoryModule';
    public const getMemoryModuleSlots = 'getMemoryModuleSlots';
    public const getModuleSlots = 'getModuleSlots';
    public const getVCentersWhereMemberOf = 'getVCentersWhereMemberOf';
    public const getVCenterWhereMemberOf = 'getVCenterWhereMemberOf';
    public const getHostedVirtualMachines = 'getHostedVirtualMachines';
    public const getClustersMemberOf = 'getClustersMemberOf';
    public const getClusterMembers = 'getClusterMembers';
    public const getClusterVirtualMachines = 'getClusterVirtualMachines';
    public const getClusters = 'getClusters';
    public const getApplicationInstallations = 'getApplicationInstallations';
    public const getInstalledApplications = 'getInstalledApplications';
    public const getApplications = 'getApplications';
    public const getStackedSwitchMembers = 'getStackedSwitchMembers';
    public string $value;
    private static array $map = [
        self::getIP4NetworkDevices => true,
        self::getIP6NetworkDevices => true,
        self::getOperatingSystem => true,
        self::getProcessors => true,
        self::getProcessorSlots => true,
        self::getPhysicalDiskSlots => true,
        self::getDeviceLogicalDisks => true,
        self::getDeviceDiskPartitions => true,
        self::getPhysicalDiskPartitions => true,
        self::getPartitionPhysicalDisk => true,
        self::getPhysicalDisk => true,
        self::getConnectedDevices => true,
        self::getManagedVCenters => true,
        self::getMemoryModule => true,
        self::getMemoryModuleSlots => true,
        self::getModuleSlots => true,
        self::getVCentersWhereMemberOf => true,
        self::getVCenterWhereMemberOf => true,
        self::getHostedVirtualMachines => true,
        self::getClustersMemberOf => true,
        self::getClusterMembers => true,
        self::getClusterVirtualMachines => true,
        self::getClusters => true,
        self::getApplicationInstallations => true,
        self::getInstalledApplications => true,
        self::getApplications => true,
        self::getStackedSwitchMembers => 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;
    }
}