OapiCalendarListRequest.py 510 B

123456789101112131415161718192021
  1. '''
  2. Created by auto_sdk on 2020.01.21
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiCalendarListRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.calendar_folder_id = None
  9. self.i_cal_uid = None
  10. self.max_results = None
  11. self.page_token = None
  12. self.single_events = None
  13. self.time_max = None
  14. self.time_min = None
  15. self.user_id = None
  16. def getHttpMethod(self):
  17. return 'POST'
  18. def getapiname(self):
  19. return 'dingtalk.oapi.calendar.list'