OapiAttendanceGetleaveapprovedurationRequest.py 410 B

12345678910111213141516
  1. '''
  2. Created by auto_sdk on 2019.07.03
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiAttendanceGetleaveapprovedurationRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.from_date = None
  9. self.to_date = None
  10. self.userid = None
  11. def getHttpMethod(self):
  12. return 'POST'
  13. def getapiname(self):
  14. return 'dingtalk.oapi.attendance.getleaveapproveduration'