OapiEduHomeworkStudentCommentDeleteRequest.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?php
  2. /**
  3. * dingtalk API: dingtalk.oapi.edu.homework.student.comment.delete request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2020.04.29
  7. */
  8. class OapiEduHomeworkStudentCommentDeleteRequest
  9. {
  10. /**
  11. * 业务编码
  12. **/
  13. private $bizCode;
  14. /**
  15. * 班级ID
  16. **/
  17. private $classId;
  18. /**
  19. * 评论ID
  20. **/
  21. private $commentId;
  22. /**
  23. * 作业ID
  24. **/
  25. private $hwId;
  26. /**
  27. * 学生ID
  28. **/
  29. private $studentId;
  30. /**
  31. * 老师UserID
  32. **/
  33. private $teacherUserid;
  34. private $apiParas = array();
  35. public function setBizCode($bizCode)
  36. {
  37. $this->bizCode = $bizCode;
  38. $this->apiParas["biz_code"] = $bizCode;
  39. }
  40. public function getBizCode()
  41. {
  42. return $this->bizCode;
  43. }
  44. public function setClassId($classId)
  45. {
  46. $this->classId = $classId;
  47. $this->apiParas["class_id"] = $classId;
  48. }
  49. public function getClassId()
  50. {
  51. return $this->classId;
  52. }
  53. public function setCommentId($commentId)
  54. {
  55. $this->commentId = $commentId;
  56. $this->apiParas["comment_id"] = $commentId;
  57. }
  58. public function getCommentId()
  59. {
  60. return $this->commentId;
  61. }
  62. public function setHwId($hwId)
  63. {
  64. $this->hwId = $hwId;
  65. $this->apiParas["hw_id"] = $hwId;
  66. }
  67. public function getHwId()
  68. {
  69. return $this->hwId;
  70. }
  71. public function setStudentId($studentId)
  72. {
  73. $this->studentId = $studentId;
  74. $this->apiParas["student_id"] = $studentId;
  75. }
  76. public function getStudentId()
  77. {
  78. return $this->studentId;
  79. }
  80. public function setTeacherUserid($teacherUserid)
  81. {
  82. $this->teacherUserid = $teacherUserid;
  83. $this->apiParas["teacher_userid"] = $teacherUserid;
  84. }
  85. public function getTeacherUserid()
  86. {
  87. return $this->teacherUserid;
  88. }
  89. public function getApiMethodName()
  90. {
  91. return "dingtalk.oapi.edu.homework.student.comment.delete";
  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. }