OapiAttendanceApproveDurationCalculateRequest.py 479 B

12345678910111213141516171819
  1. '''
  2. Created by auto_sdk on 2019.09.25
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiAttendanceApproveDurationCalculateRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.biz_type = None
  9. self.calculate_model = None
  10. self.duration_unit = None
  11. self.from_time = None
  12. self.to_time = None
  13. self.userid = None
  14. def getHttpMethod(self):
  15. return 'POST'
  16. def getapiname(self):
  17. return 'dingtalk.oapi.attendance.approve.duration.calculate'