# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from core import util from pydantic import BaseModel class call(BaseModel): id: str status: str=None called_number: str=None ack_id: int=None class post_call(BaseModel): id: str # """NOTE: This class is auto generated by the swagger code generator program. # # Do not edit the class manually. # """ # def __init__(self, id: int=None, status: str=None, history: str=None, called_number: str=None, ack_id: str=None): # noqa: E501 # """Call - a model defined in Swagger # # :param id: The id of this Call. # noqa: E501 # :type id: int # :param status: The status of this Call. # noqa: E501 # :type status: str # :param history: The history of this Call. # noqa: E501 # :type history: str # :param called_number: The called_number of this Call. # noqa: E501 # :type called_number: str # :param ack_id: The ack_id of this Call. # noqa: E501 # :type ack_id: str # """ # self.swagger_types = { # 'id': int, # 'status': str, # 'history': str, # 'called_number': str, # 'ack_id': str # } # # self.attribute_map = { # 'id': 'id', # 'status': 'status', # 'history': 'history', # 'called_number': 'called_number', # 'ack_id': 'ack_id' # } # self._id = id # self._status = status # self._history = history # self._called_number = called_number # self._ack_id = ack_id # # @classmethod # def from_dict(cls, dikt) -> 'Call': # """Returns the dict as a model # # :param dikt: A dict. # :type: dict # :return: The Call of this Call. # noqa: E501 # :rtype: Call # """ # return util.deserialize_model(dikt, cls) # # @property # def id(self) -> int: # """Gets the id of this Call. # # A unique ID associated with the call. # noqa: E501 # # :return: The id of this Call. # :rtype: int # """ # return self._id # # @id.setter # def id(self, id: int): # """Sets the id of this Call. # # A unique ID associated with the call. # noqa: E501 # # :param id: The id of this Call. # :type id: int # """ # # self._id = id # # @property # def status(self) -> str: # """Gets the status of this Call. # # The status of the call.