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

    Do not edit the class manually.
    """

    """
    allowed enum values
    """
    LP_CAN_NEVER_TERMINATE = "LP_CAN_NEVER_TERMINATE"
    LT_NOT_TERMINATED = "LT_NOT_TERMINATED"
    TERMINATED_SERVER_TO_CLIENT_FLOW = "TERMINATED_SERVER_TO_CLIENT_FLOW"
    TERMINATED_CLIENT_TO_SERVER_FLOW = "TERMINATED_CLIENT_TO_SERVER_FLOW"
    TERMINATED_BIDIRECTIONAL = "TERMINATED_BIDIRECTIONAL"
    LT_PERMENANTLY_TERMINATED = "LT_PERMENANTLY_TERMINATED"
    TERMINATION_STATE_UNKNOWN = "TERMINATION_STATE_UNKNOWN"
    def __init__(self):  # noqa: E501
        """TapiCommonTerminationState - a model defined in Swagger

        """
        self.swagger_types = {
        }

        self.attribute_map = {
        }

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

        :param dikt: A dict.
        :type: dict
        :return: The tapi.common.TerminationState of this TapiCommonTerminationState.  # noqa: E501
        :rtype: TapiCommonTerminationState
        """
        return util.deserialize_model(dikt, cls)
