applyMode = $applyMode; $this->apiParas["apply_mode"] = $applyMode; } public function getApplyMode() { return $this->applyMode; } public function setOpenConversationId($openConversationId) { $this->openConversationId = $openConversationId; $this->apiParas["open_conversation_id"] = $openConversationId; } public function getOpenConversationId() { return $this->openConversationId; } public function setOwnerUserId($ownerUserId) { $this->ownerUserId = $ownerUserId; $this->apiParas["owner_user_id"] = $ownerUserId; } public function getOwnerUserId() { return $this->ownerUserId; } public function setTemplateId($templateId) { $this->templateId = $templateId; $this->apiParas["template_id"] = $templateId; } public function getTemplateId() { return $this->templateId; } public function getApiMethodName() { return "dingtalk.oapi.im.chat.scenegroup.template.close"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->openConversationId,"openConversationId"); RequestCheckUtil::checkNotNull($this->ownerUserId,"ownerUserId"); RequestCheckUtil::checkNotNull($this->templateId,"templateId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }