Skip to content

Commit 257c354

Browse files
author
evgeny.ivanov
committed
SDK regenerated by CI server [ci skip]
1 parent 896ebfe commit 257c354

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

asposewordscloud/apis/words_api.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def append_document_online(self, request, **kwargs): # noqa: E501
289289
asynchronous HTTP request, please pass is_async=True
290290

291291
:param is_async bool
292-
:param document file : The document. (required)
292+
:param document file : Original document. (required)
293293
:param document_list DocumentEntryList : <see cref="DocumentEntryList"/> with a list of documents to append. (required)
294294
:param load_encoding str : Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
295295
:param password str : Password for opening an encrypted document.
@@ -7562,7 +7562,7 @@ def get_document_field_names_online(self, request, **kwargs): # noqa: E501
75627562
asynchronous HTTP request, please pass is_async=True
75637563

75647564
:param is_async bool
7565-
:param document file : The document. (required)
7565+
:param template file : The template document. (required)
75667566
:param load_encoding str : Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
75677567
:param password str : Password for opening an encrypted document.
75687568
:param use_non_merge_fields bool : The flag indicating whether to use non merge fields. If true, result includes "mustache" field names.
@@ -18783,7 +18783,7 @@ def save_as_with_http_info(self, request, **kwargs): # noqa: E501
1878318783
collection_formats=http_params['collection_formats']))
1878418784

1878518785
def save_as_online(self, request, **kwargs): # noqa: E501
18786-
"""Converts a document in cloud storage to the specified format. # noqa: E501
18786+
"""Converts a document to the specified format. # noqa: E501
1878718787

1878818788
This method makes a synchronous HTTP request by default. To make an
1878918789
asynchronous HTTP request, please pass is_async=True
@@ -18812,7 +18812,7 @@ def save_as_online(self, request, **kwargs): # noqa: E501
1881218812
return data
1881318813

1881418814
def save_as_online_with_http_info(self, request, **kwargs): # noqa: E501
18815-
"""Converts a document in cloud storage to the specified format. # noqa: E501
18815+
"""Converts a document to the specified format. # noqa: E501
1881618816

1881718817
This method makes a synchronous HTTP request by default. To make an
1881818818
asynchronous HTTP request, please pass is_async=True
@@ -19110,7 +19110,7 @@ def save_as_tiff_with_http_info(self, request, **kwargs): # noqa: E501
1911019110
collection_formats=http_params['collection_formats']))
1911119111

1911219112
def save_as_tiff_online(self, request, **kwargs): # noqa: E501
19113-
"""Converts a document in cloud storage to TIFF format using detailed conversion settings. # noqa: E501
19113+
"""Converts a document to TIFF format using detailed conversion settings. # noqa: E501
1911419114

1911519115
This method makes a synchronous HTTP request by default. To make an
1911619116
asynchronous HTTP request, please pass is_async=True
@@ -19156,7 +19156,7 @@ def save_as_tiff_online(self, request, **kwargs): # noqa: E501
1915619156
return data
1915719157

1915819158
def save_as_tiff_online_with_http_info(self, request, **kwargs): # noqa: E501
19159-
"""Converts a document in cloud storage to TIFF format using detailed conversion settings. # noqa: E501
19159+
"""Converts a document to TIFF format using detailed conversion settings. # noqa: E501
1916019160

1916119161
This method makes a synchronous HTTP request by default. To make an
1916219162
asynchronous HTTP request, please pass is_async=True

asposewordscloud/models/requests/append_document_online_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class AppendDocumentOnlineRequest(BaseRequestObject):
3434
"""
3535
Request model for append_document_online operation.
3636
Initializes a new instance.
37-
:param document The document.
37+
:param document Original document.
3838
:param document_list <see cref="DocumentEntryList"/> with a list of documents to append.
3939
:param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
4040
:param password Password for opening an encrypted document.

asposewordscloud/models/requests/get_document_field_names_online_request.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,22 @@ class GetDocumentFieldNamesOnlineRequest(BaseRequestObject):
3434
"""
3535
Request model for get_document_field_names_online operation.
3636
Initializes a new instance.
37-
:param document The document.
37+
:param template The template document.
3838
:param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
3939
:param password Password for opening an encrypted document.
4040
:param use_non_merge_fields The flag indicating whether to use non merge fields. If true, result includes "mustache" field names.
4141
"""
4242

43-
def __init__(self, document, load_encoding=None, password=None, use_non_merge_fields=None):
44-
self.document = document
43+
def __init__(self, template, load_encoding=None, password=None, use_non_merge_fields=None):
44+
self.template = template
4545
self.load_encoding = load_encoding
4646
self.password = password
4747
self.use_non_merge_fields = use_non_merge_fields
4848

4949
def create_http_request(self, api_client):
50-
# verify the required parameter 'document' is set
51-
if self.document is None:
52-
raise ValueError("Missing the required parameter `document` when calling `get_document_field_names_online`") # noqa: E501
50+
# verify the required parameter 'template' is set
51+
if self.template is None:
52+
raise ValueError("Missing the required parameter `template` when calling `get_document_field_names_online`") # noqa: E501
5353

5454
path = '/v4.0/words/online/get/mailMerge/FieldNames'
5555
path_params = {}
@@ -83,8 +83,8 @@ def create_http_request(self, api_client):
8383
['multipart/form-data']) # noqa: E501
8484

8585
form_params = []
86-
if self.document is not None:
87-
form_params.append(['document', self.document, 'file']) # noqa: E501
86+
if self.template is not None:
87+
form_params.append(['template', self.template, 'file']) # noqa: E501
8888

8989
body_params = None
9090
return {

test/api/mail_merge/test_mail_merge_fileds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_get_document_field_names_online(self):
3939
mail_merge_folder = 'DocumentActions/MailMerge'
4040
local_document_file = 'SampleExecuteTemplate.docx'
4141

42-
request = asposewordscloud.models.requests.GetDocumentFieldNamesOnlineRequest(document = open(os.path.join(self.local_test_folder, mail_merge_folder + '/' + local_document_file), 'rb'), use_non_merge_fields = True)
42+
request = asposewordscloud.models.requests.GetDocumentFieldNamesOnlineRequest(template = open(os.path.join(self.local_test_folder, mail_merge_folder + '/' + local_document_file), 'rb'), use_non_merge_fields = True)
4343

4444
result = self.words_api.get_document_field_names_online(request)
4545
self.assertIsNotNone(result, 'Error has occurred.')

0 commit comments

Comments
 (0)