Skip to content

Commit 7ce591f

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents bf7eab9 + bf618ae commit 7ce591f

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

lib/aspose_words_cloud/api/words_api.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7217,8 +7217,8 @@ def get_document_field_names_online(request)
72177217
raise ArgumentError, 'Incorrect request type' unless request.is_a? GetDocumentFieldNamesOnlineRequest
72187218

72197219
@api_client.config.logger.debug 'Calling API: WordsApi.get_document_field_names_online ...' if @api_client.config.debugging
7220-
# verify the required parameter 'document' is set
7221-
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.get_document_field_names_online' if @api_client.config.client_side_validation && request.document.nil?
7220+
# verify the required parameter 'template' is set
7221+
raise ArgumentError, 'Missing the required parameter template when calling WordsApi.get_document_field_names_online' if @api_client.config.client_side_validation && request.template.nil?
72227222

72237223
# resource path
72247224
local_var_path = '/words/online/get/mailMerge/FieldNames'[1..-1]
@@ -7239,7 +7239,7 @@ def get_document_field_names_online(request)
72397239

72407240
# form parameters
72417241
form_params = {}
7242-
form_params[downcase_first_letter('Document')] = request.document
7242+
form_params[downcase_first_letter('Template')] = request.template
72437243

72447244
# http body (model)
72457245
post_body = nil
@@ -17911,7 +17911,7 @@ def save_as(request)
1791117911
[data, status_code, headers]
1791217912
end
1791317913

17914-
# Converts a document in cloud storage to the specified format.
17914+
# Converts a document to the specified format.
1791517915
# @param request SaveAsOnlineRequest
1791617916
# @return [SaveAsOnlineResponse]
1791717917
def save_as_online(request)
@@ -17928,7 +17928,7 @@ def save_as_online(request)
1792817928
data
1792917929
end
1793017930

17931-
# Converts a document in cloud storage to the specified format.
17931+
# Converts a document to the specified format.
1793217932
# @param request SaveAsOnlineRequest
1793317933
# @return [Array<(SaveAsOnlineResponse, Fixnum, Hash)>]
1793417934
# SaveAsOnlineResponse, response status code and response headers
@@ -18228,7 +18228,7 @@ def save_as_tiff(request)
1822818228
[data, status_code, headers]
1822918229
end
1823018230

18231-
# Converts a document in cloud storage to TIFF format using detailed conversion settings.
18231+
# Converts a document to TIFF format using detailed conversion settings.
1823218232
# @param request SaveAsTiffOnlineRequest
1823318233
# @return [SaveAsTiffOnlineResponse]
1823418234
def save_as_tiff_online(request)
@@ -18245,7 +18245,7 @@ def save_as_tiff_online(request)
1824518245
data
1824618246
end
1824718247

18248-
# Converts a document in cloud storage to TIFF format using detailed conversion settings.
18248+
# Converts a document to TIFF format using detailed conversion settings.
1824918249
# @param request SaveAsTiffOnlineRequest
1825018250
# @return [Array<(SaveAsTiffOnlineResponse, Fixnum, Hash)>]
1825118251
# SaveAsTiffOnlineResponse, response status code and response headers

lib/aspose_words_cloud/models/requests/append_document_online_request.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module AsposeWordsCloud
2929
# Request model for append_document_online operation.
3030
#
3131
class AppendDocumentOnlineRequest
32-
# The document.
32+
# Original document.
3333
attr_accessor :document
3434

3535
# <see cref="DocumentEntryList"/> with a list of documents to append.
@@ -52,7 +52,7 @@ class AppendDocumentOnlineRequest
5252

5353
#
5454
# Initializes a new instance.
55-
# @param document The document.
55+
# @param document Original document.
5656
# @param document_list <see cref="DocumentEntryList"/> with a list of documents to append.
5757
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
5858
# @param password Password for opening an encrypted document.

lib/aspose_words_cloud/models/requests/get_document_field_names_online_request.rb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ module AsposeWordsCloud
2929
# Request model for get_document_field_names_online operation.
3030
#
3131
class GetDocumentFieldNamesOnlineRequest
32-
# The document.
33-
attr_accessor :document
32+
# The template document.
33+
attr_accessor :template
3434

3535
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
3636
attr_accessor :load_encoding
@@ -43,22 +43,22 @@ class GetDocumentFieldNamesOnlineRequest
4343

4444
#
4545
# Initializes a new instance.
46-
# @param document The document.
46+
# @param template The template document.
4747
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
4848
# @param password Password for opening an encrypted document.
4949
# @param use_non_merge_fields The flag indicating whether to use non merge fields. If true, result includes "mustache" field names.
5050

51-
def initialize(document, load_encoding = nil, password = nil, use_non_merge_fields = nil)
52-
self.document = document
51+
def initialize(template, load_encoding = nil, password = nil, use_non_merge_fields = nil)
52+
self.template = template
5353
self.load_encoding = load_encoding
5454
self.password = password
5555
self.use_non_merge_fields = use_non_merge_fields
5656
end
5757

5858
# Creating batch part from request
5959
def to_batch_part(api_client)
60-
# verify the required parameter 'document' is set
61-
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.get_document_field_names_online' if api_client.config.client_side_validation && self.document.nil?
60+
# verify the required parameter 'template' is set
61+
raise ArgumentError, 'Missing the required parameter template when calling WordsApi.get_document_field_names_online' if api_client.config.client_side_validation && self.template.nil?
6262

6363
# resource path
6464
local_var_path = '/words/online/get/mailMerge/FieldNames'[7..-1]
@@ -81,7 +81,7 @@ def to_batch_part(api_client)
8181

8282
# form parameters
8383
form_params = {}
84-
form_params[downcase_first_letter('Document')] = self.document
84+
form_params[downcase_first_letter('Template')] = self.template
8585

8686
# http body (model)
8787
post_body = nil
@@ -107,8 +107,8 @@ def to_batch_part(api_client)
107107
end
108108

109109
def create_http_request(api_client)
110-
# verify the required parameter 'document' is set
111-
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.get_document_field_names_online' if api_client.config.client_side_validation && self.document.nil?
110+
# verify the required parameter 'template' is set
111+
raise ArgumentError, 'Missing the required parameter template when calling WordsApi.get_document_field_names_online' if api_client.config.client_side_validation && self.template.nil?
112112

113113
# resource path
114114
local_var_path = '/words/online/get/mailMerge/FieldNames'[1..-1]
@@ -127,7 +127,7 @@ def create_http_request(api_client)
127127

128128
# form parameters
129129
form_params = {}
130-
form_params[downcase_first_letter('Document')] = self.document
130+
form_params[downcase_first_letter('Template')] = self.template
131131

132132
# http body (model)
133133
post_body = nil

0 commit comments

Comments
 (0)