toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ProactiveEngagementStatus.enabled:
      return 'ENABLED';
    case ProactiveEngagementStatus.disabled:
      return 'DISABLED';
    case ProactiveEngagementStatus.pending:
      return 'PENDING';
  }
}