OapiWorkbenchShortcutAddRequest.py 458 B

12345678910111213141516171819
  1. '''
  2. Created by auto_sdk on 2019.07.01
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiWorkbenchShortcutAddRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.app_id = None
  9. self.biz_no = None
  10. self.icon = None
  11. self.name = None
  12. self.pc_shortcut_uri = None
  13. self.shortcut_uri = None
  14. def getHttpMethod(self):
  15. return 'POST'
  16. def getapiname(self):
  17. return 'dingtalk.oapi.workbench.shortcut.add'