bizType = $bizType; $this->apiParas["biz_type"] = $bizType; } public function getBizType() { return $this->bizType; } public function setOpenConversationId($openConversationId) { $this->openConversationId = $openConversationId; $this->apiParas["open_conversation_id"] = $openConversationId; } public function getOpenConversationId() { return $this->openConversationId; } public function setTemplateData($templateData) { $this->templateData = $templateData; $this->apiParas["template_data"] = $templateData; } public function getTemplateData() { return $this->templateData; } public function getApiMethodName() { return "dingtalk.oapi.im.intelligent.card.send"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->bizType,"bizType"); RequestCheckUtil::checkNotNull($this->openConversationId,"openConversationId"); RequestCheckUtil::checkNotNull($this->templateData,"templateData"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }