OapiUserCreateRequest.py 666 B

1234567891011121314151617181920212223242526272829
  1. '''
  2. Created by auto_sdk on 2019.05.23
  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.remark = None
  21. self.tel = None
  22. self.userid = None
  23. self.workPlace = None
  24. def getHttpMethod(self):
  25. return 'POST'
  26. def getapiname(self):
  27. return 'dingtalk.oapi.user.create'