agentid = $agentid; $this->apiParas["agentid"] = $agentid; } public function getAgentid() { return $this->agentid; } public function setCursor($cursor) { $this->cursor = $cursor; $this->apiParas["cursor"] = $cursor; } public function getCursor() { return $this->cursor; } public function setRepoId($repoId) { $this->repoId = $repoId; $this->apiParas["repo_id"] = $repoId; } public function getRepoId() { return $this->repoId; } public function setSize($size) { $this->size = $size; $this->apiParas["size"] = $size; } public function getSize() { return $this->size; } public function getApiMethodName() { return "dingtalk.oapi.wiki.doc.list"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->agentid,"agentid"); RequestCheckUtil::checkNotNull($this->repoId,"repoId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }