OapiUserCreateRequest.py 667 B

123456789101112131415161718192021222324252627282930
  1. '''
  2. Created by auto_sdk on 2021.06.08
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiUserCreateRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.department = None
  9. self.email = None
  10. self.extattr = None
  11. self.hiredDate = None
  12. self.isHide = None
  13. self.isSenior = None
  14. self.jobnumber = None
  15. self.mobile = None
  16. self.name = None
  17. self.orderInDepts = None
  18. self.orgEmail = None
  19. self.position = None
  20. self.positionInDepts = None
  21. self.remark = None
  22. self.tel = None
  23. self.userid = None
  24. self.workPlace = None
  25. def getHttpMethod(self):
  26. return 'POST'
  27. def getapiname(self):
  28. return 'dingtalk.oapi.user.create'