AlibabaAlihealthSynergyYzwDrugreportGetRequest.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.synergy.yzw.drugreport.get request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.02.18
  7. */
  8. class AlibabaAlihealthSynergyYzwDrugreportGetRequest
  9. {
  10. /**
  11. * 报告上传企业refENtId
  12. **/
  13. private $refEntId;
  14. /**
  15. * 报告id
  16. **/
  17. private $reportId;
  18. private $apiParas = array();
  19. public function setRefEntId($refEntId)
  20. {
  21. $this->refEntId = $refEntId;
  22. $this->apiParas["ref_ent_id"] = $refEntId;
  23. }
  24. public function getRefEntId()
  25. {
  26. return $this->refEntId;
  27. }
  28. public function setReportId($reportId)
  29. {
  30. $this->reportId = $reportId;
  31. $this->apiParas["report_id"] = $reportId;
  32. }
  33. public function getReportId()
  34. {
  35. return $this->reportId;
  36. }
  37. public function getApiMethodName()
  38. {
  39. return "alibaba.alihealth.synergy.yzw.drugreport.get";
  40. }
  41. public function getApiParas()
  42. {
  43. return $this->apiParas;
  44. }
  45. public function check()
  46. {
  47. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  48. RequestCheckUtil::checkNotNull($this->reportId,"reportId");
  49. }
  50. public function putOtherTextParam($key, $value) {
  51. $this->apiParas[$key] = $value;
  52. $this->$key = $value;
  53. }
  54. }