123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.chatbot.uninstall request
- *
- * @author auto create
- * @since 1.0, 2020.11.25
- */
- class OapiChatbotUninstallRequest
- {
- /**
- * 机器人id(钉钉分配)
- **/
- private $chatbotId;
-
- private $apiParas = array();
-
- public function setChatbotId($chatbotId)
- {
- $this->chatbotId = $chatbotId;
- $this->apiParas["chatbot_id"] = $chatbotId;
- }
- public function getChatbotId()
- {
- return $this->chatbotId;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.chatbot.uninstall";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->chatbotId,"chatbotId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|