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


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

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

        :param input: The input of this OperationsTapitopologygetlinkdetailsBody.  # noqa: E501
        :type input: TapiTopologyGetlinkdetailsInput
        """
        self.swagger_types = {
            'input': TapiTopologyGetlinkdetailsInput
        }

        self.attribute_map = {
            'input': 'input'
        }
        self._input = input

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

        :param dikt: A dict.
        :type: dict
        :return: The operations_tapitopologygetlinkdetails_body of this OperationsTapitopologygetlinkdetailsBody.  # noqa: E501
        :rtype: OperationsTapitopologygetlinkdetailsBody
        """
        return util.deserialize_model(dikt, cls)

    @property
    def input(self) -> TapiTopologyGetlinkdetailsInput:
        """Gets the input of this OperationsTapitopologygetlinkdetailsBody.


        :return: The input of this OperationsTapitopologygetlinkdetailsBody.
        :rtype: TapiTopologyGetlinkdetailsInput
        """
        return self._input

    @input.setter
    def input(self, input: TapiTopologyGetlinkdetailsInput):
        """Sets the input of this OperationsTapitopologygetlinkdetailsBody.


        :param input: The input of this OperationsTapitopologygetlinkdetailsBody.
        :type input: TapiTopologyGetlinkdetailsInput
        """

        self._input = input
