atDingtalkids = $atDingtalkids; $this->apiParas["at_dingtalkids"] = $atDingtalkids; } public function getAtDingtalkids() { return $this->atDingtalkids; } public function setAtMobiles($atMobiles) { $this->atMobiles = $atMobiles; $this->apiParas["at_mobiles"] = $atMobiles; } public function getAtMobiles() { return $this->atMobiles; } public function setAtUnionids($atUnionids) { $this->atUnionids = $atUnionids; $this->apiParas["at_unionids"] = $atUnionids; } public function getAtUnionids() { return $this->atUnionids; } public function setBizid($bizid) { $this->bizid = $bizid; $this->apiParas["bizid"] = $bizid; } public function getBizid() { return $this->bizid; } public function setBtnOrientation($btnOrientation) { $this->btnOrientation = $btnOrientation; $this->apiParas["btn_orientation"] = $btnOrientation; } public function getBtnOrientation() { return $this->btnOrientation; } public function setBtns($btns) { $this->btns = $btns; $this->apiParas["btns"] = $btns; } public function getBtns() { return $this->btns; } public function setContent($content) { $this->content = $content; $this->apiParas["content"] = $content; } public function getContent() { return $this->content; } public function setIsAtAll($isAtAll) { $this->isAtAll = $isAtAll; $this->apiParas["is_at_all"] = $isAtAll; } public function getIsAtAll() { return $this->isAtAll; } public function setMessageType($messageType) { $this->messageType = $messageType; $this->apiParas["message_type"] = $messageType; } public function getMessageType() { return $this->messageType; } public function setOpenConversationid($openConversationid) { $this->openConversationid = $openConversationid; $this->apiParas["open_conversationid"] = $openConversationid; } public function getOpenConversationid() { return $this->openConversationid; } public function setReceiverDingtalkids($receiverDingtalkids) { $this->receiverDingtalkids = $receiverDingtalkids; $this->apiParas["receiver_dingtalkids"] = $receiverDingtalkids; } public function getReceiverDingtalkids() { return $this->receiverDingtalkids; } public function setReceiverMobiles($receiverMobiles) { $this->receiverMobiles = $receiverMobiles; $this->apiParas["receiver_mobiles"] = $receiverMobiles; } public function getReceiverMobiles() { return $this->receiverMobiles; } public function setReceiverUnionids($receiverUnionids) { $this->receiverUnionids = $receiverUnionids; $this->apiParas["receiver_unionids"] = $receiverUnionids; } public function getReceiverUnionids() { return $this->receiverUnionids; } public function setTitle($title) { $this->title = $title; $this->apiParas["title"] = $title; } public function getTitle() { return $this->title; } public function getApiMethodName() { return "dingtalk.oapi.sceneservicegroup.message.send"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkMaxListSize($this->atDingtalkids,999,"atDingtalkids"); RequestCheckUtil::checkMaxListSize($this->atMobiles,999,"atMobiles"); RequestCheckUtil::checkMaxListSize($this->atUnionids,999,"atUnionids"); RequestCheckUtil::checkNotNull($this->content,"content"); RequestCheckUtil::checkNotNull($this->messageType,"messageType"); RequestCheckUtil::checkMaxListSize($this->receiverDingtalkids,999,"receiverDingtalkids"); RequestCheckUtil::checkMaxListSize($this->receiverMobiles,999,"receiverMobiles"); RequestCheckUtil::checkMaxListSize($this->receiverUnionids,999,"receiverUnionids"); RequestCheckUtil::checkNotNull($this->title,"title"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }