toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CodeGenerationStatus.createInProgress:
      return 'CREATE_IN_PROGRESS';
    case CodeGenerationStatus.createComplete:
      return 'CREATE_COMPLETE';
    case CodeGenerationStatus.createFailed:
      return 'CREATE_FAILED';
  }
}