OapiAttendanceVacationTypeUpdateRequest.py 551 B

123456789101112131415161718192021
  1. '''
  2. Created by auto_sdk on 2019.07.01
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiAttendanceVacationTypeUpdateRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.biz_type = None
  9. self.extras = None
  10. self.hours_in_per_day = None
  11. self.leave_code = None
  12. self.leave_name = None
  13. self.leave_view_unit = None
  14. self.natural_day_leave = None
  15. self.op_userid = None
  16. def getHttpMethod(self):
  17. return 'POST'
  18. def getapiname(self):
  19. return 'dingtalk.oapi.attendance.vacation.type.update'