Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.32 KB

File metadata and controls

34 lines (25 loc) · 1.32 KB

SystemdUnitStatus

Properties

Name Type Description Notes
unit str The unit name (e.g., "sshd.service").
description str The human-readable description for the unit.
enable_state SystemdEnableStateType
load_state SystemdLoadStateType
active_state SystemdActiveStateType
sub_state str The low-level, unit-type-specific state.

Example

from flightctl.models.systemd_unit_status import SystemdUnitStatus

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

# convert the object into a dict
systemd_unit_status_dict = systemd_unit_status_instance.to_dict()
# create an instance of SystemdUnitStatus from a dict
systemd_unit_status_from_dict = SystemdUnitStatus.from_dict(systemd_unit_status_dict)

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