toValue method
Implementation
String toValue() {
switch (this) {
case UpgradeStatus.inProgress:
return 'IN_PROGRESS';
case UpgradeStatus.succeeded:
return 'SUCCEEDED';
case UpgradeStatus.succeededWithIssues:
return 'SUCCEEDED_WITH_ISSUES';
case UpgradeStatus.failed:
return 'FAILED';
}
}