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 setGroupId($groupId) { $this->groupId = $groupId; $this->apiParas["group_id"] = $groupId; } public function getGroupId() { return $this->groupId; } public function setSize($size) { $this->size = $size; $this->apiParas["size"] = $size; } public function getSize() { return $this->size; } public function getApiMethodName() { return "dingtalk.oapi.wiki.repo.list"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->agentid,"agentid"); RequestCheckUtil::checkNotNull($this->groupId,"groupId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }