Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.29 KB

HookActionSystemdSpec.md

File metadata and controls

30 lines (21 loc) · 1.29 KB

HookActionSystemdSpec

Properties

Name Type Description Notes
timeout str The maximum duration allowed for the action to complete. The duration should be specified as a positive integer followed by a time unit. Supported time units are: - 's' for seconds - 'm' for minutes - 'h' for hours - 'd' for days [optional]
unit HookActionSystemdUnit

Example

from flightctl.models.hook_action_systemd_spec import HookActionSystemdSpec

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

# convert the object into a dict
hook_action_systemd_spec_dict = hook_action_systemd_spec_instance.to_dict()
# create an instance of HookActionSystemdSpec from a dict
hook_action_systemd_spec_from_dict = HookActionSystemdSpec.from_dict(hook_action_systemd_spec_dict)

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