includeConfig = $includeConfig; $this->apiParas["include_config"] = $includeConfig; } public function getIncludeConfig() { return $this->includeConfig; } public function setPoiCodeList($poiCodeList) { $this->poiCodeList = $poiCodeList; $this->apiParas["poi_code_list"] = $poiCodeList; } public function getPoiCodeList() { return $this->poiCodeList; } public function setTenantId($tenantId) { $this->tenantId = $tenantId; $this->apiParas["tenant_id"] = $tenantId; } public function getTenantId() { return $this->tenantId; } public function setUserid($userid) { $this->userid = $userid; $this->apiParas["userid"] = $userid; } public function getUserid() { return $this->userid; } public function getApiMethodName() { return "dingtalk.oapi.rhino.transport.maplocation.query"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->poiCodeList,"poiCodeList"); RequestCheckUtil::checkMaxListSize($this->poiCodeList,20,"poiCodeList"); RequestCheckUtil::checkNotNull($this->tenantId,"tenantId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }