toValue method
Implementation
String toValue() {
switch (this) {
case NamespaceType.dnsPublic:
return 'DNS_PUBLIC';
case NamespaceType.dnsPrivate:
return 'DNS_PRIVATE';
case NamespaceType.http:
return 'HTTP';
}
}
String toValue() {
switch (this) {
case NamespaceType.dnsPublic:
return 'DNS_PUBLIC';
case NamespaceType.dnsPrivate:
return 'DNS_PRIVATE';
case NamespaceType.http:
return 'HTTP';
}
}