toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NetworkOrigin.internet:
      return 'Internet';
    case NetworkOrigin.vpc:
      return 'VPC';
  }
}