toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TestGridSessionStatus.active:
      return 'ACTIVE';
    case TestGridSessionStatus.closed:
      return 'CLOSED';
    case TestGridSessionStatus.errored:
      return 'ERRORED';
  }
}