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


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

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

        :param service: The service of this TapiPathComputationDeletep2ppathOutput.  # noqa: E501
        :type service: TapiPathComputationPathComputationService
        """
        self.swagger_types = {
            'service': TapiPathComputationPathComputationService
        }

        self.attribute_map = {
            'service': 'service'
        }
        self._service = service

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

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

    @property
    def service(self) -> TapiPathComputationPathComputationService:
        """Gets the service of this TapiPathComputationDeletep2ppathOutput.


        :return: The service of this TapiPathComputationDeletep2ppathOutput.
        :rtype: TapiPathComputationPathComputationService
        """
        return self._service

    @service.setter
    def service(self, service: TapiPathComputationPathComputationService):
        """Sets the service of this TapiPathComputationDeletep2ppathOutput.


        :param service: The service of this TapiPathComputationDeletep2ppathOutput.
        :type service: TapiPathComputationPathComputationService
        """

        self._service = service
