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


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

    Do not edit the class manually.
    """
    def __init__(self, sip_id_or_name: str=None, state: TapiCommonAdministrativeState=None):  # noqa: E501
        """TapiCommonUpdateserviceinterfacepointInput - a model defined in Swagger

        :param sip_id_or_name: The sip_id_or_name of this TapiCommonUpdateserviceinterfacepointInput.  # noqa: E501
        :type sip_id_or_name: str
        :param state: The state of this TapiCommonUpdateserviceinterfacepointInput.  # noqa: E501
        :type state: TapiCommonAdministrativeState
        """
        self.swagger_types = {
            'sip_id_or_name': str,
            'state': TapiCommonAdministrativeState
        }

        self.attribute_map = {
            'sip_id_or_name': 'sip-id-or-name',
            'state': 'state'
        }
        self._sip_id_or_name = sip_id_or_name
        self._state = state

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

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

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

        none  # noqa: E501

        :return: The sip_id_or_name of this TapiCommonUpdateserviceinterfacepointInput.
        :rtype: str
        """
        return self._sip_id_or_name

    @sip_id_or_name.setter
    def sip_id_or_name(self, sip_id_or_name: str):
        """Sets the sip_id_or_name of this TapiCommonUpdateserviceinterfacepointInput.

        none  # noqa: E501

        :param sip_id_or_name: The sip_id_or_name of this TapiCommonUpdateserviceinterfacepointInput.
        :type sip_id_or_name: str
        """

        self._sip_id_or_name = sip_id_or_name

    @property
    def state(self) -> TapiCommonAdministrativeState:
        """Gets the state of this TapiCommonUpdateserviceinterfacepointInput.


        :return: The state of this TapiCommonUpdateserviceinterfacepointInput.
        :rtype: TapiCommonAdministrativeState
        """
        return self._state

    @state.setter
    def state(self, state: TapiCommonAdministrativeState):
        """Sets the state of this TapiCommonUpdateserviceinterfacepointInput.


        :param state: The state of this TapiCommonUpdateserviceinterfacepointInput.
        :type state: TapiCommonAdministrativeState
        """

        self._state = state
