OapiCspaceAddRequest.py 453 B

1234567891011121314151617181920
  1. '''
  2. Created by auto_sdk on 2018.07.25
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiCspaceAddRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.agent_id = None
  9. self.code = None
  10. self.folder_id = None
  11. self.media_id = None
  12. self.name = None
  13. self.overwrite = None
  14. self.space_id = None
  15. def getHttpMethod(self):
  16. return 'GET'
  17. def getapiname(self):
  18. return 'dingtalk.oapi.cspace.add'