agentid = $agentid; $this->apiParas["agentid"] = $agentid; } public function getAgentid() { return $this->agentid; } public function setDocId($docId) { $this->docId = $docId; $this->apiParas["doc_id"] = $docId; } public function getDocId() { return $this->docId; } public function getApiMethodName() { return "dingtalk.oapi.wiki.doc.detail"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->agentid,"agentid"); RequestCheckUtil::checkNotNull($this->docId,"docId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }