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


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

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

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

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

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

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

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


        :return: The input of this OperationsTapitopologygettopologydetailsBody.
        :rtype: TapiTopologyGettopologydetailsInput
        """
        return self._input

    @input.setter
    def input(self, input: TapiTopologyGettopologydetailsInput):
        """Sets the input of this OperationsTapitopologygettopologydetailsBody.


        :param input: The input of this OperationsTapitopologygettopologydetailsBody.
        :type input: TapiTopologyGettopologydetailsInput
        """

        self._input = input
