toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ConnectorStatus.healthy:
      return 'HEALTHY';
    case ConnectorStatus.unhealthy:
      return 'UNHEALTHY';
  }
}