Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.94 KB

File metadata and controls

34 lines (26 loc) · 1.94 KB

DeviceDfuStateMachine

Represents a single request to update the host or Notecard firmware

Properties

Name Type Description Notes
current_version str Version of the firmware that was installed prior to this request [optional]
initiated str RFC3339 datetime of when this update was requested [optional]
requested_version str Version of the firmware that was requested to be installed [optional]
updates List[DeviceDfuStateMachineNode] [optional]

Example

from notehub_py.models.device_dfu_state_machine import DeviceDfuStateMachine

# TODO update the JSON string below
json = "{}"
# create an instance of DeviceDfuStateMachine from a JSON string
device_dfu_state_machine_instance = DeviceDfuStateMachine.from_json(json)
# print the JSON string representation of the object
print(DeviceDfuStateMachine.to_json())

# convert the object into a dict
device_dfu_state_machine_dict = device_dfu_state_machine_instance.to_dict()
# create an instance of DeviceDfuStateMachine from a dict
device_dfu_state_machine_from_dict = DeviceDfuStateMachine.from_dict(
    device_dfu_state_machine_dict
)

[Back to Model list] [Back to API list] [Back to README]