123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.edu.dept.get request
- *
- * @author auto create
- * @since 1.0, 2020.06.23
- */
- class OapiEduDeptGetRequest
- {
- /**
- * 家校部门id
- **/
- private $deptId;
-
- private $apiParas = array();
-
- public function setDeptId($deptId)
- {
- $this->deptId = $deptId;
- $this->apiParas["dept_id"] = $deptId;
- }
- public function getDeptId()
- {
- return $this->deptId;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.edu.dept.get";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->deptId,"deptId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|