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 | ||
applications | List[DeviceApplicationStatus] | List of device application status. | |
applications_summary | DeviceApplicationsSummaryStatus | ||
resources | DeviceResourceStatus | ||
integrity | DeviceIntegrityStatus | ||
config | DeviceConfigStatus | ||
os | DeviceOSStatus | ||
updated | DeviceUpdatedStatus | ||
summary | DeviceSummaryStatus | ||
last_seen | datetime |
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)