Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

20 рядки
707 B

  1. # coding: utf-8
  2. from __future__ import absolute_import
  3. from datetime import date, datetime
  4. from typing import List, Dict
  5. #from ..core import util
  6. from pydantic import BaseModel, Field
  7. class cellularHardware(BaseModel):
  8. """Model containing hardware info for a single device.
  9. """
  10. id: str
  11. description: str= Field(None, example="SIM Box 3301A")
  12. status: str= Field(None, example="Free", description="The status of the hardware.")
  13. signal_level: int= Field(None, example="9", description="The detected signal level of the network.")
  14. registered_number: str= Field(None, description="The number associated with the SIM card used by the hardware.")
  15. operator: str= Field(None)