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


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

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

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

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

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

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

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


        :return: The input of this OperationsTapipathcomputationcomputep2ppathBody.
        :rtype: TapiPathComputationComputep2ppathInput
        """
        return self._input

    @input.setter
    def input(self, input: TapiPathComputationComputep2ppathInput):
        """Sets the input of this OperationsTapipathcomputationcomputep2ppathBody.


        :param input: The input of this OperationsTapipathcomputationcomputep2ppathBody.
        :type input: TapiPathComputationComputep2ppathInput
        """

        self._input = input
