OapiSceneservicegroupGroupQueryRequest.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?php
  2. /**
  3. * dingtalk API: dingtalk.oapi.sceneservicegroup.group.query request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2021.01.21
  7. */
  8. class OapiSceneservicegroupGroupQueryRequest
  9. {
  10. /**
  11. * 表示分页游标,从0开始
  12. **/
  13. private $cursor;
  14. /**
  15. * 群名称
  16. **/
  17. private $groupName;
  18. /**
  19. * 开放群ID
  20. **/
  21. private $openConversationid;
  22. /**
  23. * 群组id
  24. **/
  25. private $openGroupsetid;
  26. /**
  27. * 团队id
  28. **/
  29. private $openTeamid;
  30. /**
  31. * 表示分页大小,size最大不超过100
  32. **/
  33. private $size;
  34. private $apiParas = array();
  35. public function setCursor($cursor)
  36. {
  37. $this->cursor = $cursor;
  38. $this->apiParas["cursor"] = $cursor;
  39. }
  40. public function getCursor()
  41. {
  42. return $this->cursor;
  43. }
  44. public function setGroupName($groupName)
  45. {
  46. $this->groupName = $groupName;
  47. $this->apiParas["group_name"] = $groupName;
  48. }
  49. public function getGroupName()
  50. {
  51. return $this->groupName;
  52. }
  53. public function setOpenConversationid($openConversationid)
  54. {
  55. $this->openConversationid = $openConversationid;
  56. $this->apiParas["open_conversationid"] = $openConversationid;
  57. }
  58. public function getOpenConversationid()
  59. {
  60. return $this->openConversationid;
  61. }
  62. public function setOpenGroupsetid($openGroupsetid)
  63. {
  64. $this->openGroupsetid = $openGroupsetid;
  65. $this->apiParas["open_groupsetid"] = $openGroupsetid;
  66. }
  67. public function getOpenGroupsetid()
  68. {
  69. return $this->openGroupsetid;
  70. }
  71. public function setOpenTeamid($openTeamid)
  72. {
  73. $this->openTeamid = $openTeamid;
  74. $this->apiParas["open_teamid"] = $openTeamid;
  75. }
  76. public function getOpenTeamid()
  77. {
  78. return $this->openTeamid;
  79. }
  80. public function setSize($size)
  81. {
  82. $this->size = $size;
  83. $this->apiParas["size"] = $size;
  84. }
  85. public function getSize()
  86. {
  87. return $this->size;
  88. }
  89. public function getApiMethodName()
  90. {
  91. return "dingtalk.oapi.sceneservicegroup.group.query";
  92. }
  93. public function getApiParas()
  94. {
  95. return $this->apiParas;
  96. }
  97. public function check()
  98. {
  99. }
  100. public function putOtherTextParam($key, $value) {
  101. $this->apiParas[$key] = $value;
  102. $this->$key = $value;
  103. }
  104. }