toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ScalingStatusCode.inactive:
      return 'Inactive';
    case ScalingStatusCode.partiallyActive:
      return 'PartiallyActive';
    case ScalingStatusCode.active:
      return 'Active';
  }
}