toValue method

String toValue()

Implementation

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