OapiDepartmentUpdateRequest.py 932 B

1234567891011121314151617181920212223242526272829303132333435
  1. '''
  2. Created by auto_sdk on 2019.01.27
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiDepartmentUpdateRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.autoAddUser = None
  9. self.createDeptGroup = None
  10. self.deptHiding = None
  11. self.deptManagerUseridList = None
  12. self.deptPerimits = None
  13. self.deptPermits = None
  14. self.groupContainHiddenDept = None
  15. self.groupContainOuterDept = None
  16. self.groupContainSubDept = None
  17. self.id = None
  18. self.lang = None
  19. self.name = None
  20. self.order = None
  21. self.orgDeptOwner = None
  22. self.outerDept = None
  23. self.outerDeptOnlySelf = None
  24. self.outerPermitDepts = None
  25. self.outerPermitUsers = None
  26. self.parentid = None
  27. self.sourceIdentifier = None
  28. self.userPerimits = None
  29. self.userPermits = None
  30. def getHttpMethod(self):
  31. return 'POST'
  32. def getapiname(self):
  33. return 'dingtalk.oapi.department.update'