toValue method
Implementation
String toValue() {
switch (this) {
case PublishingStatus.pendingVerification:
return 'PENDING_VERIFICATION';
case PublishingStatus.publishing:
return 'PUBLISHING';
case PublishingStatus.unableToPublishFixDestinationProperty:
return 'UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY';
case PublishingStatus.stopped:
return 'STOPPED';
}
}