<?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 DialogLockId
 * The dialog lock id
 */
final class DialogLockIdEnum implements EnumInterface
{
    public const DiscoverySettingsDialog = 'DiscoverySettingsDialog';
    public const ConfigureCustomAttributesDialog = 'ConfigureCustomAttributesDialog';
    public const ManageDocumentsDialog = 'ManageDocumentsDialog';
    public const DataCollectionManagementDialog = 'DataCollectionManagementDialog';
    public const EditPortNamesDialog = 'EditPortNamesDialog';
    public const ManageMailAccountsDialog = 'ManageMailAccountsDialog';
    public const ManageNetworkStorageLocationsDialog = 'ManageNetworkStorageLocationsDialog';
    public const ScheduleDatabaseArchiveDialog = 'ScheduleDatabaseArchiveDialog';
    public const ScheduleCompactDatabaseDialog = 'ScheduleCompactDatabaseDialog';
    public const SoftwareUsageMeteringTemplatesDialog = 'SoftwareUsageMeteringTemplatesDialog';
    public const UserManagement = 'UserManagement';
    public string $value;
    private static array $map = [
        self::DiscoverySettingsDialog => true,
        self::ConfigureCustomAttributesDialog => true,
        self::ManageDocumentsDialog => true,
        self::DataCollectionManagementDialog => true,
        self::EditPortNamesDialog => true,
        self::ManageMailAccountsDialog => true,
        self::ManageNetworkStorageLocationsDialog => true,
        self::ScheduleDatabaseArchiveDialog => true,
        self::ScheduleCompactDatabaseDialog => true,
        self::SoftwareUsageMeteringTemplatesDialog => true,
        self::UserManagement => 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;
    }
}