toValue method

String toValue()

Implementation

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