toValue method

String toValue()

Implementation

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