toValue method

String toValue()

Implementation

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