# 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.models.tapi_connectivity_route_ref import TapiConnectivityRouteRef  # noqa: F401,E501
from tapi_server import util


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

    Do not edit the class manually.
    """
    def __init__(self, selected_route: TapiConnectivityRouteRef=None):  # noqa: E501
        """TapiConnectivityRouteRefWrapper - a model defined in Swagger

        :param selected_route: The selected_route of this TapiConnectivityRouteRefWrapper.  # noqa: E501
        :type selected_route: TapiConnectivityRouteRef
        """
        self.swagger_types = {
            'selected_route': TapiConnectivityRouteRef
        }

        self.attribute_map = {
            'selected_route': 'selected-route'
        }
        self._selected_route = selected_route

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

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

    @property
    def selected_route(self) -> TapiConnectivityRouteRef:
        """Gets the selected_route of this TapiConnectivityRouteRefWrapper.


        :return: The selected_route of this TapiConnectivityRouteRefWrapper.
        :rtype: TapiConnectivityRouteRef
        """
        return self._selected_route

    @selected_route.setter
    def selected_route(self, selected_route: TapiConnectivityRouteRef):
        """Sets the selected_route of this TapiConnectivityRouteRefWrapper.


        :param selected_route: The selected_route of this TapiConnectivityRouteRefWrapper.
        :type selected_route: TapiConnectivityRouteRef
        """

        self._selected_route = selected_route
