| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <?php
- /**
- * TOP API: taobao.openim.app.chatlogs.get request
- *
- * @author auto create
- * @since 1.0, 2015.09.25
- */
- class OpenimAppChatlogsGetRequest
- {
- /**
- * 查询结束时间。UTC时间。精度到秒
- **/
- private $beg;
-
- /**
- * 查询最大条数
- **/
- private $count;
-
- /**
- * 查询结束时间。UTC时间。精度到秒
- **/
- private $end;
-
- /**
- * 迭代key
- **/
- private $next;
-
- private $apiParas = array();
-
- public function setBeg($beg)
- {
- $this->beg = $beg;
- $this->apiParas["beg"] = $beg;
- }
- public function getBeg()
- {
- return $this->beg;
- }
- public function setCount($count)
- {
- $this->count = $count;
- $this->apiParas["count"] = $count;
- }
- public function getCount()
- {
- return $this->count;
- }
- public function setEnd($end)
- {
- $this->end = $end;
- $this->apiParas["end"] = $end;
- }
- public function getEnd()
- {
- return $this->end;
- }
- public function setNext($next)
- {
- $this->next = $next;
- $this->apiParas["next"] = $next;
- }
- public function getNext()
- {
- return $this->next;
- }
- public function getApiMethodName()
- {
- return "taobao.openim.app.chatlogs.get";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->beg,"beg");
- RequestCheckUtil::checkNotNull($this->count,"count");
- RequestCheckUtil::checkMaxValue($this->count,1000,"count");
- RequestCheckUtil::checkMinValue($this->count,1,"count");
- RequestCheckUtil::checkNotNull($this->end,"end");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|