OapiCspaceAuthGenerateRequest.py 426 B

12345678910111213141516171819
  1. '''
  2. Created by auto_sdk on 2019.10.08
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiCspaceAuthGenerateRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.agent_id = None
  9. self.app_id = None
  10. self.duration = None
  11. self.file_ids = None
  12. self.path = None
  13. self.type = None
  14. def getHttpMethod(self):
  15. return 'POST'
  16. def getapiname(self):
  17. return 'dingtalk.oapi.cspace.auth.generate'