toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ConformancePackState.createInProgress:
      return 'CREATE_IN_PROGRESS';
    case ConformancePackState.createComplete:
      return 'CREATE_COMPLETE';
    case ConformancePackState.createFailed:
      return 'CREATE_FAILED';
    case ConformancePackState.deleteInProgress:
      return 'DELETE_IN_PROGRESS';
    case ConformancePackState.deleteFailed:
      return 'DELETE_FAILED';
  }
}