device module#
- class edgeimpulse_api.models.device.Device(
- *,
- id: StrictInt,
- deviceId: StrictStr,
- created: datetime,
- lastSeen: datetime,
- name: StrictStr,
- deviceType: StrictStr,
- sensors: List[DeviceSensorsInner],
- remote_mgmt_connected: StrictBool,
- remote_mgmt_host: StrictStr | None = None,
- supportsSnapshotStreaming: StrictBool,
Bases:
BaseModel
- class Config[source]#
Bases:
object
- allow_population_by_field_name = True#
- validate_assignment = False#
- created: datetime#
- device_id: StrictStr#
- device_type: StrictStr#
- classmethod from_json(json_str: str) Device [source]#
Create an instance of Device from a JSON string
- id: StrictInt#
- last_seen: datetime#
- name: StrictStr#
- remote_mgmt_connected: StrictBool#
- remote_mgmt_host: StrictStr | None#
- sensors: List[DeviceSensorsInner]#
- supports_snapshot_streaming: StrictBool#