from_string
Description:
Converts the string to the enumerated value.
Parameters:
| action |
a string representation of a OfflineAction, e.g. "reboot" |
Returns:
|
A OfflineAction, or UNKNOWN for invalid |
Converts the string to the enumerated value.
| action |
a string representation of a OfflineAction, e.g. "reboot" |
|
A OfflineAction, or UNKNOWN for invalid |