toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StandardsStatus.pending:
      return 'PENDING';
    case StandardsStatus.ready:
      return 'READY';
    case StandardsStatus.failed:
      return 'FAILED';
    case StandardsStatus.deleting:
      return 'DELETING';
    case StandardsStatus.incomplete:
      return 'INCOMPLETE';
  }
}