DeviceStatus represents information about the status of a device. Status may trail the actual state of a device.
| Name | Type | Description | Notes |
|---|---|---|---|
| conditions | List[Condition] | Conditions represent the observations of a the current state of a device. | |
| system_info | DeviceSystemInfo | ||
| systemd | List[SystemdUnitStatus] | List of systemd unit statuses. | [optional] |
| applications | List[DeviceApplicationStatus] | List of device application statuses. | |
| applications_summary | DeviceApplicationsSummaryStatus | ||
| resources | DeviceResourceStatus | ||
| integrity | DeviceIntegrityStatus | ||
| config | DeviceConfigStatus | ||
| os | DeviceOsStatus | ||
| updated | DeviceUpdatedStatus | ||
| summary | DeviceSummaryStatus | ||
| last_seen | datetime | The last time the device was seen by the service (NOTE: this property is not returned by the API). | [optional] |
| lifecycle | DeviceLifecycleStatus |
from flightctl.models.device_status import DeviceStatus
# TODO update the JSON string below
json = "{}"
# create an instance of DeviceStatus from a JSON string
device_status_instance = DeviceStatus.from_json(json)
# print the JSON string representation of the object
print(DeviceStatus.to_json())
# convert the object into a dict
device_status_dict = device_status_instance.to_dict()
# create an instance of DeviceStatus from a dict
device_status_from_dict = DeviceStatus.from_dict(device_status_dict)