from_string


Description:

public static CapacityLevel from_string (string level)

Converts a string to a capacity level.

Possible values are Critical, Low, Normal, High, and Full. Anything else will return UNKNOWN.