Skip to content

Commit 9705a0c

Browse files
author
evgeny.ivanov
committed
SDK regenerated by CI server [ci skip]
1 parent c2cba92 commit 9705a0c

28 files changed

+38
-190
lines changed

asposewordscloud/apis/words_api.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17410,7 +17410,7 @@ def render_drawing_object_online(self, request, **kwargs): # noqa: E501
1741017410
:param password str : Password for opening an encrypted document.
1741117411
:param dest_file_name str : Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
1741217412
:param fonts_location str : Folder in filestorage with custom fonts.
17413-
:return: RenderDrawingObjectOnlineResponse
17413+
:return: file
1741417414
If the method is called asynchronously,
1741517415
returns the request thread.
1741617416
"""
@@ -17435,7 +17435,7 @@ def render_drawing_object_online_with_http_info(self, request, **kwargs): # noq
1743517435

1743617436
:param is_async bool
1743717437
:param request RenderDrawingObjectOnlineRequest object with parameters
17438-
:return: RenderDrawingObjectOnlineResponse
17438+
:return: file
1743917439
If the method is called asynchronously,
1744017440
returns the request thread.
1744117441
"""
@@ -17567,7 +17567,7 @@ def render_math_object_online(self, request, **kwargs): # noqa: E501
1756717567
:param password str : Password for opening an encrypted document.
1756817568
:param dest_file_name str : Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
1756917569
:param fonts_location str : Folder in filestorage with custom fonts.
17570-
:return: RenderMathObjectOnlineResponse
17570+
:return: file
1757117571
If the method is called asynchronously,
1757217572
returns the request thread.
1757317573
"""
@@ -17592,7 +17592,7 @@ def render_math_object_online_with_http_info(self, request, **kwargs): # noqa:
1759217592

1759317593
:param is_async bool
1759417594
:param request RenderMathObjectOnlineRequest object with parameters
17595-
:return: RenderMathObjectOnlineResponse
17595+
:return: file
1759617596
If the method is called asynchronously,
1759717597
returns the request thread.
1759817598
"""
@@ -17877,7 +17877,7 @@ def render_paragraph_online(self, request, **kwargs): # noqa: E501
1787717877
:param password str : Password for opening an encrypted document.
1787817878
:param dest_file_name str : Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
1787917879
:param fonts_location str : Folder in filestorage with custom fonts.
17880-
:return: RenderParagraphOnlineResponse
17880+
:return: file
1788117881
If the method is called asynchronously,
1788217882
returns the request thread.
1788317883
"""
@@ -17902,7 +17902,7 @@ def render_paragraph_online_with_http_info(self, request, **kwargs): # noqa: E5
1790217902

1790317903
:param is_async bool
1790417904
:param request RenderParagraphOnlineRequest object with parameters
17905-
:return: RenderParagraphOnlineResponse
17905+
:return: file
1790617906
If the method is called asynchronously,
1790717907
returns the request thread.
1790817908
"""
@@ -18034,7 +18034,7 @@ def render_table_online(self, request, **kwargs): # noqa: E501
1803418034
:param password str : Password for opening an encrypted document.
1803518035
:param dest_file_name str : Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
1803618036
:param fonts_location str : Folder in filestorage with custom fonts.
18037-
:return: RenderTableOnlineResponse
18037+
:return: file
1803818038
If the method is called asynchronously,
1803918039
returns the request thread.
1804018040
"""
@@ -18059,7 +18059,7 @@ def render_table_online_with_http_info(self, request, **kwargs): # noqa: E501
1805918059

1806018060
:param is_async bool
1806118061
:param request RenderTableOnlineRequest object with parameters
18062-
:return: RenderTableOnlineResponse
18062+
:return: file
1806318063
If the method is called asynchronously,
1806418064
returns the request thread.
1806518065
"""

asposewordscloud/models/requests/apply_style_to_document_element_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def create_http_request(self, api_client):
123123
body_params = self.style_apply
124124

