toValue method
Implementation
String toValue() {
switch (this) {
case DataSourceSyncJobStatus.failed:
return 'FAILED';
case DataSourceSyncJobStatus.succeeded:
return 'SUCCEEDED';
case DataSourceSyncJobStatus.syncing:
return 'SYNCING';
case DataSourceSyncJobStatus.incomplete:
return 'INCOMPLETE';
case DataSourceSyncJobStatus.stopping:
return 'STOPPING';
case DataSourceSyncJobStatus.aborted:
return 'ABORTED';
case DataSourceSyncJobStatus.syncingIndexing:
return 'SYNCING_INDEXING';
}
}