OapiFileUploadTransactionRequest.py 419 B

1234567891011121314151617
  1. '''
  2. Created by auto_sdk on 2018.07.25
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiFileUploadTransactionRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.agent_id = None
  9. self.chunk_numbers = None
  10. self.file_size = None
  11. self.upload_id = None
  12. def getHttpMethod(self):
  13. return 'GET'
  14. def getapiname(self):
  15. return 'dingtalk.oapi.file.upload.transaction'