123456789101112131415 |
- '''
- Created by auto_sdk on 2022.04.12
- '''
- from dingtalk.api.base import RestApi
- class OapiRoleAddRoleRequest(RestApi):
- def __init__(self,url=None):
- RestApi.__init__(self,url)
- self.groupId = None
- self.roleName = None
- def getHttpMethod(self):
- return 'POST'
- def getapiname(self):
- return 'dingtalk.oapi.role.add_role'
|