<?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 UpdateTopic
 * Enumeration which defines the GRAPHQL topics on which a client can subscribe to
 */
final class UpdateTopicEnum implements EnumInterface
{
    public const DISCOVERY_STATUS_OVERALL_PROCESS = 'DISCOVERY_STATUS_OVERALL_PROCESS';
    public const DISCOVERY_STATUS_OVERALL_PROCESS_SUMMARY = 'DISCOVERY_STATUS_OVERALL_PROCESS_SUMMARY';
    public const DISCOVERY_STATUS_DEVICES = 'DISCOVERY_STATUS_DEVICES';
    public const DISCOVERY_STATUS_DEVICES_DETAILS = 'DISCOVERY_STATUS_DEVICES_DETAILS';
    public const DISCOVERY_STATUS_PING = 'DISCOVERY_STATUS_PING';
    public const DISCOVERY_STATUS_NETWORK_NEIGHBORHOOD = 'DISCOVERY_STATUS_NETWORK_NEIGHBORHOOD';
    public const DISCOVERY_STATUS_NETWORK_SYNC = 'DISCOVERY_STATUS_NETWORK_SYNC';
    public const DISCOVERY_STATUS_DIRECTORY = 'DISCOVERY_STATUS_DIRECTORY';
    public const DISCOVERY_STATUS_DIRECTORY_SYNC = 'DISCOVERY_STATUS_DIRECTORY_SYNC';
    public const DISCOVERY_STATUS_TOPOLOGY_JOBS = 'DISCOVERY_STATUS_TOPOLOGY_JOBS';
    public const DISCOVERY_STATUS_DEVICE_HISTORY = 'DISCOVERY_STATUS_DEVICE_HISTORY';
    public const DISCOVERY_STATUS_DISCOVERY_JOBS = 'DISCOVERY_STATUS_DISCOVERY_JOBS';
    public const DISCOVERY_STATUS_MEASUREMENT = 'DISCOVERY_STATUS_MEASUREMENT';
    public const DISCOVERY_STATUS_CLOUD = 'DISCOVERY_STATUS_CLOUD';
    public const DIALOG_LOCK_STATUS = 'DIALOG_LOCK_STATUS';
    public string $value;
    private static array $map = [
        self::DISCOVERY_STATUS_OVERALL_PROCESS => true,
        self::DISCOVERY_STATUS_OVERALL_PROCESS_SUMMARY => true,
        self::DISCOVERY_STATUS_DEVICES => true,
        self::DISCOVERY_STATUS_DEVICES_DETAILS => true,
        self::DISCOVERY_STATUS_PING => true,
        self::DISCOVERY_STATUS_NETWORK_NEIGHBORHOOD => true,
        self::DISCOVERY_STATUS_NETWORK_SYNC => true,
        self::DISCOVERY_STATUS_DIRECTORY => true,
        self::DISCOVERY_STATUS_DIRECTORY_SYNC => true,
        self::DISCOVERY_STATUS_TOPOLOGY_JOBS => true,
        self::DISCOVERY_STATUS_DEVICE_HISTORY => true,
        self::DISCOVERY_STATUS_DISCOVERY_JOBS => true,
        self::DISCOVERY_STATUS_MEASUREMENT => true,
        self::DISCOVERY_STATUS_CLOUD => true,
        self::DIALOG_LOCK_STATUS => 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;
    }
}