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