toValue method
Implementation
String toValue() {
switch (this) {
case PatchDeploymentStatus.approved:
return 'APPROVED';
case PatchDeploymentStatus.pendingApproval:
return 'PENDING_APPROVAL';
case PatchDeploymentStatus.explicitApproved:
return 'EXPLICIT_APPROVED';
case PatchDeploymentStatus.explicitRejected:
return 'EXPLICIT_REJECTED';
}
}