| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <?php
- /**
- * TOP API: alibaba.alihealth.drugtrace.top.lsyd.query.codedetail request
- *
- * @author auto create
- * @since 1.0, 2025.11.18
- */
- class AlibabaAlihealthDrugtraceTopLsydQueryCodedetailRequest
- {
- /**
- * 码列表【多个码用逗号拼接的字符串。要求数量在1000个码以下,但一般不要传这么多,如果网络不好很容易传输一半报错】
- **/
- private $codes;
-
- /**
- * 企业ref_ent_id
- **/
- private $refEntId;
-
- private $apiParas = array();
-
- public function setCodes($codes)
- {
- $this->codes = $codes;
- $this->apiParas["codes"] = $codes;
- }
- public function getCodes()
- {
- return $this->codes;
- }
- public function setRefEntId($refEntId)
- {
- $this->refEntId = $refEntId;
- $this->apiParas["ref_ent_id"] = $refEntId;
- }
- public function getRefEntId()
- {
- return $this->refEntId;
- }
- public function getApiMethodName()
- {
- return "alibaba.alihealth.drugtrace.top.lsyd.query.codedetail";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->codes,"codes");
- RequestCheckUtil::checkMaxListSize($this->codes,1000,"codes");
- RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|