OapiAttendanceApproveFinishRequest.py 647 B

1234567891011121314151617181920212223242526
  1. '''
  2. Created by auto_sdk on 2021.03.03
  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.dingtalk_approve_id = None
  12. self.duration_unit = None
  13. self.from_time = None
  14. self.jump_url = None
  15. self.overtime_duration = None
  16. self.overtime_to_more = None
  17. self.sub_type = None
  18. self.tag_name = None
  19. self.to_time = None
  20. self.userid = None
  21. def getHttpMethod(self):
  22. return 'POST'
  23. def getapiname(self):
  24. return 'dingtalk.oapi.attendance.approve.finish'