OapiAttendanceGetleavetimebynamesRequest.py 429 B

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