1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.project.point.history.page request
- *
- * @author auto create
- * @since 1.0, 2020.12.28
- */
- class OapiProjectPointHistoryPageRequest
- {
- /**
- * 数据游标,初始传0。后续传入返回参数中的next_cursor值
- **/
- private $cursor;
-
- /**
- * 每页大小,最大200条
- **/
- private $pageSize;
-
- /**
- * 业务ID(固定值,农村积分传7001)
- **/
- private $tenantId;
-
- /**
- * 用户id
- **/
- private $userid;
-
- private $apiParas = array();
-
- public function setCursor($cursor)
- {
- $this->cursor = $cursor;
- $this->apiParas["cursor"] = $cursor;
- }
- public function getCursor()
- {
- return $this->cursor;
- }
- public function setPageSize($pageSize)
- {
- $this->pageSize = $pageSize;
- $this->apiParas["page_size"] = $pageSize;
- }
- public function getPageSize()
- {
- return $this->pageSize;
- }
- public function setTenantId($tenantId)
- {
- $this->tenantId = $tenantId;
- $this->apiParas["tenant_id"] = $tenantId;
- }
- public function getTenantId()
- {
- return $this->tenantId;
- }
- public function setUserid($userid)
- {
- $this->userid = $userid;
- $this->apiParas["userid"] = $userid;
- }
- public function getUserid()
- {
- return $this->userid;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.project.point.history.page";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->cursor,"cursor");
- RequestCheckUtil::checkNotNull($this->pageSize,"pageSize");
- RequestCheckUtil::checkNotNull($this->tenantId,"tenantId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|