125125
return {
126-
"method": "POST",
126+
"method": "PUT",
127127
"path": path,
128128
"query_params": query_params,
129129
"header_params": header_params,

asposewordscloud/models/requests/insert_header_footer_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def create_http_request(self, api_client):
123123
body_params = self.header_footer_type
124124

125125
return {
126-
"method": "POST",
126+
"method": "PUT",
127127
"path": path,
128128
"query_params": query_params,
129129
"header_params": header_params,

asposewordscloud/models/requests/render_drawing_object_online_request.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,11 @@ def create_http_request(self, api_client):
121121
"form_params": form_params,
122122
"body": body_params,
123123
"collection_formats": collection_formats,
124-
"response_type": 'RenderDrawingObjectOnlineResponse' # noqa: E501
124+
"response_type": 'file' # noqa: E501
125125
}
126126

127127
def get_response_type(self):
128-
return 'RenderDrawingObjectOnlineResponse' # noqa: E501
128+
return 'file' # noqa: E501
129129

130130
def deserialize_response(self, api_client, response):
131-
multipart = self.getparts(response)
132-
return RenderDrawingObjectOnlineResponse(
133-
self.deserialize_file(multipart[1].content, multipart[1].headers, api_client),
134-
self.deserialize_file(multipart[1].content, multipart[1].headers, api_client))
131+
return self.deserialize_file(response.data, response.getheaders(), api_client)

asposewordscloud/models/requests/render_drawing_object_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def create_http_request(self, api_client):
121121

122122
body_params = None
123123
return {
124-
"method": "POST",
124+
"method": "GET",
125125
"path": path,
126126
"query_params": query_params,
127127
"header_params": header_params,

asposewordscloud/models/requests/render_math_object_online_request.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,11 @@ def create_http_request(self, api_client):
121121
"form_params": form_params,
122122
"body": body_params,
123123
"collection_formats": collection_formats,
124-
"response_type": 'RenderMathObjectOnlineResponse' # noqa: E501
124+
"response_type": 'file' # noqa: E501
125125
}
126126

127127
def get_response_type(self):
128-
return 'RenderMathObjectOnlineResponse' # noqa: E501
128+
return 'file' # noqa: E501
129129

130130
def deserialize_response(self, api_client, response):
131-
multipart = self.getparts(response)
132-
return RenderMathObjectOnlineResponse(
133-
self.deserialize_file(multipart[1].content, multipart[1].headers, api_client),
134-
self.deserialize_file(multipart[1].content, multipart[1].headers, api_client))
131+
return self.deserialize_file(response.data, response.getheaders(), api_client)

asposewordscloud/models/requests/render_math_object_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def create_http_request(self, api_client):
121121

122122
body_params = None
123123
return {
124-
"method": "POST",
124+
"method": "GET",
125125
"path": path,
126126
"query_params": query_params,
127127
"header_params": header_params,

asposewordscloud/models/requests/render_paragraph_online_request.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,11 @@ def create_http_request(self, api_client):
121121
"form_params": form_params,
122122
"body": body_params,
123123
"collection_formats": collection_formats,
124-
"response_type": 'RenderParagraphOnlineResponse' # noqa: E501
124+
"response_type": 'file' # noqa: E501
125125
}
126126

127127
def get_response_type(self):
128-
return 'RenderParagraphOnlineResponse' # noqa: E501
128+
return 'file' # noqa: E501
129129

130130
def deserialize_response(self, api_client, response):
131-
multipart = self.getparts(response)
132-
return RenderParagraphOnlineResponse(
133-
self.deserialize_file(multipart[1].content, multipart[1].headers, api_client),
134-
self.deserialize_file(multipart[1].content, multipart[1].headers, api_client))
131+
return self.deserialize_file(response.data, response.getheaders(), api_client)

asposewordscloud/models/requests/render_paragraph_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def create_http_request(self, api_client):
121121

122122
body_params = None
123123
return {
124-
"method": "POST",
124+
"method": "GET",
125125
"path": path,
126126
"query_params": query_params,
127127
"header_params": header_params,

asposewordscloud/models/requests/render_table_online_request.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,11 @@ def create_http_request(self, api_client):
121121
"form_params": form_params,
122122
"body": body_params,
123123
"collection_formats": collection_formats,
124-
"response_type": 'RenderTableOnlineResponse' # noqa: E501
124+
"response_type": 'file' # noqa: E501
125125
}
126126

127127
def get_response_type(self):
128-
return 'RenderTableOnlineResponse' # noqa: E501
128+
return 'file' # noqa: E501
129129

130130
def deserialize_response(self, api_client, response):
131-
multipart = self.getparts(response)
132-
return RenderTableOnlineResponse(
133-
self.deserialize_file(multipart[1].content, multipart[1].headers, api_client),
134-
self.deserialize_file(multipart[1].content, multipart[1].headers, api_client))
131+
return self.deserialize_file(response.data, response.getheaders(), api_client)

0 commit comments

Comments
 (0)