You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/aspose_words_cloud/api/words_api.rb
+21-15Lines changed: 21 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -900,13 +900,15 @@ def delete_border(request)
900
900
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.delete_border' if @api_client.config.client_side_validation && request.name.nil?
901
901
# verify the required parameter 'node_path' is set
902
902
raise ArgumentError, 'Missing the required parameter node_path when calling WordsApi.delete_border' if @api_client.config.client_side_validation && request.node_path.nil?
903
-
# verify the required parameter 'index' is set
904
-
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.delete_border' if @api_client.config.client_side_validation && request.index.nil?
903
+
# verify the required parameter 'border_type' is set
904
+
raise ArgumentError, 'Missing the required parameter border_type when calling WordsApi.delete_border' if @api_client.config.client_side_validation && request.border_type.nil?
905
+
# verify enum value
906
+
raise ArgumentError, 'invalid value for border_type, must be one of Bottom, Left, Right, Top, Horizontal, Vertical, DiagonalDown, DiagonalUp, None' if @api_client.config.client_side_validation && !['Bottom', 'Left', 'Right', 'Top', 'Horizontal', 'Vertical', 'DiagonalDown', 'DiagonalUp', 'None'].include?(request.border_type)
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_border' if @api_client.config.client_side_validation && request.name.nil?
4089
4091
# verify the required parameter 'node_path' is set
4090
4092
raise ArgumentError, 'Missing the required parameter node_path when calling WordsApi.get_border' if @api_client.config.client_side_validation && request.node_path.nil?
4091
-
# verify the required parameter 'index' is set
4092
-
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.get_border' if @api_client.config.client_side_validation && request.index.nil?
4093
+
# verify the required parameter 'border_type' is set
4094
+
raise ArgumentError, 'Missing the required parameter border_type when calling WordsApi.get_border' if @api_client.config.client_side_validation && request.border_type.nil?
4095
+
# verify enum value
4096
+
raise ArgumentError, 'invalid value for border_type, must be one of Bottom, Left, Right, Top, Horizontal, Vertical, DiagonalDown, DiagonalUp, None' if @api_client.config.client_side_validation && !['Bottom', 'Left', 'Right', 'Top', 'Horizontal', 'Vertical', 'DiagonalDown', 'DiagonalUp', 'None'].include?(request.border_type)
raise ArgumentError, 'Missing the required parameter border_properties when calling WordsApi.update_border' if @api_client.config.client_side_validation && request.border_properties.nil?
13170
13174
# verify the required parameter 'node_path' is set
13171
13175
raise ArgumentError, 'Missing the required parameter node_path when calling WordsApi.update_border' if @api_client.config.client_side_validation && request.node_path.nil?
13172
-
# verify the required parameter 'index' is set
13173
-
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_border' if @api_client.config.client_side_validation && request.index.nil?
13176
+
# verify the required parameter 'border_type' is set
13177
+
raise ArgumentError, 'Missing the required parameter border_type when calling WordsApi.update_border' if @api_client.config.client_side_validation && request.border_type.nil?
13178
+
# verify enum value
13179
+
raise ArgumentError, 'invalid value for border_type, must be one of Bottom, Left, Right, Top, Horizontal, Vertical, DiagonalDown, DiagonalUp, None' if @api_client.config.client_side_validation && !['Bottom', 'Left', 'Right', 'Top', 'Horizontal', 'Vertical', 'DiagonalDown', 'DiagonalUp', 'None'].include?(request.border_type)
@api_client.config.logger.debug 'Calling API: WordsApi.upload_file ...' if @api_client.config.debugging
14894
-
# verify the required parameter 'file' is set
14895
-
raise ArgumentError, 'Missing the required parameter file when calling WordsApi.upload_file' if @api_client.config.client_side_validation && request.file.nil?
14900
+
# verify the required parameter 'file_content' is set
14901
+
raise ArgumentError, 'Missing the required parameter file_content when calling WordsApi.upload_file' if @api_client.config.client_side_validation && request.file_content.nil?
14896
14902
# verify the required parameter 'path' is set
14897
14903
raise ArgumentError, 'Missing the required parameter path when calling WordsApi.upload_file' if @api_client.config.client_side_validation && request.path.nil?
Copy file name to clipboardExpand all lines: lib/aspose_words_cloud/models/requests/DeleteBorderRequest.rb
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -36,8 +36,8 @@ class DeleteBorderRequest
36
36
attr_accessor:name
37
37
# Path to the node with border(node should be paragraph, cell or row).
38
38
attr_accessor:node_path
39
-
# Object index.
40
-
attr_accessor:index
39
+
# Border type.
40
+
attr_accessor:border_type
41
41
# Original document folder.
42
42
attr_accessor:folder
43
43
# Original document storage.
@@ -57,18 +57,18 @@ class DeleteBorderRequest
57
57
# Initializes a new instance.
58
58
# @param name The document name.
59
59
# @param node_path Path to the node with border(node should be paragraph, cell or row).
60
-
# @param index Object index.
60
+
# @param border_type Border type.
61
61
# @param folder Original document folder.
62
62
# @param storage Original document storage.
63
63
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
64
64
# @param password Password for opening an encrypted document.
65
65
# @param dest_file_name 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.
66
66
# @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
67
67
# @param revision_date_time The date and time to use for revisions.
Copy file name to clipboardExpand all lines: lib/aspose_words_cloud/models/requests/UpdateBorderRequest.rb
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,8 @@ class UpdateBorderRequest
38
38
attr_accessor:border_properties
39
39
# Path to the node with border(node should be paragraph, cell or row).
40
40
attr_accessor:node_path
41
-
# Object index.
42
-
attr_accessor:index
41
+
# Border type.
42
+
attr_accessor:border_type
43
43
# Original document folder.
44
44
attr_accessor:folder
45
45
# Original document storage.
@@ -60,19 +60,19 @@ class UpdateBorderRequest
60
60
# @param name The document name.
61
61
# @param border_properties Border properties.
62
62
# @param node_path Path to the node with border(node should be paragraph, cell or row).
63
-
# @param index Object index.
63
+
# @param border_type Border type.
64
64
# @param folder Original document folder.
65
65
# @param storage Original document storage.
66
66
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
67
67
# @param password Password for opening an encrypted document.
68
68
# @param dest_file_name 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.
69
69
# @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
70
70
# @param revision_date_time The date and time to use for revisions.
Copy file name to clipboardExpand all lines: lib/aspose_words_cloud/models/requests/UploadFileRequest.rb
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -33,19 +33,19 @@ module AsposeWordsCloud
33
33
classUploadFileRequest
34
34
35
35
# File to upload
36
-
attr_accessor:file
36
+
attr_accessor:file_content
37
37
# Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header.
38
38
attr_accessor:path
39
39
# Storage name
40
40
attr_accessor:storage_name
41
41
42
42
#
43
43
# Initializes a new instance.
44
-
# @param file File to upload
44
+
# @param file_content File to upload
45
45
# @param path Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header.
0 commit comments