toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AvailabilityMonitorTestStatus.complete:
      return 'COMPLETE';
    case AvailabilityMonitorTestStatus.failed:
      return 'FAILED';
    case AvailabilityMonitorTestStatus.pending:
      return 'PENDING';
  }
}