OapiEduHomeworkTopicCreateRequest.php 772 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /**
  3. * dingtalk API: dingtalk.oapi.edu.homework.topic.create request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2021.04.27
  7. */
  8. class OapiEduHomeworkTopicCreateRequest
  9. {
  10. /**
  11. * 题目列表
  12. **/
  13. private $topicItems;
  14. private $apiParas = array();
  15. public function setTopicItems($topicItems)
  16. {
  17. $this->topicItems = $topicItems;
  18. $this->apiParas["topic_items"] = $topicItems;
  19. }
  20. public function getTopicItems()
  21. {
  22. return $this->topicItems;
  23. }
  24. public function getApiMethodName()
  25. {
  26. return "dingtalk.oapi.edu.homework.topic.create";
  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. }