1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.pbp.instance.group.member.list request
- *
- * @author auto create
- * @since 1.0, 2020.01.20
- */
- class OapiPbpInstanceGroupMemberListRequest
- {
- /**
- * 业务唯一标识
- **/
- private $bizId;
-
- /**
- * 游标,用于分页查询
- **/
- private $cursor;
-
- /**
- * 打卡组id,由创建打卡组接口返回
- **/
- private $punchGroupId;
-
- /**
- * 分页请求数量
- **/
- private $size;
-
- private $apiParas = array();
-
- public function setBizId($bizId)
- {
- $this->bizId = $bizId;
- $this->apiParas["biz_id"] = $bizId;
- }
- public function getBizId()
- {
- return $this->bizId;
- }
- public function setCursor($cursor)
- {
- $this->cursor = $cursor;
- $this->apiParas["cursor"] = $cursor;
- }
- public function getCursor()
- {
- return $this->cursor;
- }
- public function setPunchGroupId($punchGroupId)
- {
- $this->punchGroupId = $punchGroupId;
- $this->apiParas["punch_group_id"] = $punchGroupId;
- }
- public function getPunchGroupId()
- {
- return $this->punchGroupId;
- }
- public function setSize($size)
- {
- $this->size = $size;
- $this->apiParas["size"] = $size;
- }
- public function getSize()
- {
- return $this->size;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.pbp.instance.group.member.list";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->cursor,"cursor");
- RequestCheckUtil::checkNotNull($this->punchGroupId,"punchGroupId");
- RequestCheckUtil::checkNotNull($this->size,"size");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|