toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case QueueStatus.active:
      return 'ACTIVE';
    case QueueStatus.paused:
      return 'PAUSED';
  }
}