OapiV2UserCreateRequest.py 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. '''
  2. Created by auto_sdk on 2021.12.02
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiV2UserCreateRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.avatarMediaId = None
  9. self.dept_id_list = None
  10. self.dept_order_list = None
  11. self.dept_position_list = None
  12. self.dept_title_list = None
  13. self.email = None
  14. self.exclusive_account = None
  15. self.exclusive_account_type = None
  16. self.exclusive_mobile = None
  17. self.exclusive_mobile_verify_status = None
  18. self.extension = None
  19. self.hide_mobile = None
  20. self.hired_date = None
  21. self.init_password = None
  22. self.job_number = None
  23. self.login_email = None
  24. self.login_id = None
  25. self.manager_userid = None
  26. self.mobile = None
  27. self.name = None
  28. self.nickname = None
  29. self.org_email = None
  30. self.org_email_type = None
  31. self.outer_exclusive_corpid = None
  32. self.outer_exclusive_userid = None
  33. self.remark = None
  34. self.senior_mode = None
  35. self.telephone = None
  36. self.title = None
  37. self.userid = None
  38. self.work_place = None
  39. def getHttpMethod(self):
  40. return 'POST'
  41. def getapiname(self):
  42. return 'dingtalk.oapi.v2.user.create'