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


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

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

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

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

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

        :param dikt: A dict.
        :type: dict
        :return: The tapi.path.computation.OptimizeP2Ppath of this TapiPathComputationOptimizeP2Ppath.  # noqa: E501
        :rtype: TapiPathComputationOptimizeP2Ppath
        """
        return util.deserialize_model(dikt, cls)

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


        :return: The output of this TapiPathComputationOptimizeP2Ppath.
        :rtype: TapiPathComputationOptimizep2ppathOutput
        """
        return self._output

    @output.setter
    def output(self, output: TapiPathComputationOptimizep2ppathOutput):
        """Sets the output of this TapiPathComputationOptimizeP2Ppath.


        :param output: The output of this TapiPathComputationOptimizeP2Ppath.
        :type output: TapiPathComputationOptimizep2ppathOutput
        """

        self._output = output
