cloudmersive-convert-api-client 2.0.7 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +27 -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 +330 -0
- data/docs/EditHtmlApi.md +81 -13
- data/docs/EditPdfApi.md +227 -0
- data/docs/GetDocxMetadataPropertiesResponse.md +16 -0
- data/docs/ValidateDocumentApi.md +165 -0
- data/docs/ViewerToolsApi.md +8 -2
- data/docs/ZipArchiveApi.md +80 -0
- data/lib/cloudmersive-convert-api-client.rb +3 -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 +329 -0
- data/lib/cloudmersive-convert-api-client/api/edit_html_api.rb +81 -12
- data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +230 -0
- data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +165 -0
- data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +6 -0
- data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +92 -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/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 +72 -0
- data/spec/api/edit_html_api_spec.rb +24 -6
- data/spec/api/edit_pdf_api_spec.rb +50 -0
- data/spec/api/validate_document_api_spec.rb +36 -0
- data/spec/api/viewer_tools_api_spec.rb +2 -0
- data/spec/api/zip_archive_api_spec.rb +23 -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
- metadata +11 -2
@@ -38,8 +38,9 @@ describe 'EditHtmlApi' do
|
|
38
38
|
# @param heading_text The text content to be used in the header.
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @option opts [File] :input_file Optional: Input file to perform the operation on.
|
41
|
-
# @option opts [String] :input_file_url Optional: URL of a file to operate on as input.
|
42
|
-
# @option opts [Integer] :heading_size Optional: The heading size number. Default is 1.
|
41
|
+
# @option opts [String] :input_file_url Optional: URL of a file to operate on as input.
|
42
|
+
# @option opts [Integer] :heading_size Optional: The heading size number. Default is 1. Accepts values between 1 and 6.
|
43
|
+
# @option opts [String] :css_style Optional: The CSS style for the heading.
|
43
44
|
# @return [String]
|
44
45
|
describe 'edit_html_html_append_heading test' do
|
45
46
|
it 'should work' do
|
@@ -53,7 +54,7 @@ describe 'EditHtmlApi' do
|
|
53
54
|
# @param image_url The URL for the image.
|
54
55
|
# @param [Hash] opts the optional parameters
|
55
56
|
# @option opts [File] :input_file Optional: Input file to perform the operation on.
|
56
|
-
# @option opts [String] :input_file_url Optional: URL of a file to operate on as input.
|
57
|
+
# @option opts [String] :input_file_url Optional: URL of a file to operate on as input.
|
57
58
|
# @option opts [String] :css_style Optional: CSS style for the image.
|
58
59
|
# @return [String]
|
59
60
|
describe 'edit_html_html_append_image_from_url test' do
|
@@ -67,11 +68,11 @@ describe 'EditHtmlApi' do
|
|
67
68
|
# Appends a base64 inline image to the end of an HTML document from an input file or URL.
|
68
69
|
# @param [Hash] opts the optional parameters
|
69
70
|
# @option opts [File] :input_file Optional: Input file to perform the operation on.
|
70
|
-
# @option opts [String] :input_file_url Optional: URL of a file to operate on as input.
|
71
|
+
# @option opts [String] :input_file_url Optional: URL of a file to operate on as input.
|
71
72
|
# @option opts [File] :image_file Optional: Image file to be appended as base64 inline image.
|
72
73
|
# @option opts [String] :image_url Optional: Image URL to be appended as base64 inline image.
|
73
74
|
# @option opts [String] :css_style Optional: CSS style for the image.
|
74
|
-
# @option opts [String] :image_extension Optional: The extension (JPG, PNG, GIF, etc.) of the image file. Recommended if uploading
|
75
|
+
# @option opts [String] :image_extension Optional: The extension (JPG, PNG, GIF, etc.) of the image file. Recommended if uploading an imageFile directly, instead of using imageUrl. If no extension can be determined, will default to JPG.
|
75
76
|
# @return [String]
|
76
77
|
describe 'edit_html_html_append_image_inline test' do
|
77
78
|
it 'should work' do
|
@@ -85,7 +86,8 @@ describe 'EditHtmlApi' do
|
|
85
86
|
# @param paragraph_text The text content to be used in the paragraph.
|
86
87
|
# @param [Hash] opts the optional parameters
|
87
88
|
# @option opts [File] :input_file Optional: Input file to perform the operation on.
|
88
|
-
# @option opts [String] :input_file_url Optional: URL of a file to operate on as input.
|
89
|
+
# @option opts [String] :input_file_url Optional: URL of a file to operate on as input.
|
90
|
+
# @option opts [String] :css_style Optional: The CSS style for the paragraph.
|
89
91
|
# @return [String]
|
90
92
|
describe 'edit_html_html_append_paragraph test' do
|
91
93
|
it 'should work' do
|
@@ -93,4 +95,20 @@ describe 'EditHtmlApi' do
|
|
93
95
|
end
|
94
96
|
end
|
95
97
|
|
98
|
+
# unit tests for edit_html_html_create_blank_document
|
99
|
+
# Create a Blank HTML Document
|
100
|
+
# Returns a blank HTML Document format file. The file is blank, with no contents by default. Use the optional input parameters to add various starting elements. Use additional editing commands such as Append Header, Append Paragraph or Append Image from URL to populate the document.
|
101
|
+
# @param [Hash] opts the optional parameters
|
102
|
+
# @option opts [String] :title Optional: The title of the HTML document
|
103
|
+
# @option opts [String] :css_url Optional: A CSS style URL to be added to the document.
|
104
|
+
# @option opts [String] :css_inline Optional: An inline CSS style to be added to the document.
|
105
|
+
# @option opts [String] :javascript_url Optional: Javascript URL to be added to the document.
|
106
|
+
# @option opts [String] :javascript_inline Optional: Inline Javascript to be added to the document.
|
107
|
+
# @return [String]
|
108
|
+
describe 'edit_html_html_create_blank_document test' do
|
109
|
+
it 'should work' do
|
110
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
96
114
|
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.
|
@@ -188,6 +225,19 @@ describe 'EditPdfApi' do
|
|
188
225
|
end
|
189
226
|
end
|
190
227
|
|
228
|
+
# unit tests for edit_pdf_resize
|
229
|
+
# Change PDF Document's Paper Size
|
230
|
+
# Resizes a PDF document's paper size.
|
231
|
+
# @param input_file Input file to perform the operation on.
|
232
|
+
# @param paper_size The desired paper size for the resized PDF document. Size ranges from A7 (smallest) to A0 (largest).
|
233
|
+
# @param [Hash] opts the optional parameters
|
234
|
+
# @return [String]
|
235
|
+
describe 'edit_pdf_resize test' do
|
236
|
+
it 'should work' do
|
237
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
191
241
|
# unit tests for edit_pdf_rotate_all_pages
|
192
242
|
# Rotate all pages in a PDF document
|
193
243
|
# Rotate all of the pages in a PDF document by a multiple of 90 degrees
|
@@ -104,6 +104,30 @@ describe 'ValidateDocumentApi' do
|
|
104
104
|
end
|
105
105
|
end
|
106
106
|
|
107
|
+
# unit tests for validate_document_html_validation
|
108
|
+
# Validate an HTML file
|
109
|
+
# Validate an HTML document 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 [DocumentValidationResult]
|
113
|
+
describe 'validate_document_html_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
|
+
|
119
|
+
# unit tests for validate_document_image_validation
|
120
|
+
# Validate an Image File
|
121
|
+
# Validate an image file; if the document is not valid, identifies the errors in the document. Formats supported include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV.
|
122
|
+
# @param input_file Input file to perform the operation on.
|
123
|
+
# @param [Hash] opts the optional parameters
|
124
|
+
# @return [DocumentValidationResult]
|
125
|
+
describe 'validate_document_image_validation test' do
|
126
|
+
it 'should work' do
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
107
131
|
# unit tests for validate_document_json_validation
|
108
132
|
# Validate a JSON file
|
109
133
|
# Validate a JSON (JavaScript Object Notation) document file; if the document is not valid, identifies the errors in the document
|
@@ -176,6 +200,18 @@ describe 'ValidateDocumentApi' do
|
|
176
200
|
end
|
177
201
|
end
|
178
202
|
|
203
|
+
# unit tests for validate_document_txt_validation
|
204
|
+
# Validate an TXT file
|
205
|
+
# Validate an TXT document file; if the document is not valid, identifies the errors in the document
|
206
|
+
# @param input_file Input file to perform the operation on.
|
207
|
+
# @param [Hash] opts the optional parameters
|
208
|
+
# @return [DocumentValidationResult]
|
209
|
+
describe 'validate_document_txt_validation 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
|
+
|
179
215
|
# unit tests for validate_document_xlsx_validation
|
180
216
|
# Validate a Excel document (XLSX)
|
181
217
|
# 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
|
@@ -65,6 +65,29 @@ describe 'ZipArchiveApi' do
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
+
# unit tests for zip_archive_zip_create_encrypted
|
69
|
+
# Compress files to create a new, encrypted and password-protected zip archive
|
70
|
+
# Create a new zip archive by compressing input files, and also applies encryption and password protection to the zip.
|
71
|
+
# @param password Password to place on the Zip file; the longer the password, the more secure
|
72
|
+
# @param input_file1 First input file to perform the operation on.
|
73
|
+
# @param [Hash] opts the optional parameters
|
74
|
+
# @option opts [String] :encryption_algorithm Encryption algorithm to use; possible values are AES-256 (recommended), AES-128, and PK-Zip (not recommended; legacy, weak encryption algorithm). Default is AES-256.
|
75
|
+
# @option opts [File] :input_file2 Second input file to perform the operation on.
|
76
|
+
# @option opts [File] :input_file3 Third input file to perform the operation on.
|
77
|
+
# @option opts [File] :input_file4 Fourth input file to perform the operation on.
|
78
|
+
# @option opts [File] :input_file5 Fifth input file to perform the operation on.
|
79
|
+
# @option opts [File] :input_file6 Sixth input file to perform the operation on.
|
80
|
+
# @option opts [File] :input_file7 Seventh input file to perform the operation on.
|
81
|
+
# @option opts [File] :input_file8 Eighth input file to perform the operation on.
|
82
|
+
# @option opts [File] :input_file9 Ninth input file to perform the operation on.
|
83
|
+
# @option opts [File] :input_file10 Tenth input file to perform the operation on.
|
84
|
+
# @return [String]
|
85
|
+
describe 'zip_archive_zip_create_encrypted test' do
|
86
|
+
it 'should work' do
|
87
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
68
91
|
# unit tests for zip_archive_zip_decrypt
|
69
92
|
# Decrypt and remove password protection on a zip file
|
70
93
|
# Decrypts and removes password protection from an encrypted zip file with the specified password
|
@@ -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
|
@@ -0,0 +1,89 @@
|
|
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::GetDocxMetadataPropertiesResponse
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'GetDocxMetadataPropertiesResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::GetDocxMetadataPropertiesResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of GetDocxMetadataPropertiesResponse' do
|
31
|
+
it 'should create an instance of GetDocxMetadataPropertiesResponse' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::GetDocxMetadataPropertiesResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "company"' 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 "manager"' 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 "application_version"' 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 "word_count"' 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 "line_count"' 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 "paragraph_count"' 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
|
+
describe 'test attribute "page_count"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "custom_properties"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "successful"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudmersive-convert-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloudmersive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -257,12 +257,14 @@ files:
|
|
257
257
|
- "./docs/DocxInsertCommentOnParagraphRequest.md"
|
258
258
|
- "./docs/DocxInsertImageRequest.md"
|
259
259
|
- "./docs/DocxInsertImageResponse.md"
|
260
|
+
- "./docs/DocxMetadataCustomProperty.md"
|
260
261
|
- "./docs/DocxPage.md"
|
261
262
|
- "./docs/DocxParagraph.md"
|
262
263
|
- "./docs/DocxRemoveObjectRequest.md"
|
263
264
|
- "./docs/DocxRemoveObjectResponse.md"
|
264
265
|
- "./docs/DocxRun.md"
|
265
266
|
- "./docs/DocxSection.md"
|
267
|
+
- "./docs/DocxSetCustomMetadataPropertiesRequest.md"
|
266
268
|
- "./docs/DocxSetFooterAddPageNumberRequest.md"
|
267
269
|
- "./docs/DocxSetFooterRequest.md"
|
268
270
|
- "./docs/DocxSetFooterResponse.md"
|
@@ -308,6 +310,7 @@ files:
|
|
308
310
|
- "./docs/GetDocxHeadersAndFootersResponse.md"
|
309
311
|
- "./docs/GetDocxImagesRequest.md"
|
310
312
|
- "./docs/GetDocxImagesResponse.md"
|
313
|
+
- "./docs/GetDocxMetadataPropertiesResponse.md"
|
311
314
|
- "./docs/GetDocxPagesRequest.md"
|
312
315
|
- "./docs/GetDocxPagesResponse.md"
|
313
316
|
- "./docs/GetDocxSectionsRequest.md"
|
@@ -528,12 +531,14 @@ files:
|
|
528
531
|
- "./lib/cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request.rb"
|
529
532
|
- "./lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb"
|
530
533
|
- "./lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb"
|
534
|
+
- "./lib/cloudmersive-convert-api-client/models/docx_metadata_custom_property.rb"
|
531
535
|
- "./lib/cloudmersive-convert-api-client/models/docx_page.rb"
|
532
536
|
- "./lib/cloudmersive-convert-api-client/models/docx_paragraph.rb"
|
533
537
|
- "./lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb"
|
534
538
|
- "./lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb"
|
535
539
|
- "./lib/cloudmersive-convert-api-client/models/docx_run.rb"
|
536
540
|
- "./lib/cloudmersive-convert-api-client/models/docx_section.rb"
|
541
|
+
- "./lib/cloudmersive-convert-api-client/models/docx_set_custom_metadata_properties_request.rb"
|
537
542
|
- "./lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb"
|
538
543
|
- "./lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb"
|
539
544
|
- "./lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb"
|
@@ -575,6 +580,7 @@ files:
|
|
575
580
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb"
|
576
581
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb"
|
577
582
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb"
|
583
|
+
- "./lib/cloudmersive-convert-api-client/models/get_docx_metadata_properties_response.rb"
|
578
584
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_pages_request.rb"
|
579
585
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_pages_response.rb"
|
580
586
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb"
|
@@ -787,12 +793,14 @@ files:
|
|
787
793
|
- "./spec/models/docx_insert_comment_on_paragraph_request_spec.rb"
|
788
794
|
- "./spec/models/docx_insert_image_request_spec.rb"
|
789
795
|
- "./spec/models/docx_insert_image_response_spec.rb"
|
796
|
+
- "./spec/models/docx_metadata_custom_property_spec.rb"
|
790
797
|
- "./spec/models/docx_page_spec.rb"
|
791
798
|
- "./spec/models/docx_paragraph_spec.rb"
|
792
799
|
- "./spec/models/docx_remove_object_request_spec.rb"
|
793
800
|
- "./spec/models/docx_remove_object_response_spec.rb"
|
794
801
|
- "./spec/models/docx_run_spec.rb"
|
795
802
|
- "./spec/models/docx_section_spec.rb"
|
803
|
+
- "./spec/models/docx_set_custom_metadata_properties_request_spec.rb"
|
796
804
|
- "./spec/models/docx_set_footer_add_page_number_request_spec.rb"
|
797
805
|
- "./spec/models/docx_set_footer_request_spec.rb"
|
798
806
|
- "./spec/models/docx_set_footer_response_spec.rb"
|
@@ -834,6 +842,7 @@ files:
|
|
834
842
|
- "./spec/models/get_docx_headers_and_footers_response_spec.rb"
|
835
843
|
- "./spec/models/get_docx_images_request_spec.rb"
|
836
844
|
- "./spec/models/get_docx_images_response_spec.rb"
|
845
|
+
- "./spec/models/get_docx_metadata_properties_response_spec.rb"
|
837
846
|
- "./spec/models/get_docx_pages_request_spec.rb"
|
838
847
|
- "./spec/models/get_docx_pages_response_spec.rb"
|
839
848
|
- "./spec/models/get_docx_sections_request_spec.rb"
|