1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.dingmi.group.get request
- *
- * @author auto create
- * @since 1.0, 2020.09.24
- */
- class OapiDingmiGroupGetRequest
- {
- /**
- * 会话ID
- **/
- private $conversationId;
-
- /**
- * ?期(YYYYMMDD格式)
- **/
- private $date;
-
- private $apiParas = array();
-
- public function setConversationId($conversationId)
- {
- $this->conversationId = $conversationId;
- $this->apiParas["conversation_id"] = $conversationId;
- }
- public function getConversationId()
- {
- return $this->conversationId;
- }
- public function setDate($date)
- {
- $this->date = $date;
- $this->apiParas["date"] = $date;
- }
- public function getDate()
- {
- return $this->date;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.dingmi.group.get";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->conversationId,"conversationId");
- RequestCheckUtil::checkNotNull($this->date,"date");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|