current = $current; $this->apiParas["current"] = $current; } public function getCurrent() { return $this->current; } public function setOpUserid($opUserid) { $this->opUserid = $opUserid; $this->apiParas["op_userid"] = $opUserid; } public function getOpUserid() { return $this->opUserid; } public function setPageSize($pageSize) { $this->pageSize = $pageSize; $this->apiParas["page_size"] = $pageSize; } public function getPageSize() { return $this->pageSize; } public function getApiMethodName() { return "dingtalk.oapi.hrm.employee.getdismissionlist"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->current,"current"); RequestCheckUtil::checkNotNull($this->opUserid,"opUserid"); RequestCheckUtil::checkNotNull($this->pageSize,"pageSize"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }