OapiEduHomeworkCreateRequest.py 807 B

123456789101112131415161718192021222324252627282930313233
  1. '''
  2. Created by auto_sdk on 2020.12.04
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiEduHomeworkCreateRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.attributes = None
  9. self.biz_code = None
  10. self.course_name = None
  11. self.hw_content = None
  12. self.hw_deadline = None
  13. self.hw_deadline_open = None
  14. self.hw_media = None
  15. self.hw_photo = None
  16. self.hw_title = None
  17. self.hw_type = None
  18. self.hw_video = None
  19. self.identifier = None
  20. self.scheduled_release = None
  21. self.scheduled_time = None
  22. self.select_class = None
  23. self.select_stu = None
  24. self.status = None
  25. self.target_role = None
  26. self.teacher_name = None
  27. self.teacher_userid = None
  28. def getHttpMethod(self):
  29. return 'POST'
  30. def getapiname(self):
  31. return 'dingtalk.oapi.edu.homework.create'