@@ -11676,7 +11676,7 @@ def get_markdown_in_storage_to_pdf_with_http_info(self, src_path, **kwargs):
11676
11676
_request_timeout=params.get('_request_timeout'),
11677
11677
collection_formats=collection_formats)
11678
11678
11679
- def get_mht_in_storage_to_pdf(self, src_path, height, width, margin_left, margin_bottom, margin_right, margin_top, **kwargs):
11679
+ def get_mht_in_storage_to_pdf(self, src_path, **kwargs):
11680
11680
"""
11681
11681
Convert MHT file (located on storage) to PDF format and return resulting file in response.
11682
11682
This method makes a synchronous HTTP request by default. To make an
@@ -11685,30 +11685,30 @@ def get_mht_in_storage_to_pdf(self, src_path, height, width, margin_left, margin
11685
11685
>>> def callback_function(response):
11686
11686
>>> pprint(response)
11687
11687
>>>
11688
- >>> thread = api.get_mht_in_storage_to_pdf(src_path, height, width, margin_left, margin_bottom, margin_right, margin_top, callback=callback_function)
11688
+ >>> thread = api.get_mht_in_storage_to_pdf(src_path, callback=callback_function)
11689
11689
11690
11690
:param callback function: The callback function
11691
11691
for asynchronous request. (optional)
11692
11692
:param str src_path: Full source filename (ex. /folder1/folder2/template.mht) (required)
11693
- :param float height: Page height (required)
11694
- :param float width: Page width (required)
11695
- :param float margin_left: Page margin left (required)
11696
- :param float margin_bottom: Page margin bottom (required)
11697
- :param float margin_right: Page margin right (required)
11698
- :param float margin_top: Page margin top (required)
11693
+ :param float height: Page height
11694
+ :param float width: Page width
11695
+ :param float margin_left: Page margin left
11696
+ :param float margin_bottom: Page margin bottom
11697
+ :param float margin_right: Page margin right
11698
+ :param float margin_top: Page margin top
11699
11699
:param str storage: The document storage.
11700
11700
:return: file
11701
11701
If the method is called asynchronously,
11702
11702
returns the request thread.
11703
11703
"""
11704
11704
kwargs['_return_http_data_only'] = True
11705
11705
if kwargs.get('callback'):
11706
- return self.get_mht_in_storage_to_pdf_with_http_info(src_path, height, width, margin_left, margin_bottom, margin_right, margin_top, **kwargs)
11706
+ return self.get_mht_in_storage_to_pdf_with_http_info(src_path, **kwargs)
11707
11707
else:
11708
- (data) = self.get_mht_in_storage_to_pdf_with_http_info(src_path, height, width, margin_left, margin_bottom, margin_right, margin_top, **kwargs)
11708
+ (data) = self.get_mht_in_storage_to_pdf_with_http_info(src_path, **kwargs)
11709
11709
return data
11710
11710
11711
- def get_mht_in_storage_to_pdf_with_http_info(self, src_path, height, width, margin_left, margin_bottom, margin_right, margin_top, **kwargs):
11711
+ def get_mht_in_storage_to_pdf_with_http_info(self, src_path, **kwargs):
11712
11712
"""
11713
11713
Convert MHT file (located on storage) to PDF format and return resulting file in response.
11714
11714
This method makes a synchronous HTTP request by default. To make an
@@ -11717,17 +11717,17 @@ def get_mht_in_storage_to_pdf_with_http_info(self, src_path, height, width, marg
11717
11717
>>> def callback_function(response):
11718
11718
>>> pprint(response)
11719
11719
>>>
11720
- >>> thread = api.get_mht_in_storage_to_pdf_with_http_info(src_path, height, width, margin_left, margin_bottom, margin_right, margin_top, callback=callback_function)
11720
+ >>> thread = api.get_mht_in_storage_to_pdf_with_http_info(src_path, callback=callback_function)
11721
11721
11722
11722
:param callback function: The callback function
11723
11723
for asynchronous request. (optional)
11724
11724
:param str src_path: Full source filename (ex. /folder1/folder2/template.mht) (required)
11725
- :param float height: Page height (required)
11726
- :param float width: Page width (required)
11727
- :param float margin_left: Page margin left (required)
11728
- :param float margin_bottom: Page margin bottom (required)
11729
- :param float margin_right: Page margin right (required)
11730
- :param float margin_top: Page margin top (required)
11725
+ :param float height: Page height
11726
+ :param float width: Page width
11727
+ :param float margin_left: Page margin left
11728
+ :param float margin_bottom: Page margin bottom
11729
+ :param float margin_right: Page margin right
11730
+ :param float margin_top: Page margin top
11731
11731
:param str storage: The document storage.
11732
11732
:return: file
11733
11733
If the method is called asynchronously,
@@ -11752,24 +11752,6 @@ def get_mht_in_storage_to_pdf_with_http_info(self, src_path, height, width, marg
11752
11752
# verify the required parameter 'src_path' is set
11753
11753
if ('src_path' not in params) or (params['src_path'] is None):
11754
11754
raise ValueError("Missing the required parameter `src_path` when calling `get_mht_in_storage_to_pdf`")
11755
- # verify the required parameter 'height' is set
11756
- if ('height' not in params) or (params['height'] is None):
11757
- raise ValueError("Missing the required parameter `height` when calling `get_mht_in_storage_to_pdf`")
11758
- # verify the required parameter 'width' is set
11759
- if ('width' not in params) or (params['width'] is None):
11760
- raise ValueError("Missing the required parameter `width` when calling `get_mht_in_storage_to_pdf`")
11761
- # verify the required parameter 'margin_left' is set
11762
- if ('margin_left' not in params) or (params['margin_left'] is None):
11763
- raise ValueError("Missing the required parameter `margin_left` when calling `get_mht_in_storage_to_pdf`")
11764
- # verify the required parameter 'margin_bottom' is set
11765
- if ('margin_bottom' not in params) or (params['margin_bottom'] is None):
11766
- raise ValueError("Missing the required parameter `margin_bottom` when calling `get_mht_in_storage_to_pdf`")
11767
- # verify the required parameter 'margin_right' is set
11768
- if ('margin_right' not in params) or (params['margin_right'] is None):
11769
- raise ValueError("Missing the required parameter `margin_right` when calling `get_mht_in_storage_to_pdf`")
11770
- # verify the required parameter 'margin_top' is set
11771
- if ('margin_top' not in params) or (params['margin_top'] is None):
11772
- raise ValueError("Missing the required parameter `margin_top` when calling `get_mht_in_storage_to_pdf`")
11773
11755
11774
11756
11775
11757
collection_formats = {}
@@ -36836,7 +36818,7 @@ def put_merge_documents_with_http_info(self, name, merge_documents, **kwargs):
36836
36818
_request_timeout=params.get('_request_timeout'),
36837
36819
collection_formats=collection_formats)
36838
36820
36839
- def put_mht_in_storage_to_pdf(self, name, src_path, height, width, margin_left, margin_bottom, margin_right, margin_top, **kwargs):
36821
+ def put_mht_in_storage_to_pdf(self, name, src_path, **kwargs):
36840
36822
"""
36841
36823
Convert MHT file (located on storage) to PDF format and upload resulting file to storage.
36842
36824
This method makes a synchronous HTTP request by default. To make an
@@ -36845,18 +36827,18 @@ def put_mht_in_storage_to_pdf(self, name, src_path, height, width, margin_left,
36845
36827
>>> def callback_function(response):
36846
36828
>>> pprint(response)
36847
36829
>>>
36848
- >>> thread = api.put_mht_in_storage_to_pdf(name, src_path, height, width, margin_left, margin_bottom, margin_right, margin_top, callback=callback_function)
36830
+ >>> thread = api.put_mht_in_storage_to_pdf(name, src_path, callback=callback_function)
36849
36831
36850
36832
:param callback function: The callback function
36851
36833
for asynchronous request. (optional)
36852
36834
:param str name: The document name. (required)
36853
36835
:param str src_path: Full source filename (ex. /folder1/folder2/template.mht) (required)
36854
- :param float height: Page height (required)
36855
- :param float width: Page width (required)
36856
- :param float margin_left: Page margin left (required)
36857
- :param float margin_bottom: Page margin bottom (required)
36858
- :param float margin_right: Page margin right (required)
36859
- :param float margin_top: Page margin top (required)
36836
+ :param float height: Page height
36837
+ :param float width: Page width
36838
+ :param float margin_left: Page margin left
36839
+ :param float margin_bottom: Page margin bottom
36840
+ :param float margin_right: Page margin right
36841
+ :param float margin_top: Page margin top
36860
36842
:param str dst_folder: The destination document folder.
36861
36843
:param str storage: The document storage.
36862
36844
:return: AsposeResponse
@@ -36865,12 +36847,12 @@ def put_mht_in_storage_to_pdf(self, name, src_path, height, width, margin_left,
36865
36847
"""
36866
36848
kwargs['_return_http_data_only'] = True
36867
36849
if kwargs.get('callback'):
36868
- return self.put_mht_in_storage_to_pdf_with_http_info(name, src_path, height, width, margin_left, margin_bottom, margin_right, margin_top, **kwargs)
36850
+ return self.put_mht_in_storage_to_pdf_with_http_info(name, src_path, **kwargs)
36869
36851
else:
36870
- (data) = self.put_mht_in_storage_to_pdf_with_http_info(name, src_path, height, width, margin_left, margin_bottom, margin_right, margin_top, **kwargs)
36852
+ (data) = self.put_mht_in_storage_to_pdf_with_http_info(name, src_path, **kwargs)
36871
36853
return data
36872
36854
36873
- def put_mht_in_storage_to_pdf_with_http_info(self, name, src_path, height, width, margin_left, margin_bottom, margin_right, margin_top, **kwargs):
36855
+ def put_mht_in_storage_to_pdf_with_http_info(self, name, src_path, **kwargs):
36874
36856
"""
36875
36857
Convert MHT file (located on storage) to PDF format and upload resulting file to storage.
36876
36858
This method makes a synchronous HTTP request by default. To make an
@@ -36879,18 +36861,18 @@ def put_mht_in_storage_to_pdf_with_http_info(self, name, src_path, height, width
36879
36861
>>> def callback_function(response):
36880
36862
>>> pprint(response)
36881
36863
>>>
36882
- >>> thread = api.put_mht_in_storage_to_pdf_with_http_info(name, src_path, height, width, margin_left, margin_bottom, margin_right, margin_top, callback=callback_function)
36864
+ >>> thread = api.put_mht_in_storage_to_pdf_with_http_info(name, src_path, callback=callback_function)
36883
36865
36884
36866
:param callback function: The callback function
36885
36867
for asynchronous request. (optional)
36886
36868
:param str name: The document name. (required)
36887
36869
:param str src_path: Full source filename (ex. /folder1/folder2/template.mht) (required)
36888
- :param float height: Page height (required)
36889
- :param float width: Page width (required)
36890
- :param float margin_left: Page margin left (required)
36891
- :param float margin_bottom: Page margin bottom (required)
36892
- :param float margin_right: Page margin right (required)
36893
- :param float margin_top: Page margin top (required)
36870
+ :param float height: Page height
36871
+ :param float width: Page width
36872
+ :param float margin_left: Page margin left
36873
+ :param float margin_bottom: Page margin bottom
36874
+ :param float margin_right: Page margin right
36875
+ :param float margin_top: Page margin top
36894
36876
:param str dst_folder: The destination document folder.
36895
36877
:param str storage: The document storage.
36896
36878
:return: AsposeResponse
@@ -36919,24 +36901,6 @@ def put_mht_in_storage_to_pdf_with_http_info(self, name, src_path, height, width
36919
36901
# verify the required parameter 'src_path' is set
36920
36902
if ('src_path' not in params) or (params['src_path'] is None):
36921
36903
raise ValueError("Missing the required parameter `src_path` when calling `put_mht_in_storage_to_pdf`")
36922
- # verify the required parameter 'height' is set
36923
- if ('height' not in params) or (params['height'] is None):
36924
- raise ValueError("Missing the required parameter `height` when calling `put_mht_in_storage_to_pdf`")
36925
- # verify the required parameter 'width' is set
36926
- if ('width' not in params) or (params['width'] is None):
36927
- raise ValueError("Missing the required parameter `width` when calling `put_mht_in_storage_to_pdf`")
36928
- # verify the required parameter 'margin_left' is set
36929
- if ('margin_left' not in params) or (params['margin_left'] is None):
36930
- raise ValueError("Missing the required parameter `margin_left` when calling `put_mht_in_storage_to_pdf`")
36931
- # verify the required parameter 'margin_bottom' is set
36932
- if ('margin_bottom' not in params) or (params['margin_bottom'] is None):
36933
- raise ValueError("Missing the required parameter `margin_bottom` when calling `put_mht_in_storage_to_pdf`")
36934
- # verify the required parameter 'margin_right' is set
36935
- if ('margin_right' not in params) or (params['margin_right'] is None):
36936
- raise ValueError("Missing the required parameter `margin_right` when calling `put_mht_in_storage_to_pdf`")
36937
- # verify the required parameter 'margin_top' is set
36938
- if ('margin_top' not in params) or (params['margin_top'] is None):
36939
- raise ValueError("Missing the required parameter `margin_top` when calling `put_mht_in_storage_to_pdf`")
36940
36904
36941
36905
36942
36906
collection_formats = {}
0 commit comments