OapiDepartmentCreateRequest.py 754 B

1234567891011121314151617181920212223242526272829
  1. '''
  2. Created by auto_sdk on 2018.08.17
  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.name = None
  13. self.order = None
  14. self.outerDept = None
  15. self.outerDeptOnlySelf = None
  16. self.outerPermitDepts = None
  17. self.outerPermitUsers = None
  18. self.parentBalanceFirst = None
  19. self.parentid = None
  20. self.shareBalance = None
  21. self.sourceIdentifier = None
  22. self.userPerimits = None
  23. self.userPermits = None
  24. def getHttpMethod(self):
  25. return 'POST'
  26. def getapiname(self):
  27. return 'dingtalk.oapi.department.create'