toValue method
Implementation
String toValue() {
switch (this) {
case BulkPublishStatus.notStarted:
return 'NOT_STARTED';
case BulkPublishStatus.inProgress:
return 'IN_PROGRESS';
case BulkPublishStatus.failed:
return 'FAILED';
case BulkPublishStatus.succeeded:
return 'SUCCEEDED';
}
}