toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case HealthCheckType.http:
      return 'HTTP';
    case HealthCheckType.https:
      return 'HTTPS';
    case HealthCheckType.tcp:
      return 'TCP';
  }
}