123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.live.grouplive.viewrecord request
- *
- * @author auto create
- * @since 1.0, 2020.12.07
- */
- class OapiLiveGroupliveViewrecordRequest
- {
- /**
- * 部门id
- **/
- private $deptId;
-
- /**
- * 直播uuid
- **/
- private $liveUuid;
-
- /**
- * 分页拉取
- **/
- private $pageIndex;
-
- /**
- * 一页多少数据,默认100
- **/
- private $pageSize;
-
- private $apiParas = array();
-
- public function setDeptId($deptId)
- {
- $this->deptId = $deptId;
- $this->apiParas["dept_id"] = $deptId;
- }
- public function getDeptId()
- {
- return $this->deptId;
- }
- public function setLiveUuid($liveUuid)
- {
- $this->liveUuid = $liveUuid;
- $this->apiParas["live_uuid"] = $liveUuid;
- }
- public function getLiveUuid()
- {
- return $this->liveUuid;
- }
- public function setPageIndex($pageIndex)
- {
- $this->pageIndex = $pageIndex;
- $this->apiParas["page_index"] = $pageIndex;
- }
- public function getPageIndex()
- {
- return $this->pageIndex;
- }
- public function setPageSize($pageSize)
- {
- $this->pageSize = $pageSize;
- $this->apiParas["page_size"] = $pageSize;
- }
- public function getPageSize()
- {
- return $this->pageSize;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.live.grouplive.viewrecord";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->deptId,"deptId");
- RequestCheckUtil::checkNotNull($this->liveUuid,"liveUuid");
- RequestCheckUtil::checkNotNull($this->pageIndex,"pageIndex");
- RequestCheckUtil::checkNotNull($this->pageSize,"pageSize");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|