device
edgeimpulse_api v1.0.0
edgeimpulse_api.models.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: Optional[StrictStr] = None, supportsSnapshotStreaming: StrictBool)Bases:
BaseModel
class Config()Bases:
object
allow_population_by_field_name(_ = Tru_ )
validate_assignment(_ = Tru_ )
created(: datetim )
device_id(: StrictSt )
device_type(: StrictSt )
classmethod from_dict(obj: dict)Create an instance of Device from a dict
classmethod from_json(json_str: str)Create an instance of Device from a JSON string
id(: StrictIn )
last_seen(: datetim )
name(: StrictSt )
remote_mgmt_connected(: StrictBoo )
remote_mgmt_host(: Optional[StrictStr )
sensors(: List[DeviceSensorsInner )
supports_snapshot_streaming(: StrictBoo )
to_dict()Returns the dictionary representation of the model using alias
to_json()Returns the JSON representation of the model using alias
to_str()Returns the string representation of the model using alias
Last updated
Was this helpful?