chatid = $chatid; $this->apiParas["chatid"] = $chatid; } public function getChatid() { return $this->chatid; } public function setRole($role) { $this->role = $role; $this->apiParas["role"] = $role; } public function getRole() { return $this->role; } public function setUserids($userids) { $this->userids = $userids; $this->apiParas["userids"] = $userids; } public function getUserids() { return $this->userids; } public function getApiMethodName() { return "dingtalk.oapi.chat.subadmin.update"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->chatid,"chatid"); RequestCheckUtil::checkNotNull($this->role,"role"); RequestCheckUtil::checkNotNull($this->userids,"userids"); RequestCheckUtil::checkMaxListSize($this->userids,12,"userids"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }