# 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 import util


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

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

        :param link_id_or_name: The link_id_or_name of this TapiTopologyGetlinkdetailsInput.  # noqa: E501
        :type link_id_or_name: str
        :param topology_id_or_name: The topology_id_or_name of this TapiTopologyGetlinkdetailsInput.  # noqa: E501
        :type topology_id_or_name: str
        """
        self.swagger_types = {
            'link_id_or_name': str,
            'topology_id_or_name': str
        }

        self.attribute_map = {
            'link_id_or_name': 'link-id-or-name',
            'topology_id_or_name': 'topology-id-or-name'
        }
        self._link_id_or_name = link_id_or_name
        self._topology_id_or_name = topology_id_or_name

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

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

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

        none  # noqa: E501

        :return: The link_id_or_name of this TapiTopologyGetlinkdetailsInput.
        :rtype: str
        """
        return self._link_id_or_name

    @link_id_or_name.setter
    def link_id_or_name(self, link_id_or_name: str):
        """Sets the link_id_or_name of this TapiTopologyGetlinkdetailsInput.

        none  # noqa: E501

        :param link_id_or_name: The link_id_or_name of this TapiTopologyGetlinkdetailsInput.
        :type link_id_or_name: str
        """

        self._link_id_or_name = link_id_or_name

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

        none  # noqa: E501

        :return: The topology_id_or_name of this TapiTopologyGetlinkdetailsInput.
        :rtype: str
        """
        return self._topology_id_or_name

    @topology_id_or_name.setter
    def topology_id_or_name(self, topology_id_or_name: str):
        """Sets the topology_id_or_name of this TapiTopologyGetlinkdetailsInput.

        none  # noqa: E501

        :param topology_id_or_name: The topology_id_or_name of this TapiTopologyGetlinkdetailsInput.
        :type topology_id_or_name: str
        """

        self._topology_id_or_name = topology_id_or_name
