RDStatus mapStatusEnum(String status) { switch (status.toUpperCase()) { case "READY": return RDStatus.READY; case "NOTREADY": default: return RDStatus.NOTREADY; } }