OapiWorkspaceProjectCreateRequest.py 550 B

12345678910111213141516171819202122
  1. '''
  2. Created by auto_sdk on 2020.01.09
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiWorkspaceProjectCreateRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.belong_corp_userid = None
  9. self.create_group = None
  10. self.desc = None
  11. self.name = None
  12. self.open_conversation_id = None
  13. self.outer_id = None
  14. self.template_id = None
  15. self.type = None
  16. self.userid = None
  17. def getHttpMethod(self):
  18. return 'POST'
  19. def getapiname(self):
  20. return 'dingtalk.oapi.workspace.project.create'