toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AutomaticFailoverStatus.enabled:
      return 'enabled';
    case AutomaticFailoverStatus.disabled:
      return 'disabled';
    case AutomaticFailoverStatus.enabling:
      return 'enabling';
    case AutomaticFailoverStatus.disabling:
      return 'disabling';
  }
}