1234567891011121314151617181920212223242526272829 |
- '''
- Created by auto_sdk on 2019.05.23
- '''
- from dingtalk.api.base import RestApi
- class OapiUserCreateRequest(RestApi):
- def __init__(self,url=None):
- RestApi.__init__(self,url)
- self.department = None
- self.email = None
- self.extattr = None
- self.hiredDate = None
- self.isHide = None
- self.isSenior = None
- self.jobnumber = None
- self.mobile = None
- self.name = None
- self.orderInDepts = None
- self.orgEmail = None
- self.position = None
- self.remark = None
- self.tel = None
- self.userid = None
- self.workPlace = None
- def getHttpMethod(self):
- return 'POST'
- def getapiname(self):
- return 'dingtalk.oapi.user.create'
|