# 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_resilience_route import TapiConnectivityResilienceRoute  # noqa: F401,E501
from tapi_server import util


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

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

        :param resilience_route_pac: The resilience_route_pac of this TapiConnectivityResilienceRouteWrapper.  # noqa: E501
        :type resilience_route_pac: TapiConnectivityResilienceRoute
        """
        self.swagger_types = {
            'resilience_route_pac': TapiConnectivityResilienceRoute
        }

        self.attribute_map = {
            'resilience_route_pac': 'resilience-route-pac'
        }
        self._resilience_route_pac = resilience_route_pac

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

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

    @property
    def resilience_route_pac(self) -> TapiConnectivityResilienceRoute:
        """Gets the resilience_route_pac of this TapiConnectivityResilienceRouteWrapper.


        :return: The resilience_route_pac of this TapiConnectivityResilienceRouteWrapper.
        :rtype: TapiConnectivityResilienceRoute
        """
        return self._resilience_route_pac

    @resilience_route_pac.setter
    def resilience_route_pac(self, resilience_route_pac: TapiConnectivityResilienceRoute):
        """Sets the resilience_route_pac of this TapiConnectivityResilienceRouteWrapper.


        :param resilience_route_pac: The resilience_route_pac of this TapiConnectivityResilienceRouteWrapper.
        :type resilience_route_pac: TapiConnectivityResilienceRoute
        """

        self._resilience_route_pac = resilience_route_pac
