# coding: utf-8

from __future__ import absolute_import
from datetime import date, datetime  # noqa: F401

from typing import List, Dict  # noqa: F401

from tapi_server.models.base_model_ import Model
from tapi_server import util


class TapiConnectivitySelectionReason(Model):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """

    """
    allowed enum values
    """
    LOCKOUT = "LOCKOUT"
    NORMAL = "NORMAL"
    MANUAL = "MANUAL"
    FORCED = "FORCED"
    WAIT_TO_REVERT = "WAIT_TO_REVERT"
    SIGNAL_DEGRADE = "SIGNAL_DEGRADE"
    SIGNAL_FAIL = "SIGNAL_FAIL"
    def __init__(self):  # noqa: E501
        """TapiConnectivitySelectionReason - a model defined in Swagger

        """
        self.swagger_types = {
        }

        self.attribute_map = {
        }

    @classmethod
    def from_dict(cls, dikt) -> 'TapiConnectivitySelectionReason':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The tapi.connectivity.SelectionReason of this TapiConnectivitySelectionReason.  # noqa: E501
        :rtype: TapiConnectivitySelectionReason
        """
        return util.deserialize_model(dikt, cls)
