toValue method
Implementation
String toValue() {
switch (this) {
case PatchComplianceDataState.installed:
return 'INSTALLED';
case PatchComplianceDataState.installedOther:
return 'INSTALLED_OTHER';
case PatchComplianceDataState.installedPendingReboot:
return 'INSTALLED_PENDING_REBOOT';
case PatchComplianceDataState.installedRejected:
return 'INSTALLED_REJECTED';
case PatchComplianceDataState.missing:
return 'MISSING';
case PatchComplianceDataState.notApplicable:
return 'NOT_APPLICABLE';
case PatchComplianceDataState.failed:
return 'FAILED';
}
}