toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case BatchDeleteImportDataErrorCode.notFound:
      return 'NOT_FOUND';
    case BatchDeleteImportDataErrorCode.internalServerError:
      return 'INTERNAL_SERVER_ERROR';
    case BatchDeleteImportDataErrorCode.overLimit:
      return 'OVER_LIMIT';
  }
}