12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.industry.user.list request
- *
- * @author auto create
- * @since 1.0, 2020.09.16
- */
- class OapiIndustryUserListRequest
- {
- /**
- * 游标位置
- **/
- private $cursor;
-
- /**
- * 部门id
- **/
- private $deptId;
-
- /**
- * 标签
- **/
- private $role;
-
- /**
- * 页尺寸
- **/
- private $size;
-
- private $apiParas = array();
-
- public function setCursor($cursor)
- {
- $this->cursor = $cursor;
- $this->apiParas["cursor"] = $cursor;
- }
- public function getCursor()
- {
- return $this->cursor;
- }
- public function setDeptId($deptId)
- {
- $this->deptId = $deptId;
- $this->apiParas["dept_id"] = $deptId;
- }
- public function getDeptId()
- {
- return $this->deptId;
- }
- public function setRole($role)
- {
- $this->role = $role;
- $this->apiParas["role"] = $role;
- }
- public function getRole()
- {
- return $this->role;
- }
- public function setSize($size)
- {
- $this->size = $size;
- $this->apiParas["size"] = $size;
- }
- public function getSize()
- {
- return $this->size;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.industry.user.list";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->deptId,"deptId");
- RequestCheckUtil::checkNotNull($this->size,"size");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|