toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case VirtualServiceStatusCode.active:
      return 'ACTIVE';
    case VirtualServiceStatusCode.inactive:
      return 'INACTIVE';
    case VirtualServiceStatusCode.deleted:
      return 'DELETED';
  }
}