OapiAttendanceApproveFinishRequest.py 638 B

12345678910111213141516171819202122232425
  1. '''
  2. Created by auto_sdk on 2019.10.17
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiAttendanceApproveFinishRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.approve_id = None
  9. self.biz_type = None
  10. self.calculate_model = None
  11. self.duration_unit = None
  12. self.from_time = None
  13. self.jump_url = None
  14. self.overtime_duration = None
  15. self.overtime_to_more = None
  16. self.sub_type = None
  17. self.tag_name = None
  18. self.to_time = None
  19. self.userid = None
  20. def getHttpMethod(self):
  21. return 'POST'
  22. def getapiname(self):
  23. return 'dingtalk.oapi.attendance.approve.finish'