OapiDepartmentCreateRequest.py 742 B

123456789101112131415161718192021222324252627282930
  1. '''
  2. Created by auto_sdk on 2020.10.10
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiDepartmentCreateRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.createDeptGroup = None
  9. self.deptHiding = None
  10. self.deptPerimits = None
  11. self.deptPermits = None
  12. self.id = None
  13. self.name = None
  14. self.order = None
  15. self.outerDept = None
  16. self.outerDeptOnlySelf = None
  17. self.outerPermitDepts = None
  18. self.outerPermitUsers = None
  19. self.parentBalanceFirst = None
  20. self.parentid = None
  21. self.shareBalance = None
  22. self.sourceIdentifier = None
  23. self.userPerimits = None
  24. self.userPermits = None
  25. def getHttpMethod(self):
  26. return 'POST'
  27. def getapiname(self):
  28. return 'dingtalk.oapi.department.create'