deptId = $deptId; $this->apiParas["dept_id"] = $deptId; } public function getDeptId() { return $this->deptId; } public function setLiveUuid($liveUuid) { $this->liveUuid = $liveUuid; $this->apiParas["live_uuid"] = $liveUuid; } public function getLiveUuid() { return $this->liveUuid; } public function setPageIndex($pageIndex) { $this->pageIndex = $pageIndex; $this->apiParas["page_index"] = $pageIndex; } public function getPageIndex() { return $this->pageIndex; } public function setPageSize($pageSize) { $this->pageSize = $pageSize; $this->apiParas["page_size"] = $pageSize; } public function getPageSize() { return $this->pageSize; } public function getApiMethodName() { return "dingtalk.oapi.live.grouplive.viewrecord"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->deptId,"deptId"); RequestCheckUtil::checkNotNull($this->liveUuid,"liveUuid"); RequestCheckUtil::checkNotNull($this->pageIndex,"pageIndex"); RequestCheckUtil::checkNotNull($this->pageSize,"pageSize"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }