OapiV2DepartmentListsubidRequest.php 793 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /**
  3. * dingtalk API: dingtalk.oapi.v2.department.listsubid request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2020.10.10
  7. */
  8. class OapiV2DepartmentListsubidRequest
  9. {
  10. /**
  11. * 父部门id,根部门传1
  12. **/
  13. private $deptId;
  14. private $apiParas = array();
  15. public function setDeptId($deptId)
  16. {
  17. $this->deptId = $deptId;
  18. $this->apiParas["dept_id"] = $deptId;
  19. }
  20. public function getDeptId()
  21. {
  22. return $this->deptId;
  23. }
  24. public function getApiMethodName()
  25. {
  26. return "dingtalk.oapi.v2.department.listsubid";
  27. }
  28. public function getApiParas()
  29. {
  30. return $this->apiParas;
  31. }
  32. public function check()
  33. {
  34. }
  35. public function putOtherTextParam($key, $value) {
  36. $this->apiParas[$key] = $value;
  37. $this->$key = $value;
  38. }
  39. }