OapiServiceGetAgentRequest.py 410 B

1234567891011121314151617
  1. '''
  2. Created by auto_sdk on 2019.12.16
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiServiceGetAgentRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.agentid = None
  9. self.auth_corpid = None
  10. self.permanent_code = None
  11. self.suite_key = None
  12. def getHttpMethod(self):
  13. return 'POST'
  14. def getapiname(self):
  15. return 'dingtalk.oapi.service.get_agent'