# 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 TapiConnectivityProtectionRole(Model):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """

    """
    allowed enum values
    """
    WORK = "WORK"
    PROTECT = "PROTECT"
    PROTECTED = "PROTECTED"
    NA = "NA"
    WORK_RESTORE = "WORK_RESTORE"
    PROTECT_RESTORE = "PROTECT_RESTORE"
    def __init__(self):  # noqa: E501
        """TapiConnectivityProtectionRole - a model defined in Swagger

        """
        self.swagger_types = {
        }

        self.attribute_map = {
        }

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

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