chatId = $chatId; $this->apiParas["chat_id"] = $chatId; } public function getChatId() { return $this->chatId; } public function setIncludeOwner($includeOwner) { $this->includeOwner = $includeOwner; $this->apiParas["include_owner"] = $includeOwner; } public function getIncludeOwner() { return $this->includeOwner; } public function setPageNum($pageNum) { $this->pageNum = $pageNum; $this->apiParas["page_num"] = $pageNum; } public function getPageNum() { return $this->pageNum; } public function setPageSize($pageSize) { $this->pageSize = $pageSize; $this->apiParas["page_size"] = $pageSize; } public function getPageSize() { return $this->pageSize; } public function getApiMethodName() { return "dingtalk.oapi.im.chat.servicegroup.member.query"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->chatId,"chatId"); RequestCheckUtil::checkMaxLength($this->chatId,128,"chatId"); RequestCheckUtil::checkNotNull($this->pageNum,"pageNum"); RequestCheckUtil::checkMinValue($this->pageNum,1,"pageNum"); RequestCheckUtil::checkNotNull($this->pageSize,"pageSize"); RequestCheckUtil::checkMaxValue($this->pageSize,100,"pageSize"); RequestCheckUtil::checkMinValue($this->pageSize,1,"pageSize"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }