| 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. |
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)