toValue method

String toValue()

Implementation

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