123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.attendance.group.users.query request
- *
- * @author auto create
- * @since 1.0, 2020.04.09
- */
- class OapiAttendanceGroupUsersQueryRequest
- {
- /**
- * 上一批次最后一个userId,传null、空值表示从头开始查
- **/
- private $cursor;
-
- /**
- * 考勤组id
- **/
- private $groupKey;
-
- /**
- * 操作人userId
- **/
- private $opUserid;
-
- /**
- * 分页大小
- **/
- private $size;
-
- private $apiParas = array();
-
- public function setCursor($cursor)
- {
- $this->cursor = $cursor;
- $this->apiParas["cursor"] = $cursor;
- }
- public function getCursor()
- {
- return $this->cursor;
- }
- public function setGroupKey($groupKey)
- {
- $this->groupKey = $groupKey;
- $this->apiParas["group_key"] = $groupKey;
- }
- public function getGroupKey()
- {
- return $this->groupKey;
- }
- public function setOpUserid($opUserid)
- {
- $this->opUserid = $opUserid;
- $this->apiParas["op_userid"] = $opUserid;
- }
- public function getOpUserid()
- {
- return $this->opUserid;
- }
- public function setSize($size)
- {
- $this->size = $size;
- $this->apiParas["size"] = $size;
- }
- public function getSize()
- {
- return $this->size;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.attendance.group.users.query";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->groupKey,"groupKey");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|