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


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

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

        :param output: The output of this TapiTopologyGetLinkDetails.  # noqa: E501
        :type output: TapiTopologyGetlinkdetailsOutput
        """
        self.swagger_types = {
            'output': TapiTopologyGetlinkdetailsOutput
        }

        self.attribute_map = {
            'output': 'output'
        }
        self._output = output

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

        :param dikt: A dict.
        :type: dict
        :return: The tapi.topology.GetLinkDetails of this TapiTopologyGetLinkDetails.  # noqa: E501
        :rtype: TapiTopologyGetLinkDetails
        """
        return util.deserialize_model(dikt, cls)

    @property
    def output(self) -> TapiTopologyGetlinkdetailsOutput:
        """Gets the output of this TapiTopologyGetLinkDetails.


        :return: The output of this TapiTopologyGetLinkDetails.
        :rtype: TapiTopologyGetlinkdetailsOutput
        """
        return self._output

    @output.setter
    def output(self, output: TapiTopologyGetlinkdetailsOutput):
        """Sets the output of this TapiTopologyGetLinkDetails.


        :param output: The output of this TapiTopologyGetLinkDetails.
        :type output: TapiTopologyGetlinkdetailsOutput
        """

        self._output = output
