<?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 InventoryUserRight
 * A user right assigned to a user
 */
final class InventoryUserRightEnum implements EnumInterface
{
    public const ControlDiscovery = 'ControlDiscovery';
    public const ChangeDiscoverySettings = 'ChangeDiscoverySettings';
    public const ViewData = 'ViewData';
    public const ManageUsers = 'ManageUsers';
    public const ManageDevices = 'ManageDevices';
    public const Admin = 'Admin';
    public const ManageMaps = 'ManageMaps';
    public const CreateRemoveArchives = 'CreateRemoveArchives';
    public const ManageInventoryServers = 'ManageInventoryServers';
    public const ManageCustomReports = 'ManageCustomReports';
    public const ManageCustomAttributes = 'ManageCustomAttributes';
    public const EditCustomAttributes = 'EditCustomAttributes';
    public const ManageCustomScripts = 'ManageCustomScripts';
    public const ManageDocuments = 'ManageDocuments';
    public const ViewDocuments = 'ViewDocuments';
    public const ManageHistory = 'ManageHistory';
    public const BrowseWbemData = 'BrowseWbemData';
    public const ManageNetworkLocations = 'ManageNetworkLocations';
    public const DiscoverSingleDevice = 'DiscoverSingleDevice';
    public const CreateSupportZIP = 'CreateSupportZIP';
    public const ManageMailAccounts = 'ManageMailAccounts';
    public const ManageScheduledMailReportJobs = 'ManageScheduledMailReportJobs';
    public const ManageScheduledReportExportJobs = 'ManageScheduledReportExportJobs';
    public const ScheduleReports = 'ScheduleReports';
    public const ManageShiUploadJobs = 'ManageShiUploadJobs';
    public const ManageLogging = 'ManageLogging';
    public const PollMeasurements = 'PollMeasurements';
    public const ChangeMeasurementConfiguration = 'ChangeMeasurementConfiguration';
    public const DeleteMeasurementData = 'DeleteMeasurementData';
    public const ManageApplications = 'ManageApplications';
    public const ImportDevices = 'ImportDevices';
    public const ManageIntegrations = 'ManageIntegrations';
    public const CreateStandaloneClientCommandline = 'CreateStandaloneClientCommandline';
    public string $value;
    private static array $map = [
        self::ControlDiscovery => true,
        self::ChangeDiscoverySettings => true,
        self::ViewData => true,
        self::ManageUsers => true,
        self::ManageDevices => true,
        self::Admin => true,
        self::ManageMaps => true,
        self::CreateRemoveArchives => true,
        self::ManageInventoryServers => true,
        self::ManageCustomReports => true,
        self::ManageCustomAttributes => true,
        self::EditCustomAttributes => true,
        self::ManageCustomScripts => true,
        self::ManageDocuments => true,
        self::ViewDocuments => true,
        self::ManageHistory => true,
        self::BrowseWbemData => true,
        self::ManageNetworkLocations => true,
        self::DiscoverSingleDevice => true,
        self::CreateSupportZIP => true,
        self::ManageMailAccounts => true,
        self::ManageScheduledMailReportJobs => true,
        self::ManageScheduledReportExportJobs => true,
        self::ScheduleReports => true,
        self::ManageShiUploadJobs => true,
        self::ManageLogging => true,
        self::PollMeasurements => true,
        self::ChangeMeasurementConfiguration => true,
        self::DeleteMeasurementData => true,
        self::ManageApplications => true,
        self::ImportDevices => true,
        self::ManageIntegrations => true,
        self::CreateStandaloneClientCommandline => 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;
    }
}