cloudmersive-convert-api-client 2.1.0 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -4
- data/docs/ConvertDataApi.md +117 -3
- data/docs/ConvertDocumentApi.md +159 -0
- data/docs/DocxMetadataCustomProperty.md +13 -0
- data/docs/DocxSetCustomMetadataPropertiesRequest.md +10 -0
- data/docs/EditDocumentApi.md +110 -0
- data/docs/EditHtmlApi.md +60 -0
- data/docs/EditPdfApi.md +169 -0
- data/docs/GetDocxMetadataPropertiesResponse.md +16 -0
- data/docs/HtmlGetLinksResponse.md +9 -0
- data/docs/HtmlHyperlink.md +9 -0
- data/docs/HtmlSsrfThreatCheckResult.md +10 -0
- data/docs/HtmlThreatLink.md +9 -0
- data/docs/MergeDocumentApi.md +134 -0
- data/docs/ValidateDocumentApi.md +220 -0
- data/docs/ViewerToolsApi.md +8 -2
- data/lib/cloudmersive-convert-api-client.rb +7 -0
- data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +117 -4
- data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +156 -0
- data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +109 -0
- data/lib/cloudmersive-convert-api-client/api/edit_html_api.rb +55 -0
- data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +168 -0
- data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +148 -0
- data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +220 -0
- data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +6 -0
- data/lib/cloudmersive-convert-api-client/models/docx_metadata_custom_property.rb +236 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_custom_metadata_properties_request.rb +223 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_metadata_properties_response.rb +268 -0
- data/lib/cloudmersive-convert-api-client/models/html_get_links_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/html_hyperlink.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/html_ssrf_threat_check_result.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/html_threat_link.rb +196 -0
- data/lib/cloudmersive-convert-api-client/version.rb +1 -1
- data/spec/api/convert_data_api_spec.rb +26 -1
- data/spec/api/convert_document_api_spec.rb +35 -0
- data/spec/api/edit_document_api_spec.rb +24 -0
- data/spec/api/edit_html_api_spec.rb +14 -0
- data/spec/api/edit_pdf_api_spec.rb +37 -0
- data/spec/api/merge_document_api_spec.rb +34 -0
- data/spec/api/validate_document_api_spec.rb +48 -0
- data/spec/api/viewer_tools_api_spec.rb +2 -0
- data/spec/models/docx_metadata_custom_property_spec.rb +71 -0
- data/spec/models/docx_set_custom_metadata_properties_request_spec.rb +53 -0
- data/spec/models/get_docx_metadata_properties_response_spec.rb +89 -0
- data/spec/models/html_get_links_response_spec.rb +47 -0
- data/spec/models/html_hyperlink_spec.rb +47 -0
- data/spec/models/html_ssrf_threat_check_result_spec.rb +53 -0
- data/spec/models/html_threat_link_spec.rb +47 -0
- metadata +23 -2
@@ -45,6 +45,19 @@ describe 'ConvertDataApi' do
|
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
+
# unit tests for convert_data_csv_to_xml
|
49
|
+
# Convert CSV to XML conversion
|
50
|
+
# Convert a CSV file to a XML file
|
51
|
+
# @param input_file Input file to perform the operation on.
|
52
|
+
# @param [Hash] opts the optional parameters
|
53
|
+
# @option opts [BOOLEAN] :column_names_from_first_row Optional; If true, the first row will be used as the labels for the columns; if false, columns will be named Column0, Column1, etc. Default is true. Set to false if you are not using column headings, or have an irregular column structure.
|
54
|
+
# @return [String]
|
55
|
+
describe 'convert_data_csv_to_xml test' do
|
56
|
+
it 'should work' do
|
57
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
48
61
|
# unit tests for convert_data_json_to_xml
|
49
62
|
# Convert JSON to XML conversion
|
50
63
|
# Convert a JSON object into XML
|
@@ -74,13 +87,25 @@ describe 'ConvertDataApi' do
|
|
74
87
|
# Convert an Excel XLSX file to a JSON object array
|
75
88
|
# @param input_file Input file to perform the operation on.
|
76
89
|
# @param [Hash] opts the optional parameters
|
77
|
-
# @return [
|
90
|
+
# @return [String]
|
78
91
|
describe 'convert_data_xlsx_to_json test' do
|
79
92
|
it 'should work' do
|
80
93
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
81
94
|
end
|
82
95
|
end
|
83
96
|
|
97
|
+
# unit tests for convert_data_xlsx_to_xml
|
98
|
+
# Convert Excel XLSX to XML conversion
|
99
|
+
# Convert an Excel XLSX file to a XML file
|
100
|
+
# @param input_file Input file to perform the operation on.
|
101
|
+
# @param [Hash] opts the optional parameters
|
102
|
+
# @return [String]
|
103
|
+
describe 'convert_data_xlsx_to_xml test' do
|
104
|
+
it 'should work' do
|
105
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
84
109
|
# unit tests for convert_data_xml_edit_add_attribute_with_x_path
|
85
110
|
# Adds an attribute to all XML nodes matching XPath expression
|
86
111
|
# Return the reuslts of editing an XML document by adding an attribute to all of the nodes that match an input XPath expression.
|
@@ -219,6 +219,18 @@ describe 'ConvertDocumentApi' do
|
|
219
219
|
end
|
220
220
|
end
|
221
221
|
|
222
|
+
# unit tests for convert_document_docx_to_doc
|
223
|
+
# Convert Word DOCX Document to Legacy Word DOC (97-03)
|
224
|
+
# Convert/downgrade modern Office Word DOCX Documents (DOCX) to the legacy Word DOC (97-2003 Format) format
|
225
|
+
# @param input_file Input file to perform the operation on.
|
226
|
+
# @param [Hash] opts the optional parameters
|
227
|
+
# @return [String]
|
228
|
+
describe 'convert_document_docx_to_doc test' do
|
229
|
+
it 'should work' do
|
230
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
222
234
|
# unit tests for convert_document_docx_to_html
|
223
235
|
# Convert Word DOCX Document to HTML Document
|
224
236
|
# Convert Office Word Document (DOCX) to HTML Document
|
@@ -812,6 +824,17 @@ describe 'ConvertDocumentApi' do
|
|
812
824
|
end
|
813
825
|
end
|
814
826
|
|
827
|
+
# unit tests for convert_document_pptx_to_ppt
|
828
|
+
# Convert PowerPoint PPTX presentation to Legacy PowerPoint PPT (97-03)
|
829
|
+
# Convert/downgrade modern Office PowerPoint PPTX Presentation to the legacy PowerPoint PPT (97-2003 Format) format
|
830
|
+
# @param [Hash] opts the optional parameters
|
831
|
+
# @return [Object]
|
832
|
+
describe 'convert_document_pptx_to_ppt test' do
|
833
|
+
it 'should work' do
|
834
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
835
|
+
end
|
836
|
+
end
|
837
|
+
|
815
838
|
# unit tests for convert_document_pptx_to_txt
|
816
839
|
# Convert PowerPoint PPTX Presentation to Text (txt)
|
817
840
|
# Convert Office PowerPoint Documents (pptx) to standard Text
|
@@ -995,4 +1018,16 @@ describe 'ConvertDocumentApi' do
|
|
995
1018
|
end
|
996
1019
|
end
|
997
1020
|
|
1021
|
+
# unit tests for convert_document_xlsx_to_xls
|
1022
|
+
# Convert Excel XLSX Spreadsheet to Legacy Excel XLS (97-03)
|
1023
|
+
# Convert/downgrade modern Office Excel XLSX Spreadsheet to the legacy Excel XLS (97-2003 Format) format
|
1024
|
+
# @param input_file Input file to perform the operation on.
|
1025
|
+
# @param [Hash] opts the optional parameters
|
1026
|
+
# @return [String]
|
1027
|
+
describe 'convert_document_xlsx_to_xls test' do
|
1028
|
+
it 'should work' do
|
1029
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1030
|
+
end
|
1031
|
+
end
|
1032
|
+
|
998
1033
|
end
|
@@ -200,6 +200,18 @@ describe 'EditDocumentApi' do
|
|
200
200
|
end
|
201
201
|
end
|
202
202
|
|
203
|
+
# unit tests for edit_document_docx_get_metadata_properties
|
204
|
+
# Get all metadata properties in Word DOCX document
|
205
|
+
# Returns all the metadata properties in an Office Word Document (docx)
|
206
|
+
# @param input_file Input file to perform the operation on.
|
207
|
+
# @param [Hash] opts the optional parameters
|
208
|
+
# @return [GetDocxMetadataPropertiesResponse]
|
209
|
+
describe 'edit_document_docx_get_metadata_properties test' do
|
210
|
+
it 'should work' do
|
211
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
203
215
|
# unit tests for edit_document_docx_get_sections
|
204
216
|
# Get sections from a Word DOCX document
|
205
217
|
# Returns the sections defined in the Word Document (DOCX) format file
|
@@ -404,6 +416,18 @@ describe 'EditDocumentApi' do
|
|
404
416
|
end
|
405
417
|
end
|
406
418
|
|
419
|
+
# unit tests for edit_document_docx_set_custom_metadata_properties
|
420
|
+
# Set custom property metadata properties in Word DOCX document
|
421
|
+
# Sets the custom property metadata for the metadata properties in an Office Word Document (docx)
|
422
|
+
# @param input
|
423
|
+
# @param [Hash] opts the optional parameters
|
424
|
+
# @return [String]
|
425
|
+
describe 'edit_document_docx_set_custom_metadata_properties test' do
|
426
|
+
it 'should work' do
|
427
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
407
431
|
# unit tests for edit_document_docx_set_footer
|
408
432
|
# Set the footer in a Word DOCX document
|
409
433
|
# Set the footer in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
|
@@ -111,4 +111,18 @@ describe 'EditHtmlApi' do
|
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
114
|
+
# unit tests for edit_html_html_get_links
|
115
|
+
# Extract resolved link URLs from HTML File
|
116
|
+
# Extracts the resolved link URLs, fully-qualified if possible, from an input HTML file.
|
117
|
+
# @param [Hash] opts the optional parameters
|
118
|
+
# @option opts [File] :input_file Optional: Input file to perform the operation on.
|
119
|
+
# @option opts [String] :input_file_url Optional: URL of a file to operate on as input.
|
120
|
+
# @option opts [String] :base_url Optional: Base URL of the page, such as https://mydomain.com
|
121
|
+
# @return [HtmlGetLinksResponse]
|
122
|
+
describe 'edit_html_html_get_links test' do
|
123
|
+
it 'should work' do
|
124
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
114
128
|
end
|
@@ -44,6 +44,19 @@ describe 'EditPdfApi' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
# unit tests for edit_pdf_convert_to_pdf_a
|
48
|
+
# Convert a PDF file to PDF/A
|
49
|
+
# Converts the input PDF file to a PDF/A-1b or PDF/A-2b standardized PDF.
|
50
|
+
# @param input_file Input file to perform the operation on.
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :conformance_level Optional: Select the conformance level for PDF/A - specify '1b' for PDF/A-1b or specify '2b' for PDF/A-2b; default is PDF/A-1b
|
53
|
+
# @return [String]
|
54
|
+
describe 'edit_pdf_convert_to_pdf_a test' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
47
60
|
# unit tests for edit_pdf_decrypt
|
48
61
|
# Decrypt and password-protect a PDF
|
49
62
|
# Decrypt a PDF document with a password. Decrypted PDF will no longer require a password to open.
|
@@ -151,6 +164,18 @@ describe 'EditPdfApi' do
|
|
151
164
|
end
|
152
165
|
end
|
153
166
|
|
167
|
+
# unit tests for edit_pdf_linearize
|
168
|
+
# Linearize and optimize a PDF for streaming download
|
169
|
+
# Linearizes the content of a PDF to optimize it for streaming download, particularly over web streaming.
|
170
|
+
# @param input_file Input file to perform the operation on.
|
171
|
+
# @param [Hash] opts the optional parameters
|
172
|
+
# @return [String]
|
173
|
+
describe 'edit_pdf_linearize test' do
|
174
|
+
it 'should work' do
|
175
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
154
179
|
# unit tests for edit_pdf_rasterize
|
155
180
|
# Rasterize a PDF to an image-based PDF
|
156
181
|
# Rasterize a PDF into an image-based PDF. The output is a PDF where each page is comprised of a high-resolution image, with all text, figures and other components removed.
|
@@ -163,6 +188,18 @@ describe 'EditPdfApi' do
|
|
163
188
|
end
|
164
189
|
end
|
165
190
|
|
191
|
+
# unit tests for edit_pdf_reduce_file_size
|
192
|
+
# Reduce the file size and optimize a PDF
|
193
|
+
# Reduces the file size and optimizes the content of a PDF to minimize its file size.
|
194
|
+
# @param input_file Input file to perform the operation on.
|
195
|
+
# @param [Hash] opts the optional parameters
|
196
|
+
# @return [String]
|
197
|
+
describe 'edit_pdf_reduce_file_size test' do
|
198
|
+
it 'should work' do
|
199
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
166
203
|
# unit tests for edit_pdf_remove_all_annotations
|
167
204
|
# Remove all PDF annotations, including comments in the document
|
168
205
|
# Removes all of the annotations, including comments and notes, in a PDF document.
|
@@ -66,6 +66,40 @@ describe 'MergeDocumentApi' do
|
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
+
# unit tests for merge_document_html
|
70
|
+
# Merge Two HTML (HTM) Files Together
|
71
|
+
# Combine two HTML (.HTM) files into a single text document, preserving the order of the input documents in the combined document by stacking them vertically. The title will be taken from the first document.
|
72
|
+
# @param input_file1 First input file to perform the operation on.
|
73
|
+
# @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
|
74
|
+
# @param [Hash] opts the optional parameters
|
75
|
+
# @return [Object]
|
76
|
+
describe 'merge_document_html test' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# unit tests for merge_document_html_multi
|
83
|
+
# Merge Multple HTML (HTM) Files Together
|
84
|
+
# Combine multiple HTML (.HTM) files into a single text document, preserving the order of the input documents in the combined document by stacking them vertically. The title will be taken from the first document.
|
85
|
+
# @param input_file1 First input file to perform the operation on.
|
86
|
+
# @param input_file2 Second input file to perform the operation on.
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @option opts [File] :input_file3 Third input file to perform the operation on.
|
89
|
+
# @option opts [File] :input_file4 Fourth input file to perform the operation on.
|
90
|
+
# @option opts [File] :input_file5 Fifth input file to perform the operation on.
|
91
|
+
# @option opts [File] :input_file6 Sixth input file to perform the operation on.
|
92
|
+
# @option opts [File] :input_file7 Seventh input file to perform the operation on.
|
93
|
+
# @option opts [File] :input_file8 Eighth input file to perform the operation on.
|
94
|
+
# @option opts [File] :input_file9 Ninth input file to perform the operation on.
|
95
|
+
# @option opts [File] :input_file10 Tenth input file to perform the operation on.
|
96
|
+
# @return [String]
|
97
|
+
describe 'merge_document_html_multi test' do
|
98
|
+
it 'should work' do
|
99
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
69
103
|
# unit tests for merge_document_pdf
|
70
104
|
# Merge Two PDF Files Together
|
71
105
|
# Combine two PDF files (pdf) into a single PDF document, preserving the order of the input documents in the combined document
|
@@ -104,6 +104,18 @@ describe 'ValidateDocumentApi' do
|
|
104
104
|
end
|
105
105
|
end
|
106
106
|
|
107
|
+
# unit tests for validate_document_html_ssrf_validation
|
108
|
+
# Validate an HTML file and checks for SSRF threats
|
109
|
+
# Validate an HTML document file and checks for SSRF (Server-side Request Forgery) threats in the file; if the document is not valid, identifies the errors in the document
|
110
|
+
# @param input_file Input file to perform the operation on.
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @return [HtmlSsrfThreatCheckResult]
|
113
|
+
describe 'validate_document_html_ssrf_validation test' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
107
119
|
# unit tests for validate_document_html_validation
|
108
120
|
# Validate an HTML file
|
109
121
|
# Validate an HTML document file; if the document is not valid, identifies the errors in the document
|
@@ -128,6 +140,18 @@ describe 'ValidateDocumentApi' do
|
|
128
140
|
end
|
129
141
|
end
|
130
142
|
|
143
|
+
# unit tests for validate_document_jpg_validation
|
144
|
+
# Validate a JPG File
|
145
|
+
# Validate a JPEG image file; if the document is not valid, identifies the errors in the document..
|
146
|
+
# @param input_file Input file to perform the operation on.
|
147
|
+
# @param [Hash] opts the optional parameters
|
148
|
+
# @return [DocumentValidationResult]
|
149
|
+
describe 'validate_document_jpg_validation test' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
131
155
|
# unit tests for validate_document_json_validation
|
132
156
|
# Validate a JSON file
|
133
157
|
# Validate a JSON (JavaScript Object Notation) document file; if the document is not valid, identifies the errors in the document
|
@@ -164,6 +188,18 @@ describe 'ValidateDocumentApi' do
|
|
164
188
|
end
|
165
189
|
end
|
166
190
|
|
191
|
+
# unit tests for validate_document_png_validation
|
192
|
+
# Validate a PNG File
|
193
|
+
# Validate a PNG image file; if the document is not valid, identifies the errors in the document.
|
194
|
+
# @param input_file Input file to perform the operation on.
|
195
|
+
# @param [Hash] opts the optional parameters
|
196
|
+
# @return [DocumentValidationResult]
|
197
|
+
describe 'validate_document_png_validation test' do
|
198
|
+
it 'should work' do
|
199
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
167
203
|
# unit tests for validate_document_pptx_validation
|
168
204
|
# Validate a PowerPoint presentation (PPTX)
|
169
205
|
# Validate a PowerPoint presentation (PPTX); if the document is not valid, identifies the errors in the document
|
@@ -200,6 +236,18 @@ describe 'ValidateDocumentApi' do
|
|
200
236
|
end
|
201
237
|
end
|
202
238
|
|
239
|
+
# unit tests for validate_document_txt_validation
|
240
|
+
# Validate an TXT file
|
241
|
+
# Validate an TXT document file; if the document is not valid, identifies the errors in the document
|
242
|
+
# @param input_file Input file to perform the operation on.
|
243
|
+
# @param [Hash] opts the optional parameters
|
244
|
+
# @return [DocumentValidationResult]
|
245
|
+
describe 'validate_document_txt_validation test' do
|
246
|
+
it 'should work' do
|
247
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
203
251
|
# unit tests for validate_document_xlsx_validation
|
204
252
|
# Validate a Excel document (XLSX)
|
205
253
|
# Validate a Excel document (XLSX); if the document is not valid, identifies the errors in the document
|
@@ -37,6 +37,8 @@ describe 'ViewerToolsApi' do
|
|
37
37
|
# Creates an HTML embed code for a simple web-based viewer of a document; supports Office document types and PDF.
|
38
38
|
# @param input_file Input file to perform the operation on.
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Integer] :width Optional; width of the output viewer in pixels
|
41
|
+
# @option opts [Integer] :height Optional; height of the output viewer in pixels
|
40
42
|
# @return [ViewerResponse]
|
41
43
|
describe 'viewer_tools_create_simple test' do
|
42
44
|
it 'should work' do
|
@@ -0,0 +1,71 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::DocxMetadataCustomProperty
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DocxMetadataCustomProperty' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::DocxMetadataCustomProperty.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DocxMetadataCustomProperty' do
|
31
|
+
it 'should create an instance of DocxMetadataCustomProperty' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocxMetadataCustomProperty)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "property_name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "property_data_type"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "string_value"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "integer_value"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "double_value"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "date_value"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::DocxSetCustomMetadataPropertiesRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DocxSetCustomMetadataPropertiesRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::DocxSetCustomMetadataPropertiesRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DocxSetCustomMetadataPropertiesRequest' do
|
31
|
+
it 'should create an instance of DocxSetCustomMetadataPropertiesRequest' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocxSetCustomMetadataPropertiesRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "input_file_bytes"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "input_file_url"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "properties_to_set"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|