AlibabaAlihealthDrugDownloadGetentdailytaskdtolistRequest.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.drug.download.getentdailytaskdtolist request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2022.06.30
  7. */
  8. class AlibabaAlihealthDrugDownloadGetentdailytaskdtolistRequest
  9. {
  10. /**
  11. * appkey
  12. **/
  13. private $appKeyN;
  14. /**
  15. * 统计的结束时间
  16. **/
  17. private $endTime;
  18. /**
  19. * 统计的开始时间
  20. **/
  21. private $startTime;
  22. private $apiParas = array();
  23. public function setAppKeyN($appKeyN)
  24. {
  25. $this->appKeyN = $appKeyN;
  26. $this->apiParas["app_key_n"] = $appKeyN;
  27. }
  28. public function getAppKeyN()
  29. {
  30. return $this->appKeyN;
  31. }
  32. public function setEndTime($endTime)
  33. {
  34. $this->endTime = $endTime;
  35. $this->apiParas["end_time"] = $endTime;
  36. }
  37. public function getEndTime()
  38. {
  39. return $this->endTime;
  40. }
  41. public function setStartTime($startTime)
  42. {
  43. $this->startTime = $startTime;
  44. $this->apiParas["start_time"] = $startTime;
  45. }
  46. public function getStartTime()
  47. {
  48. return $this->startTime;
  49. }
  50. public function getApiMethodName()
  51. {
  52. return "alibaba.alihealth.drug.download.getentdailytaskdtolist";
  53. }
  54. public function getApiParas()
  55. {
  56. return $this->apiParas;
  57. }
  58. public function check()
  59. {
  60. RequestCheckUtil::checkNotNull($this->appKeyN,"appKeyN");
  61. RequestCheckUtil::checkNotNull($this->endTime,"endTime");
  62. RequestCheckUtil::checkNotNull($this->startTime,"startTime");
  63. }
  64. public function putOtherTextParam($key, $value) {
  65. $this->apiParas[$key] = $value;
  66. $this->$key = $value;
  67. }
  68. }