[ Version ( since = "0.9.6" ) ]
public static OfflineAction from_string (string action)
Converts the string to the enumerated value.
| action |
a string representation of a OfflineAction, e.g. "reboot" |
|
A OfflineAction, or pk_offline_action_unknown for invalid |