OapiUserUpdateRequest.py 715 B

12345678910111213141516171819202122232425262728293031
  1. '''
  2. Created by auto_sdk on 2019.05.23
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiUserUpdateRequest(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.lang = None
  16. self.managerUserid = None
  17. self.mobile = None
  18. self.name = None
  19. self.orderInDepts = None
  20. self.orgEmail = None
  21. self.position = None
  22. self.remark = None
  23. self.tel = None
  24. self.userid = None
  25. self.workPlace = None
  26. def getHttpMethod(self):
  27. return 'POST'
  28. def getapiname(self):
  29. return 'dingtalk.oapi.user.update'