OapiAttendanceApproveScheduleSwitchRequest.py 633 B

1234567891011121314151617181920212223
  1. '''
  2. Created by auto_sdk on 2019.09.19
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiAttendanceApproveScheduleSwitchRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.apply_shift_id = None
  9. self.apply_userid = None
  10. self.approve_id = None
  11. self.reback_apply_shift_id = None
  12. self.reback_date = None
  13. self.reback_target_shift_id = None
  14. self.switch_date = None
  15. self.target_shift_id = None
  16. self.target_userid = None
  17. self.userid = None
  18. def getHttpMethod(self):
  19. return 'POST'
  20. def getapiname(self):
  21. return 'dingtalk.oapi.attendance.approve.schedule.switch'