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


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

    Do not edit the class manually.
    """
    def __init__(self, service: List[TapiConnectivityConnectivityService]=None):  # noqa: E501
        """TapiConnectivityGetconnectivityservicelistOutput - a model defined in Swagger

        :param service: The service of this TapiConnectivityGetconnectivityservicelistOutput.  # noqa: E501
        :type service: List[TapiConnectivityConnectivityService]
        """
        self.swagger_types = {
            'service': List[TapiConnectivityConnectivityService]
        }

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

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

        :param dikt: A dict.
        :type: dict
        :return: The tapi.connectivity.getconnectivityservicelist.Output of this TapiConnectivityGetconnectivityservicelistOutput.  # noqa: E501
        :rtype: TapiConnectivityGetconnectivityservicelistOutput
        """
        return util.deserialize_model(dikt, cls)

    @property
    def service(self) -> List[TapiConnectivityConnectivityService]:
        """Gets the service of this TapiConnectivityGetconnectivityservicelistOutput.

        none  # noqa: E501

        :return: The service of this TapiConnectivityGetconnectivityservicelistOutput.
        :rtype: List[TapiConnectivityConnectivityService]
        """
        return self._service

    @service.setter
    def service(self, service: List[TapiConnectivityConnectivityService]):
        """Sets the service of this TapiConnectivityGetconnectivityservicelistOutput.

        none  # noqa: E501

        :param service: The service of this TapiConnectivityGetconnectivityservicelistOutput.
        :type service: List[TapiConnectivityConnectivityService]
        """

        self._service = service
