cursor = $cursor; $this->apiParas["cursor"] = $cursor; } public function getCursor() { return $this->cursor; } public function setDeptId($deptId) { $this->deptId = $deptId; $this->apiParas["dept_id"] = $deptId; } public function getDeptId() { return $this->deptId; } public function setSize($size) { $this->size = $size; $this->apiParas["size"] = $size; } public function getSize() { return $this->size; } public function getApiMethodName() { return "dingtalk.oapi.industry.department.list"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->deptId,"deptId"); RequestCheckUtil::checkNotNull($this->size,"size"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }