cloudmersive-convert-api-client 1.7.6 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (663) hide show
  1. checksums.yaml +4 -4
  2. metadata +3 -664
  3. data/Gemfile +0 -7
  4. data/README.md +0 -483
  5. data/Rakefile +0 -8
  6. data/cloudmersive-convert-api-client.gemspec +0 -45
  7. data/docs/AddPdfAnnotationRequest.md +0 -9
  8. data/docs/AlternateFileFormatCandidate.md +0 -10
  9. data/docs/AutodetectDocumentValidationResult.md +0 -12
  10. data/docs/AutodetectGetInfoResult.md +0 -14
  11. data/docs/AutodetectToPngResult.md +0 -9
  12. data/docs/Base64DecodeRequest.md +0 -8
  13. data/docs/Base64DecodeResponse.md +0 -9
  14. data/docs/Base64DetectRequest.md +0 -8
  15. data/docs/Base64DetectResponse.md +0 -9
  16. data/docs/Base64EncodeRequest.md +0 -8
  17. data/docs/Base64EncodeResponse.md +0 -9
  18. data/docs/ChangeLineEndingResponse.md +0 -9
  19. data/docs/ClearXlsxCellRequest.md +0 -12
  20. data/docs/ClearXlsxCellResponse.md +0 -9
  21. data/docs/CompareDocumentApi.md +0 -66
  22. data/docs/ConvertDataApi.md +0 -902
  23. data/docs/ConvertDocumentApi.md +0 -1754
  24. data/docs/ConvertImageApi.md +0 -243
  25. data/docs/ConvertTemplateApi.md +0 -122
  26. data/docs/ConvertWebApi.md +0 -448
  27. data/docs/ConvertedPngPage.md +0 -9
  28. data/docs/CreateBlankDocxRequest.md +0 -8
  29. data/docs/CreateBlankDocxResponse.md +0 -9
  30. data/docs/CreateBlankSpreadsheetRequest.md +0 -8
  31. data/docs/CreateBlankSpreadsheetResponse.md +0 -9
  32. data/docs/CreateSpreadsheetFromDataRequest.md +0 -9
  33. data/docs/CreateSpreadsheetFromDataResponse.md +0 -9
  34. data/docs/CreateZipArchiveRequest.md +0 -9
  35. data/docs/CsvCollection.md +0 -10
  36. data/docs/CsvFileResult.md +0 -9
  37. data/docs/DeleteDocxTableRowRangeRequest.md +0 -12
  38. data/docs/DeleteDocxTableRowRangeResponse.md +0 -9
  39. data/docs/DeleteDocxTableRowRequest.md +0 -11
  40. data/docs/DeleteDocxTableRowResponse.md +0 -9
  41. data/docs/DetectLineEndingsResponse.md +0 -11
  42. data/docs/DisableSharedWorkbookRequest.md +0 -9
  43. data/docs/DisableSharedWorkbookResponse.md +0 -9
  44. data/docs/DocumentValidationError.md +0 -11
  45. data/docs/DocumentValidationResult.md +0 -12
  46. data/docs/DocxBody.md +0 -10
  47. data/docs/DocxCellStyle.md +0 -11
  48. data/docs/DocxComment.md +0 -16
  49. data/docs/DocxFooter.md +0 -10
  50. data/docs/DocxHeader.md +0 -10
  51. data/docs/DocxImage.md +0 -20
  52. data/docs/DocxInsertCommentOnParagraphRequest.md +0 -11
  53. data/docs/DocxInsertImageRequest.md +0 -16
  54. data/docs/DocxInsertImageResponse.md +0 -9
  55. data/docs/DocxPage.md +0 -9
  56. data/docs/DocxParagraph.md +0 -11
  57. data/docs/DocxRemoveObjectRequest.md +0 -10
  58. data/docs/DocxRemoveObjectResponse.md +0 -9
  59. data/docs/DocxRun.md +0 -15
  60. data/docs/DocxSection.md +0 -9
  61. data/docs/DocxSetFooterAddPageNumberRequest.md +0 -10
  62. data/docs/DocxSetFooterRequest.md +0 -10
  63. data/docs/DocxSetFooterResponse.md +0 -9
  64. data/docs/DocxSetHeaderRequest.md +0 -10
  65. data/docs/DocxSetHeaderResponse.md +0 -9
  66. data/docs/DocxStyle.md +0 -14
  67. data/docs/DocxTable.md +0 -46
  68. data/docs/DocxTableCell.md +0 -15
  69. data/docs/DocxTableRow.md +0 -10
  70. data/docs/DocxTemplateApplicationRequest.md +0 -8
  71. data/docs/DocxTemplateOperation.md +0 -10
  72. data/docs/DocxText.md +0 -10
  73. data/docs/DocxTopLevelComment.md +0 -14
  74. data/docs/EditDocumentApi.md +0 -2758
  75. data/docs/EditPdfApi.md +0 -1083
  76. data/docs/EditTextApi.md +0 -726
  77. data/docs/EnableSharedWorkbookRequest.md +0 -9
  78. data/docs/EnableSharedWorkbookResponse.md +0 -9
  79. data/docs/ExifValue.md +0 -10
  80. data/docs/FindDocxParagraphRequest.md +0 -11
  81. data/docs/FindDocxParagraphResponse.md +0 -10
  82. data/docs/FindRegexMatch.md +0 -12
  83. data/docs/FindStringMatch.md +0 -10
  84. data/docs/FindStringRegexRequest.md +0 -10
  85. data/docs/FindStringRegexResponse.md +0 -10
  86. data/docs/FindStringSimpleRequest.md +0 -9
  87. data/docs/FindStringSimpleResponse.md +0 -10
  88. data/docs/FinishEditingRequest.md +0 -8
  89. data/docs/GetDocxBodyRequest.md +0 -9
  90. data/docs/GetDocxBodyResponse.md +0 -9
  91. data/docs/GetDocxCommentsHierarchicalResponse.md +0 -10
  92. data/docs/GetDocxCommentsResponse.md +0 -10
  93. data/docs/GetDocxGetCommentsHierarchicalRequest.md +0 -9
  94. data/docs/GetDocxGetCommentsRequest.md +0 -9
  95. data/docs/GetDocxHeadersAndFootersRequest.md +0 -9
  96. data/docs/GetDocxHeadersAndFootersResponse.md +0 -10
  97. data/docs/GetDocxImagesRequest.md +0 -9
  98. data/docs/GetDocxImagesResponse.md +0 -9
  99. data/docs/GetDocxPagesRequest.md +0 -10
  100. data/docs/GetDocxPagesResponse.md +0 -10
  101. data/docs/GetDocxSectionsRequest.md +0 -9
  102. data/docs/GetDocxSectionsResponse.md +0 -9
  103. data/docs/GetDocxStylesRequest.md +0 -9
  104. data/docs/GetDocxStylesResponse.md +0 -9
  105. data/docs/GetDocxTableByIndexRequest.md +0 -10
  106. data/docs/GetDocxTableByIndexResponse.md +0 -9
  107. data/docs/GetDocxTableRowRequest.md +0 -11
  108. data/docs/GetDocxTableRowResponse.md +0 -9
  109. data/docs/GetDocxTablesRequest.md +0 -9
  110. data/docs/GetDocxTablesResponse.md +0 -9
  111. data/docs/GetImageInfoResult.md +0 -24
  112. data/docs/GetPdfAnnotationsResult.md +0 -9
  113. data/docs/GetXlsxCellByIdentifierRequest.md +0 -11
  114. data/docs/GetXlsxCellByIdentifierResponse.md +0 -9
  115. data/docs/GetXlsxCellRequest.md +0 -12
  116. data/docs/GetXlsxCellResponse.md +0 -9
  117. data/docs/GetXlsxColumnsRequest.md +0 -10
  118. data/docs/GetXlsxColumnsResponse.md +0 -9
  119. data/docs/GetXlsxImagesRequest.md +0 -10
  120. data/docs/GetXlsxImagesResponse.md +0 -9
  121. data/docs/GetXlsxRowsAndCellsRequest.md +0 -10
  122. data/docs/GetXlsxRowsAndCellsResponse.md +0 -9
  123. data/docs/GetXlsxStylesRequest.md +0 -9
  124. data/docs/GetXlsxStylesResponse.md +0 -9
  125. data/docs/GetXlsxWorksheetsRequest.md +0 -9
  126. data/docs/GetXlsxWorksheetsResponse.md +0 -9
  127. data/docs/HtmlMdResult.md +0 -9
  128. data/docs/HtmlTemplateApplicationRequest.md +0 -10
  129. data/docs/HtmlTemplateApplicationResponse.md +0 -9
  130. data/docs/HtmlTemplateOperation.md +0 -10
  131. data/docs/HtmlToOfficeRequest.md +0 -8
  132. data/docs/HtmlToPdfRequest.md +0 -9
  133. data/docs/HtmlToPngRequest.md +0 -11
  134. data/docs/HtmlToTextRequest.md +0 -8
  135. data/docs/HtmlToTextResponse.md +0 -9
  136. data/docs/InsertDocxCommentOnParagraphResponse.md +0 -9
  137. data/docs/InsertDocxInsertParagraphRequest.md +0 -12
  138. data/docs/InsertDocxInsertParagraphResponse.md +0 -9
  139. data/docs/InsertDocxTableRowRequest.md +0 -12
  140. data/docs/InsertDocxTableRowResponse.md +0 -9
  141. data/docs/InsertDocxTablesRequest.md +0 -12
  142. data/docs/InsertDocxTablesResponse.md +0 -9
  143. data/docs/InsertXlsxWorksheetRequest.md +0 -10
  144. data/docs/InsertXlsxWorksheetResponse.md +0 -9
  145. data/docs/MergeDocumentApi.md +0 -812
  146. data/docs/MultipageImageFormatConversionResult.md +0 -10
  147. data/docs/PageConversionResult.md +0 -9
  148. data/docs/PdfAnnotation.md +0 -19
  149. data/docs/PdfDocument.md +0 -10
  150. data/docs/PdfFormField.md +0 -11
  151. data/docs/PdfFormFields.md +0 -9
  152. data/docs/PdfMetadata.md +0 -16
  153. data/docs/PdfPageText.md +0 -9
  154. data/docs/PdfTextByPageResult.md +0 -9
  155. data/docs/PdfToPngResult.md +0 -9
  156. data/docs/PresentationResult.md +0 -10
  157. data/docs/RemoveDocxHeadersAndFootersRequest.md +0 -11
  158. data/docs/RemoveDocxHeadersAndFootersResponse.md +0 -9
  159. data/docs/RemoveDocxPagesRequest.md +0 -11
  160. data/docs/RemoveHtmlFromTextRequest.md +0 -8
  161. data/docs/RemoveHtmlFromTextResponse.md +0 -9
  162. data/docs/RemovePptxSlidesRequest.md +0 -11
  163. data/docs/RemoveWhitespaceFromTextRequest.md +0 -8
  164. data/docs/RemoveWhitespaceFromTextResponse.md +0 -9
  165. data/docs/RemoveXlsxWorksheetRequest.md +0 -10
  166. data/docs/ReplaceDocxParagraphRequest.md +0 -12
  167. data/docs/ReplaceDocxParagraphResponse.md +0 -9
  168. data/docs/ReplaceStringRegexRequest.md +0 -10
  169. data/docs/ReplaceStringRegexResponse.md +0 -9
  170. data/docs/ReplaceStringRequest.md +0 -12
  171. data/docs/ReplaceStringSimpleRequest.md +0 -10
  172. data/docs/ReplaceStringSimpleResponse.md +0 -9
  173. data/docs/ScreenshotRequest.md +0 -11
  174. data/docs/SetFormFieldValue.md +0 -11
  175. data/docs/SetPdfFormFieldsRequest.md +0 -9
  176. data/docs/SetPdfMetadataRequest.md +0 -9
  177. data/docs/SetXlsxCellByIdentifierRequest.md +0 -12
  178. data/docs/SetXlsxCellByIdentifierResponse.md +0 -9
  179. data/docs/SetXlsxCellRequest.md +0 -13
  180. data/docs/SetXlsxCellResponse.md +0 -9
  181. data/docs/SplitDocumentApi.md +0 -361
  182. data/docs/SplitDocumentResult.md +0 -10
  183. data/docs/SplitDocxDocumentResult.md +0 -9
  184. data/docs/SplitPdfResult.md +0 -9
  185. data/docs/SplitPptxPresentationResult.md +0 -9
  186. data/docs/SplitTextDocumentByLinesResult.md +0 -10
  187. data/docs/SplitTextDocumentByStringResult.md +0 -10
  188. data/docs/SplitXlsxWorksheetResult.md +0 -9
  189. data/docs/TextConversionResult.md +0 -9
  190. data/docs/TextDocumentElement.md +0 -9
  191. data/docs/TextDocumentLine.md +0 -9
  192. data/docs/TextEncodingDetectResponse.md +0 -9
  193. data/docs/UpdateDocxTableCellRequest.md +0 -13
  194. data/docs/UpdateDocxTableCellResponse.md +0 -9
  195. data/docs/UpdateDocxTableRowRequest.md +0 -12
  196. data/docs/UpdateDocxTableRowResponse.md +0 -9
  197. data/docs/UrlToPdfRequest.md +0 -11
  198. data/docs/UrlToTextRequest.md +0 -8
  199. data/docs/UrlToTextResponse.md +0 -9
  200. data/docs/ValidateDocumentApi.md +0 -723
  201. data/docs/ViewerResponse.md +0 -9
  202. data/docs/ViewerToolsApi.md +0 -63
  203. data/docs/WorksheetResult.md +0 -11
  204. data/docs/XlsxImage.md +0 -12
  205. data/docs/XlsxSpreadsheetCell.md +0 -12
  206. data/docs/XlsxSpreadsheetColumn.md +0 -9
  207. data/docs/XlsxSpreadsheetRow.md +0 -9
  208. data/docs/XlsxWorksheet.md +0 -9
  209. data/docs/XmlAddAttributeWithXPathResult.md +0 -10
  210. data/docs/XmlAddChildWithXPathResult.md +0 -10
  211. data/docs/XmlFilterWithXPathResult.md +0 -10
  212. data/docs/XmlQueryWithXQueryMultiResult.md +0 -10
  213. data/docs/XmlQueryWithXQueryResult.md +0 -10
  214. data/docs/XmlRemoveAllChildrenWithXPathResult.md +0 -10
  215. data/docs/XmlRemoveWithXPathResult.md +0 -11
  216. data/docs/XmlReplaceWithXPathResult.md +0 -10
  217. data/docs/XmlSetValueWithXPathResult.md +0 -10
  218. data/docs/ZipArchiveApi.md +0 -306
  219. data/docs/ZipDirectory.md +0 -10
  220. data/docs/ZipEncryptionAdvancedRequest.md +0 -10
  221. data/docs/ZipExtractResponse.md +0 -10
  222. data/docs/ZipFile.md +0 -9
  223. data/git_push.sh +0 -55
  224. data/lib/cloudmersive-convert-api-client.rb +0 -255
  225. data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +0 -86
  226. data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +0 -981
  227. data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +0 -1805
  228. data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +0 -277
  229. data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +0 -137
  230. data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +0 -464
  231. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +0 -2774
  232. data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +0 -1181
  233. data/lib/cloudmersive-convert-api-client/api/edit_text_api.rb +0 -748
  234. data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +0 -923
  235. data/lib/cloudmersive-convert-api-client/api/split_document_api.rb +0 -381
  236. data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +0 -751
  237. data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +0 -79
  238. data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +0 -335
  239. data/lib/cloudmersive-convert-api-client/api_client.rb +0 -389
  240. data/lib/cloudmersive-convert-api-client/api_error.rb +0 -38
  241. data/lib/cloudmersive-convert-api-client/configuration.rb +0 -209
  242. data/lib/cloudmersive-convert-api-client/models/add_pdf_annotation_request.rb +0 -217
  243. data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +0 -209
  244. data/lib/cloudmersive-convert-api-client/models/autodetect_document_validation_result.rb +0 -230
  245. data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +0 -251
  246. data/lib/cloudmersive-convert-api-client/models/autodetect_to_png_result.rb +0 -201
  247. data/lib/cloudmersive-convert-api-client/models/base64_decode_request.rb +0 -189
  248. data/lib/cloudmersive-convert-api-client/models/base64_decode_response.rb +0 -215
  249. data/lib/cloudmersive-convert-api-client/models/base64_detect_request.rb +0 -189
  250. data/lib/cloudmersive-convert-api-client/models/base64_detect_response.rb +0 -199
  251. data/lib/cloudmersive-convert-api-client/models/base64_encode_request.rb +0 -205
  252. data/lib/cloudmersive-convert-api-client/models/base64_encode_response.rb +0 -199
  253. data/lib/cloudmersive-convert-api-client/models/change_line_ending_response.rb +0 -199
  254. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_request.rb +0 -245
  255. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_response.rb +0 -199
  256. data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +0 -199
  257. data/lib/cloudmersive-convert-api-client/models/create_blank_docx_request.rb +0 -189
  258. data/lib/cloudmersive-convert-api-client/models/create_blank_docx_response.rb +0 -199
  259. data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_request.rb +0 -189
  260. data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_response.rb +0 -199
  261. data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_request.rb +0 -201
  262. data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_response.rb +0 -199
  263. data/lib/cloudmersive-convert-api-client/models/create_zip_archive_request.rb +0 -203
  264. data/lib/cloudmersive-convert-api-client/models/csv_collection.rb +0 -211
  265. data/lib/cloudmersive-convert-api-client/models/csv_file_result.rb +0 -215
  266. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_request.rb +0 -245
  267. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_response.rb +0 -199
  268. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_request.rb +0 -235
  269. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_response.rb +0 -199
  270. data/lib/cloudmersive-convert-api-client/models/detect_line_endings_response.rb +0 -219
  271. data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_request.rb +0 -215
  272. data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_response.rb +0 -199
  273. data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +0 -219
  274. data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +0 -231
  275. data/lib/cloudmersive-convert-api-client/models/docx_body.rb +0 -213
  276. data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +0 -219
  277. data/lib/cloudmersive-convert-api-client/models/docx_comment.rb +0 -269
  278. data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +0 -213
  279. data/lib/cloudmersive-convert-api-client/models/docx_header.rb +0 -213
  280. data/lib/cloudmersive-convert-api-client/models/docx_image.rb +0 -309
  281. data/lib/cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request.rb +0 -235
  282. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +0 -301
  283. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +0 -199
  284. data/lib/cloudmersive-convert-api-client/models/docx_page.rb +0 -201
  285. data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +0 -221
  286. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +0 -225
  287. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +0 -199
  288. data/lib/cloudmersive-convert-api-client/models/docx_run.rb +0 -261
  289. data/lib/cloudmersive-convert-api-client/models/docx_section.rb +0 -201
  290. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb +0 -225
  291. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +0 -225
  292. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +0 -199
  293. data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +0 -225
  294. data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +0 -199
  295. data/lib/cloudmersive-convert-api-client/models/docx_style.rb +0 -249
  296. data/lib/cloudmersive-convert-api-client/models/docx_table.rb +0 -571
  297. data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +0 -261
  298. data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +0 -211
  299. data/lib/cloudmersive-convert-api-client/models/docx_template_application_request.rb +0 -191
  300. data/lib/cloudmersive-convert-api-client/models/docx_template_operation.rb +0 -242
  301. data/lib/cloudmersive-convert-api-client/models/docx_text.rb +0 -209
  302. data/lib/cloudmersive-convert-api-client/models/docx_top_level_comment.rb +0 -251
  303. data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_request.rb +0 -215
  304. data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_response.rb +0 -199
  305. data/lib/cloudmersive-convert-api-client/models/exif_value.rb +0 -209
  306. data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_request.rb +0 -235
  307. data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_response.rb +0 -211
  308. data/lib/cloudmersive-convert-api-client/models/find_regex_match.rb +0 -231
  309. data/lib/cloudmersive-convert-api-client/models/find_string_match.rb +0 -209
  310. data/lib/cloudmersive-convert-api-client/models/find_string_regex_request.rb +0 -209
  311. data/lib/cloudmersive-convert-api-client/models/find_string_regex_response.rb +0 -211
  312. data/lib/cloudmersive-convert-api-client/models/find_string_simple_request.rb +0 -199
  313. data/lib/cloudmersive-convert-api-client/models/find_string_simple_response.rb +0 -211
  314. data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +0 -189
  315. data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +0 -215
  316. data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +0 -199
  317. data/lib/cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response.rb +0 -211
  318. data/lib/cloudmersive-convert-api-client/models/get_docx_comments_response.rb +0 -211
  319. data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request.rb +0 -215
  320. data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_request.rb +0 -215
  321. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +0 -215
  322. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +0 -211
  323. data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +0 -215
  324. data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +0 -201
  325. data/lib/cloudmersive-convert-api-client/models/get_docx_pages_request.rb +0 -225
  326. data/lib/cloudmersive-convert-api-client/models/get_docx_pages_response.rb +0 -211
  327. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +0 -215
  328. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +0 -201
  329. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +0 -215
  330. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +0 -201
  331. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_request.rb +0 -225
  332. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_response.rb +0 -199
  333. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_request.rb +0 -235
  334. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_response.rb +0 -199
  335. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +0 -215
  336. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +0 -201
  337. data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +0 -350
  338. data/lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb +0 -201
  339. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb +0 -235
  340. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb +0 -199
  341. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_request.rb +0 -245
  342. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_response.rb +0 -199
  343. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +0 -225
  344. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +0 -201
  345. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +0 -225
  346. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +0 -201
  347. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +0 -225
  348. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +0 -201
  349. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +0 -215
  350. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +0 -201
  351. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +0 -215
  352. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +0 -201
  353. data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +0 -199
  354. data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +0 -211
  355. data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +0 -199
  356. data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +0 -242
  357. data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +0 -189
  358. data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +0 -199
  359. data/lib/cloudmersive-convert-api-client/models/html_to_png_request.rb +0 -219
  360. data/lib/cloudmersive-convert-api-client/models/html_to_text_request.rb +0 -189
  361. data/lib/cloudmersive-convert-api-client/models/html_to_text_response.rb +0 -199
  362. data/lib/cloudmersive-convert-api-client/models/insert_docx_comment_on_paragraph_response.rb +0 -199
  363. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +0 -245
  364. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +0 -199
  365. data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_request.rb +0 -245
  366. data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_response.rb +0 -199
  367. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +0 -245
  368. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +0 -199
  369. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +0 -225
  370. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +0 -199
  371. data/lib/cloudmersive-convert-api-client/models/multipage_image_format_conversion_result.rb +0 -211
  372. data/lib/cloudmersive-convert-api-client/models/page_conversion_result.rb +0 -215
  373. data/lib/cloudmersive-convert-api-client/models/pdf_annotation.rb +0 -299
  374. data/lib/cloudmersive-convert-api-client/models/pdf_document.rb +0 -225
  375. data/lib/cloudmersive-convert-api-client/models/pdf_form_field.rb +0 -219
  376. data/lib/cloudmersive-convert-api-client/models/pdf_form_fields.rb +0 -201
  377. data/lib/cloudmersive-convert-api-client/models/pdf_metadata.rb +0 -269
  378. data/lib/cloudmersive-convert-api-client/models/pdf_page_text.rb +0 -199
  379. data/lib/cloudmersive-convert-api-client/models/pdf_text_by_page_result.rb +0 -201
  380. data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +0 -201
  381. data/lib/cloudmersive-convert-api-client/models/presentation_result.rb +0 -225
  382. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +0 -235
  383. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +0 -199
  384. data/lib/cloudmersive-convert-api-client/models/remove_docx_pages_request.rb +0 -235
  385. data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_request.rb +0 -189
  386. data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_response.rb +0 -199
  387. data/lib/cloudmersive-convert-api-client/models/remove_pptx_slides_request.rb +0 -235
  388. data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_request.rb +0 -189
  389. data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_response.rb +0 -199
  390. data/lib/cloudmersive-convert-api-client/models/remove_xlsx_worksheet_request.rb +0 -225
  391. data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_request.rb +0 -245
  392. data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_response.rb +0 -199
  393. data/lib/cloudmersive-convert-api-client/models/replace_string_regex_request.rb +0 -209
  394. data/lib/cloudmersive-convert-api-client/models/replace_string_regex_response.rb +0 -199
  395. data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +0 -245
  396. data/lib/cloudmersive-convert-api-client/models/replace_string_simple_request.rb +0 -209
  397. data/lib/cloudmersive-convert-api-client/models/replace_string_simple_response.rb +0 -199
  398. data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +0 -219
  399. data/lib/cloudmersive-convert-api-client/models/set_form_field_value.rb +0 -219
  400. data/lib/cloudmersive-convert-api-client/models/set_pdf_form_fields_request.rb +0 -217
  401. data/lib/cloudmersive-convert-api-client/models/set_pdf_metadata_request.rb +0 -215
  402. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request.rb +0 -245
  403. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response.rb +0 -199
  404. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_request.rb +0 -255
  405. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_response.rb +0 -199
  406. data/lib/cloudmersive-convert-api-client/models/split_document_result.rb +0 -225
  407. data/lib/cloudmersive-convert-api-client/models/split_docx_document_result.rb +0 -200
  408. data/lib/cloudmersive-convert-api-client/models/split_pdf_result.rb +0 -201
  409. data/lib/cloudmersive-convert-api-client/models/split_pptx_presentation_result.rb +0 -200
  410. data/lib/cloudmersive-convert-api-client/models/split_text_document_by_lines_result.rb +0 -210
  411. data/lib/cloudmersive-convert-api-client/models/split_text_document_by_string_result.rb +0 -210
  412. data/lib/cloudmersive-convert-api-client/models/split_xlsx_worksheet_result.rb +0 -200
  413. data/lib/cloudmersive-convert-api-client/models/text_conversion_result.rb +0 -199
  414. data/lib/cloudmersive-convert-api-client/models/text_document_element.rb +0 -199
  415. data/lib/cloudmersive-convert-api-client/models/text_document_line.rb +0 -199
  416. data/lib/cloudmersive-convert-api-client/models/text_encoding_detect_response.rb +0 -199
  417. data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_request.rb +0 -255
  418. data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_response.rb +0 -199
  419. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_request.rb +0 -245
  420. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_response.rb +0 -199
  421. data/lib/cloudmersive-convert-api-client/models/url_to_pdf_request.rb +0 -219
  422. data/lib/cloudmersive-convert-api-client/models/url_to_text_request.rb +0 -189
  423. data/lib/cloudmersive-convert-api-client/models/url_to_text_response.rb +0 -199
  424. data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +0 -197
  425. data/lib/cloudmersive-convert-api-client/models/worksheet_result.rb +0 -235
  426. data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +0 -229
  427. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +0 -228
  428. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +0 -199
  429. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +0 -201
  430. data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +0 -199
  431. data/lib/cloudmersive-convert-api-client/models/xml_add_attribute_with_x_path_result.rb +0 -209
  432. data/lib/cloudmersive-convert-api-client/models/xml_add_child_with_x_path_result.rb +0 -209
  433. data/lib/cloudmersive-convert-api-client/models/xml_filter_with_x_path_result.rb +0 -211
  434. data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_multi_result.rb +0 -209
  435. data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_result.rb +0 -209
  436. data/lib/cloudmersive-convert-api-client/models/xml_remove_all_children_with_x_path_result.rb +0 -209
  437. data/lib/cloudmersive-convert-api-client/models/xml_remove_with_x_path_result.rb +0 -221
  438. data/lib/cloudmersive-convert-api-client/models/xml_replace_with_x_path_result.rb +0 -209
  439. data/lib/cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result.rb +0 -209
  440. data/lib/cloudmersive-convert-api-client/models/zip_directory.rb +0 -213
  441. data/lib/cloudmersive-convert-api-client/models/zip_encryption_advanced_request.rb +0 -225
  442. data/lib/cloudmersive-convert-api-client/models/zip_extract_response.rb +0 -213
  443. data/lib/cloudmersive-convert-api-client/models/zip_file.rb +0 -215
  444. data/lib/cloudmersive-convert-api-client/version.rb +0 -15
  445. data/spec/api/compare_document_api_spec.rb +0 -48
  446. data/spec/api/convert_data_api_spec.rb +0 -240
  447. data/spec/api/convert_document_api_spec.rb +0 -421
  448. data/spec/api/convert_image_api_spec.rb +0 -88
  449. data/spec/api/convert_template_api_spec.rb +0 -60
  450. data/spec/api/convert_web_api_spec.rb +0 -131
  451. data/spec/api/edit_document_api_spec.rb +0 -635
  452. data/spec/api/edit_pdf_api_spec.rb +0 -282
  453. data/spec/api/edit_text_api_spec.rb +0 -192
  454. data/spec/api/merge_document_api_spec.rb +0 -239
  455. data/spec/api/split_document_api_spec.rb +0 -113
  456. data/spec/api/validate_document_api_spec.rb +0 -191
  457. data/spec/api/viewer_tools_api_spec.rb +0 -47
  458. data/spec/api/zip_archive_api_spec.rb +0 -105
  459. data/spec/api_client_spec.rb +0 -226
  460. data/spec/configuration_spec.rb +0 -42
  461. data/spec/models/add_pdf_annotation_request_spec.rb +0 -48
  462. data/spec/models/alternate_file_format_candidate_spec.rb +0 -54
  463. data/spec/models/autodetect_document_validation_result_spec.rb +0 -66
  464. data/spec/models/autodetect_get_info_result_spec.rb +0 -78
  465. data/spec/models/autodetect_to_png_result_spec.rb +0 -48
  466. data/spec/models/base64_decode_request_spec.rb +0 -42
  467. data/spec/models/base64_decode_response_spec.rb +0 -48
  468. data/spec/models/base64_detect_request_spec.rb +0 -42
  469. data/spec/models/base64_detect_response_spec.rb +0 -48
  470. data/spec/models/base64_encode_request_spec.rb +0 -42
  471. data/spec/models/base64_encode_response_spec.rb +0 -48
  472. data/spec/models/change_line_ending_response_spec.rb +0 -48
  473. data/spec/models/clear_xlsx_cell_request_spec.rb +0 -66
  474. data/spec/models/clear_xlsx_cell_response_spec.rb +0 -48
  475. data/spec/models/converted_png_page_spec.rb +0 -48
  476. data/spec/models/create_blank_docx_request_spec.rb +0 -42
  477. data/spec/models/create_blank_docx_response_spec.rb +0 -48
  478. data/spec/models/create_blank_spreadsheet_request_spec.rb +0 -42
  479. data/spec/models/create_blank_spreadsheet_response_spec.rb +0 -48
  480. data/spec/models/create_spreadsheet_from_data_request_spec.rb +0 -48
  481. data/spec/models/create_spreadsheet_from_data_response_spec.rb +0 -48
  482. data/spec/models/create_zip_archive_request_spec.rb +0 -48
  483. data/spec/models/csv_collection_spec.rb +0 -54
  484. data/spec/models/csv_file_result_spec.rb +0 -48
  485. data/spec/models/delete_docx_table_row_range_request_spec.rb +0 -66
  486. data/spec/models/delete_docx_table_row_range_response_spec.rb +0 -48
  487. data/spec/models/delete_docx_table_row_request_spec.rb +0 -60
  488. data/spec/models/delete_docx_table_row_response_spec.rb +0 -48
  489. data/spec/models/detect_line_endings_response_spec.rb +0 -60
  490. data/spec/models/disable_shared_workbook_request_spec.rb +0 -48
  491. data/spec/models/disable_shared_workbook_response_spec.rb +0 -48
  492. data/spec/models/document_validation_error_spec.rb +0 -60
  493. data/spec/models/document_validation_result_spec.rb +0 -66
  494. data/spec/models/docx_body_spec.rb +0 -54
  495. data/spec/models/docx_cell_style_spec.rb +0 -60
  496. data/spec/models/docx_comment_spec.rb +0 -90
  497. data/spec/models/docx_footer_spec.rb +0 -54
  498. data/spec/models/docx_header_spec.rb +0 -54
  499. data/spec/models/docx_image_spec.rb +0 -114
  500. data/spec/models/docx_insert_comment_on_paragraph_request_spec.rb +0 -60
  501. data/spec/models/docx_insert_image_request_spec.rb +0 -90
  502. data/spec/models/docx_insert_image_response_spec.rb +0 -48
  503. data/spec/models/docx_page_spec.rb +0 -48
  504. data/spec/models/docx_paragraph_spec.rb +0 -60
  505. data/spec/models/docx_remove_object_request_spec.rb +0 -54
  506. data/spec/models/docx_remove_object_response_spec.rb +0 -48
  507. data/spec/models/docx_run_spec.rb +0 -84
  508. data/spec/models/docx_section_spec.rb +0 -48
  509. data/spec/models/docx_set_footer_add_page_number_request_spec.rb +0 -54
  510. data/spec/models/docx_set_footer_request_spec.rb +0 -54
  511. data/spec/models/docx_set_footer_response_spec.rb +0 -48
  512. data/spec/models/docx_set_header_request_spec.rb +0 -54
  513. data/spec/models/docx_set_header_response_spec.rb +0 -48
  514. data/spec/models/docx_style_spec.rb +0 -78
  515. data/spec/models/docx_table_cell_spec.rb +0 -84
  516. data/spec/models/docx_table_row_spec.rb +0 -54
  517. data/spec/models/docx_table_spec.rb +0 -270
  518. data/spec/models/docx_template_application_request_spec.rb +0 -42
  519. data/spec/models/docx_template_operation_spec.rb +0 -58
  520. data/spec/models/docx_text_spec.rb +0 -54
  521. data/spec/models/docx_top_level_comment_spec.rb +0 -78
  522. data/spec/models/enable_shared_workbook_request_spec.rb +0 -48
  523. data/spec/models/enable_shared_workbook_response_spec.rb +0 -48
  524. data/spec/models/exif_value_spec.rb +0 -54
  525. data/spec/models/find_docx_paragraph_request_spec.rb +0 -60
  526. data/spec/models/find_docx_paragraph_response_spec.rb +0 -54
  527. data/spec/models/find_regex_match_spec.rb +0 -66
  528. data/spec/models/find_string_match_spec.rb +0 -54
  529. data/spec/models/find_string_regex_request_spec.rb +0 -54
  530. data/spec/models/find_string_regex_response_spec.rb +0 -54
  531. data/spec/models/find_string_simple_request_spec.rb +0 -48
  532. data/spec/models/find_string_simple_response_spec.rb +0 -54
  533. data/spec/models/finish_editing_request_spec.rb +0 -42
  534. data/spec/models/get_docx_body_request_spec.rb +0 -48
  535. data/spec/models/get_docx_body_response_spec.rb +0 -48
  536. data/spec/models/get_docx_comments_hierarchical_response_spec.rb +0 -54
  537. data/spec/models/get_docx_comments_response_spec.rb +0 -54
  538. data/spec/models/get_docx_get_comments_hierarchical_request_spec.rb +0 -48
  539. data/spec/models/get_docx_get_comments_request_spec.rb +0 -48
  540. data/spec/models/get_docx_headers_and_footers_request_spec.rb +0 -48
  541. data/spec/models/get_docx_headers_and_footers_response_spec.rb +0 -54
  542. data/spec/models/get_docx_images_request_spec.rb +0 -48
  543. data/spec/models/get_docx_images_response_spec.rb +0 -48
  544. data/spec/models/get_docx_pages_request_spec.rb +0 -54
  545. data/spec/models/get_docx_pages_response_spec.rb +0 -54
  546. data/spec/models/get_docx_sections_request_spec.rb +0 -48
  547. data/spec/models/get_docx_sections_response_spec.rb +0 -48
  548. data/spec/models/get_docx_styles_request_spec.rb +0 -48
  549. data/spec/models/get_docx_styles_response_spec.rb +0 -48
  550. data/spec/models/get_docx_table_by_index_request_spec.rb +0 -54
  551. data/spec/models/get_docx_table_by_index_response_spec.rb +0 -48
  552. data/spec/models/get_docx_table_row_request_spec.rb +0 -60
  553. data/spec/models/get_docx_table_row_response_spec.rb +0 -48
  554. data/spec/models/get_docx_tables_request_spec.rb +0 -48
  555. data/spec/models/get_docx_tables_response_spec.rb +0 -48
  556. data/spec/models/get_image_info_result_spec.rb +0 -138
  557. data/spec/models/get_pdf_annotations_result_spec.rb +0 -48
  558. data/spec/models/get_xlsx_cell_by_identifier_request_spec.rb +0 -60
  559. data/spec/models/get_xlsx_cell_by_identifier_response_spec.rb +0 -48
  560. data/spec/models/get_xlsx_cell_request_spec.rb +0 -66
  561. data/spec/models/get_xlsx_cell_response_spec.rb +0 -48
  562. data/spec/models/get_xlsx_columns_request_spec.rb +0 -54
  563. data/spec/models/get_xlsx_columns_response_spec.rb +0 -48
  564. data/spec/models/get_xlsx_images_request_spec.rb +0 -54
  565. data/spec/models/get_xlsx_images_response_spec.rb +0 -48
  566. data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +0 -54
  567. data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +0 -48
  568. data/spec/models/get_xlsx_styles_request_spec.rb +0 -48
  569. data/spec/models/get_xlsx_styles_response_spec.rb +0 -48
  570. data/spec/models/get_xlsx_worksheets_request_spec.rb +0 -48
  571. data/spec/models/get_xlsx_worksheets_response_spec.rb +0 -48
  572. data/spec/models/html_md_result_spec.rb +0 -48
  573. data/spec/models/html_template_application_request_spec.rb +0 -54
  574. data/spec/models/html_template_application_response_spec.rb +0 -48
  575. data/spec/models/html_template_operation_spec.rb +0 -58
  576. data/spec/models/html_to_office_request_spec.rb +0 -42
  577. data/spec/models/html_to_pdf_request_spec.rb +0 -48
  578. data/spec/models/html_to_png_request_spec.rb +0 -60
  579. data/spec/models/html_to_text_request_spec.rb +0 -42
  580. data/spec/models/html_to_text_response_spec.rb +0 -48
  581. data/spec/models/insert_docx_comment_on_paragraph_response_spec.rb +0 -48
  582. data/spec/models/insert_docx_insert_paragraph_request_spec.rb +0 -66
  583. data/spec/models/insert_docx_insert_paragraph_response_spec.rb +0 -48
  584. data/spec/models/insert_docx_table_row_request_spec.rb +0 -66
  585. data/spec/models/insert_docx_table_row_response_spec.rb +0 -48
  586. data/spec/models/insert_docx_tables_request_spec.rb +0 -66
  587. data/spec/models/insert_docx_tables_response_spec.rb +0 -48
  588. data/spec/models/insert_xlsx_worksheet_request_spec.rb +0 -54
  589. data/spec/models/insert_xlsx_worksheet_response_spec.rb +0 -48
  590. data/spec/models/multipage_image_format_conversion_result_spec.rb +0 -54
  591. data/spec/models/page_conversion_result_spec.rb +0 -48
  592. data/spec/models/pdf_annotation_spec.rb +0 -108
  593. data/spec/models/pdf_document_spec.rb +0 -54
  594. data/spec/models/pdf_form_field_spec.rb +0 -60
  595. data/spec/models/pdf_form_fields_spec.rb +0 -48
  596. data/spec/models/pdf_metadata_spec.rb +0 -90
  597. data/spec/models/pdf_page_text_spec.rb +0 -48
  598. data/spec/models/pdf_text_by_page_result_spec.rb +0 -48
  599. data/spec/models/pdf_to_png_result_spec.rb +0 -48
  600. data/spec/models/presentation_result_spec.rb +0 -54
  601. data/spec/models/remove_docx_headers_and_footers_request_spec.rb +0 -60
  602. data/spec/models/remove_docx_headers_and_footers_response_spec.rb +0 -48
  603. data/spec/models/remove_docx_pages_request_spec.rb +0 -60
  604. data/spec/models/remove_html_from_text_request_spec.rb +0 -42
  605. data/spec/models/remove_html_from_text_response_spec.rb +0 -48
  606. data/spec/models/remove_pptx_slides_request_spec.rb +0 -60
  607. data/spec/models/remove_whitespace_from_text_request_spec.rb +0 -42
  608. data/spec/models/remove_whitespace_from_text_response_spec.rb +0 -48
  609. data/spec/models/remove_xlsx_worksheet_request_spec.rb +0 -54
  610. data/spec/models/replace_docx_paragraph_request_spec.rb +0 -66
  611. data/spec/models/replace_docx_paragraph_response_spec.rb +0 -48
  612. data/spec/models/replace_string_regex_request_spec.rb +0 -54
  613. data/spec/models/replace_string_regex_response_spec.rb +0 -48
  614. data/spec/models/replace_string_request_spec.rb +0 -66
  615. data/spec/models/replace_string_simple_request_spec.rb +0 -54
  616. data/spec/models/replace_string_simple_response_spec.rb +0 -48
  617. data/spec/models/screenshot_request_spec.rb +0 -60
  618. data/spec/models/set_form_field_value_spec.rb +0 -60
  619. data/spec/models/set_pdf_form_fields_request_spec.rb +0 -48
  620. data/spec/models/set_pdf_metadata_request_spec.rb +0 -48
  621. data/spec/models/set_xlsx_cell_by_identifier_request_spec.rb +0 -66
  622. data/spec/models/set_xlsx_cell_by_identifier_response_spec.rb +0 -48
  623. data/spec/models/set_xlsx_cell_request_spec.rb +0 -72
  624. data/spec/models/set_xlsx_cell_response_spec.rb +0 -48
  625. data/spec/models/split_document_result_spec.rb +0 -54
  626. data/spec/models/split_docx_document_result_spec.rb +0 -48
  627. data/spec/models/split_pdf_result_spec.rb +0 -48
  628. data/spec/models/split_pptx_presentation_result_spec.rb +0 -48
  629. data/spec/models/split_text_document_by_lines_result_spec.rb +0 -54
  630. data/spec/models/split_text_document_by_string_result_spec.rb +0 -54
  631. data/spec/models/split_xlsx_worksheet_result_spec.rb +0 -48
  632. data/spec/models/text_conversion_result_spec.rb +0 -48
  633. data/spec/models/text_document_element_spec.rb +0 -48
  634. data/spec/models/text_document_line_spec.rb +0 -48
  635. data/spec/models/text_encoding_detect_response_spec.rb +0 -48
  636. data/spec/models/update_docx_table_cell_request_spec.rb +0 -72
  637. data/spec/models/update_docx_table_cell_response_spec.rb +0 -48
  638. data/spec/models/update_docx_table_row_request_spec.rb +0 -66
  639. data/spec/models/update_docx_table_row_response_spec.rb +0 -48
  640. data/spec/models/url_to_pdf_request_spec.rb +0 -60
  641. data/spec/models/url_to_text_request_spec.rb +0 -42
  642. data/spec/models/url_to_text_response_spec.rb +0 -48
  643. data/spec/models/viewer_response_spec.rb +0 -48
  644. data/spec/models/worksheet_result_spec.rb +0 -60
  645. data/spec/models/xlsx_image_spec.rb +0 -66
  646. data/spec/models/xlsx_spreadsheet_cell_spec.rb +0 -66
  647. data/spec/models/xlsx_spreadsheet_column_spec.rb +0 -48
  648. data/spec/models/xlsx_spreadsheet_row_spec.rb +0 -48
  649. data/spec/models/xlsx_worksheet_spec.rb +0 -48
  650. data/spec/models/xml_add_attribute_with_x_path_result_spec.rb +0 -54
  651. data/spec/models/xml_add_child_with_x_path_result_spec.rb +0 -54
  652. data/spec/models/xml_filter_with_x_path_result_spec.rb +0 -54
  653. data/spec/models/xml_query_with_x_query_multi_result_spec.rb +0 -54
  654. data/spec/models/xml_query_with_x_query_result_spec.rb +0 -54
  655. data/spec/models/xml_remove_all_children_with_x_path_result_spec.rb +0 -54
  656. data/spec/models/xml_remove_with_x_path_result_spec.rb +0 -60
  657. data/spec/models/xml_replace_with_x_path_result_spec.rb +0 -54
  658. data/spec/models/xml_set_value_with_x_path_result_spec.rb +0 -54
  659. data/spec/models/zip_directory_spec.rb +0 -54
  660. data/spec/models/zip_encryption_advanced_request_spec.rb +0 -54
  661. data/spec/models/zip_extract_response_spec.rb +0 -54
  662. data/spec/models/zip_file_spec.rb +0 -48
  663. data/spec/spec_helper.rb +0 -111
@@ -1,213 +0,0 @@
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.3.1
10
-
11
- =end
12
-
13
- require 'date'
14
-
15
- module CloudmersiveConvertApiClient
16
- # Footer in a Word Document (DOCX)
17
- class DocxFooter
18
- # The Path of the location of this object; leave blank for new tables
19
- attr_accessor :path
20
-
21
- # Paragraphs in this footer
22
- attr_accessor :paragraphs
23
-
24
- # Sections that the footer is applied to
25
- attr_accessor :sections_with_footer
26
-
27
-
28
- # Attribute mapping from ruby-style variable name to JSON key.
29
- def self.attribute_map
30
- {
31
- :'path' => :'Path',
32
- :'paragraphs' => :'Paragraphs',
33
- :'sections_with_footer' => :'SectionsWithFooter'
34
- }
35
- end
36
-
37
- # Attribute type mapping.
38
- def self.swagger_types
39
- {
40
- :'path' => :'String',
41
- :'paragraphs' => :'Array<DocxParagraph>',
42
- :'sections_with_footer' => :'Array<DocxSection>'
43
- }
44
- end
45
-
46
- # Initializes the object
47
- # @param [Hash] attributes Model attributes in the form of hash
48
- def initialize(attributes = {})
49
- return unless attributes.is_a?(Hash)
50
-
51
- # convert string to symbol for hash key
52
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
53
-
54
- if attributes.has_key?(:'Path')
55
- self.path = attributes[:'Path']
56
- end
57
-
58
- if attributes.has_key?(:'Paragraphs')
59
- if (value = attributes[:'Paragraphs']).is_a?(Array)
60
- self.paragraphs = value
61
- end
62
- end
63
-
64
- if attributes.has_key?(:'SectionsWithFooter')
65
- if (value = attributes[:'SectionsWithFooter']).is_a?(Array)
66
- self.sections_with_footer = value
67
- end
68
- end
69
-
70
- end
71
-
72
- # Show invalid properties with the reasons. Usually used together with valid?
73
- # @return Array for valid properties with the reasons
74
- def list_invalid_properties
75
- invalid_properties = Array.new
76
- return invalid_properties
77
- end
78
-
79
- # Check to see if the all the properties in the model are valid
80
- # @return true if the model is valid
81
- def valid?
82
- return true
83
- end
84
-
85
- # Checks equality by comparing each attribute.
86
- # @param [Object] Object to be compared
87
- def ==(o)
88
- return true if self.equal?(o)
89
- self.class == o.class &&
90
- path == o.path &&
91
- paragraphs == o.paragraphs &&
92
- sections_with_footer == o.sections_with_footer
93
- end
94
-
95
- # @see the `==` method
96
- # @param [Object] Object to be compared
97
- def eql?(o)
98
- self == o
99
- end
100
-
101
- # Calculates hash code according to all attributes.
102
- # @return [Fixnum] Hash code
103
- def hash
104
- [path, paragraphs, sections_with_footer].hash
105
- end
106
-
107
- # Builds the object from hash
108
- # @param [Hash] attributes Model attributes in the form of hash
109
- # @return [Object] Returns the model itself
110
- def build_from_hash(attributes)
111
- return nil unless attributes.is_a?(Hash)
112
- self.class.swagger_types.each_pair do |key, type|
113
- if type =~ /\AArray<(.*)>/i
114
- # check to ensure the input is an array given that the the attribute
115
- # is documented as an array but the input is not
116
- if attributes[self.class.attribute_map[key]].is_a?(Array)
117
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
118
- end
119
- elsif !attributes[self.class.attribute_map[key]].nil?
120
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
121
- end # or else data not found in attributes(hash), not an issue as the data can be optional
122
- end
123
-
124
- self
125
- end
126
-
127
- # Deserializes the data based on type
128
- # @param string type Data type
129
- # @param string value Value to be deserialized
130
- # @return [Object] Deserialized data
131
- def _deserialize(type, value)
132
- case type.to_sym
133
- when :DateTime
134
- DateTime.parse(value)
135
- when :Date
136
- Date.parse(value)
137
- when :String
138
- value.to_s
139
- when :Integer
140
- value.to_i
141
- when :Float
142
- value.to_f
143
- when :BOOLEAN
144
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
145
- true
146
- else
147
- false
148
- end
149
- when :Object
150
- # generic object (usually a Hash), return directly
151
- value
152
- when /\AArray<(?<inner_type>.+)>\z/
153
- inner_type = Regexp.last_match[:inner_type]
154
- value.map { |v| _deserialize(inner_type, v) }
155
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
156
- k_type = Regexp.last_match[:k_type]
157
- v_type = Regexp.last_match[:v_type]
158
- {}.tap do |hash|
159
- value.each do |k, v|
160
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
161
- end
162
- end
163
- else # model
164
- temp_model = CloudmersiveConvertApiClient.const_get(type).new
165
- temp_model.build_from_hash(value)
166
- end
167
- end
168
-
169
- # Returns the string representation of the object
170
- # @return [String] String presentation of the object
171
- def to_s
172
- to_hash.to_s
173
- end
174
-
175
- # to_body is an alias to to_hash (backward compatibility)
176
- # @return [Hash] Returns the object in the form of hash
177
- def to_body
178
- to_hash
179
- end
180
-
181
- # Returns the object in the form of hash
182
- # @return [Hash] Returns the object in the form of hash
183
- def to_hash
184
- hash = {}
185
- self.class.attribute_map.each_pair do |attr, param|
186
- value = self.send(attr)
187
- next if value.nil?
188
- hash[param] = _to_hash(value)
189
- end
190
- hash
191
- end
192
-
193
- # Outputs non-array value in the form of hash
194
- # For object, use to_hash. Otherwise, just return the value
195
- # @param [Object] value Any valid value
196
- # @return [Hash] Returns the value in the form of hash
197
- def _to_hash(value)
198
- if value.is_a?(Array)
199
- value.compact.map{ |v| _to_hash(v) }
200
- elsif value.is_a?(Hash)
201
- {}.tap do |hash|
202
- value.each { |k, v| hash[k] = _to_hash(v) }
203
- end
204
- elsif value.respond_to? :to_hash
205
- value.to_hash
206
- else
207
- value
208
- end
209
- end
210
-
211
- end
212
-
213
- end
@@ -1,213 +0,0 @@
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.3.1
10
-
11
- =end
12
-
13
- require 'date'
14
-
15
- module CloudmersiveConvertApiClient
16
- # Header of a Word Document (DOCX)
17
- class DocxHeader
18
- # The Path of the location of this object; leave blank for new tables
19
- attr_accessor :path
20
-
21
- # Paragraphs in this header
22
- attr_accessor :paragraphs
23
-
24
- # Sections that the header is applied to
25
- attr_accessor :sections_with_header
26
-
27
-
28
- # Attribute mapping from ruby-style variable name to JSON key.
29
- def self.attribute_map
30
- {
31
- :'path' => :'Path',
32
- :'paragraphs' => :'Paragraphs',
33
- :'sections_with_header' => :'SectionsWithHeader'
34
- }
35
- end
36
-
37
- # Attribute type mapping.
38
- def self.swagger_types
39
- {
40
- :'path' => :'String',
41
- :'paragraphs' => :'Array<DocxParagraph>',
42
- :'sections_with_header' => :'Array<DocxSection>'
43
- }
44
- end
45
-
46
- # Initializes the object
47
- # @param [Hash] attributes Model attributes in the form of hash
48
- def initialize(attributes = {})
49
- return unless attributes.is_a?(Hash)
50
-
51
- # convert string to symbol for hash key
52
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
53
-
54
- if attributes.has_key?(:'Path')
55
- self.path = attributes[:'Path']
56
- end
57
-
58
- if attributes.has_key?(:'Paragraphs')
59
- if (value = attributes[:'Paragraphs']).is_a?(Array)
60
- self.paragraphs = value
61
- end
62
- end
63
-
64
- if attributes.has_key?(:'SectionsWithHeader')
65
- if (value = attributes[:'SectionsWithHeader']).is_a?(Array)
66
- self.sections_with_header = value
67
- end
68
- end
69
-
70
- end
71
-
72
- # Show invalid properties with the reasons. Usually used together with valid?
73
- # @return Array for valid properties with the reasons
74
- def list_invalid_properties
75
- invalid_properties = Array.new
76
- return invalid_properties
77
- end
78
-
79
- # Check to see if the all the properties in the model are valid
80
- # @return true if the model is valid
81
- def valid?
82
- return true
83
- end
84
-
85
- # Checks equality by comparing each attribute.
86
- # @param [Object] Object to be compared
87
- def ==(o)
88
- return true if self.equal?(o)
89
- self.class == o.class &&
90
- path == o.path &&
91
- paragraphs == o.paragraphs &&
92
- sections_with_header == o.sections_with_header
93
- end
94
-
95
- # @see the `==` method
96
- # @param [Object] Object to be compared
97
- def eql?(o)
98
- self == o
99
- end
100
-
101
- # Calculates hash code according to all attributes.
102
- # @return [Fixnum] Hash code
103
- def hash
104
- [path, paragraphs, sections_with_header].hash
105
- end
106
-
107
- # Builds the object from hash
108
- # @param [Hash] attributes Model attributes in the form of hash
109
- # @return [Object] Returns the model itself
110
- def build_from_hash(attributes)
111
- return nil unless attributes.is_a?(Hash)
112
- self.class.swagger_types.each_pair do |key, type|
113
- if type =~ /\AArray<(.*)>/i
114
- # check to ensure the input is an array given that the the attribute
115
- # is documented as an array but the input is not
116
- if attributes[self.class.attribute_map[key]].is_a?(Array)
117
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
118
- end
119
- elsif !attributes[self.class.attribute_map[key]].nil?
120
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
121
- end # or else data not found in attributes(hash), not an issue as the data can be optional
122
- end
123
-
124
- self
125
- end
126
-
127
- # Deserializes the data based on type
128
- # @param string type Data type
129
- # @param string value Value to be deserialized
130
- # @return [Object] Deserialized data
131
- def _deserialize(type, value)
132
- case type.to_sym
133
- when :DateTime
134
- DateTime.parse(value)
135
- when :Date
136
- Date.parse(value)
137
- when :String
138
- value.to_s
139
- when :Integer
140
- value.to_i
141
- when :Float
142
- value.to_f
143
- when :BOOLEAN
144
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
145
- true
146
- else
147
- false
148
- end
149
- when :Object
150
- # generic object (usually a Hash), return directly
151
- value
152
- when /\AArray<(?<inner_type>.+)>\z/
153
- inner_type = Regexp.last_match[:inner_type]
154
- value.map { |v| _deserialize(inner_type, v) }
155
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
156
- k_type = Regexp.last_match[:k_type]
157
- v_type = Regexp.last_match[:v_type]
158
- {}.tap do |hash|
159
- value.each do |k, v|
160
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
161
- end
162
- end
163
- else # model
164
- temp_model = CloudmersiveConvertApiClient.const_get(type).new
165
- temp_model.build_from_hash(value)
166
- end
167
- end
168
-
169
- # Returns the string representation of the object
170
- # @return [String] String presentation of the object
171
- def to_s
172
- to_hash.to_s
173
- end
174
-
175
- # to_body is an alias to to_hash (backward compatibility)
176
- # @return [Hash] Returns the object in the form of hash
177
- def to_body
178
- to_hash
179
- end
180
-
181
- # Returns the object in the form of hash
182
- # @return [Hash] Returns the object in the form of hash
183
- def to_hash
184
- hash = {}
185
- self.class.attribute_map.each_pair do |attr, param|
186
- value = self.send(attr)
187
- next if value.nil?
188
- hash[param] = _to_hash(value)
189
- end
190
- hash
191
- end
192
-
193
- # Outputs non-array value in the form of hash
194
- # For object, use to_hash. Otherwise, just return the value
195
- # @param [Object] value Any valid value
196
- # @return [Hash] Returns the value in the form of hash
197
- def _to_hash(value)
198
- if value.is_a?(Array)
199
- value.compact.map{ |v| _to_hash(v) }
200
- elsif value.is_a?(Hash)
201
- {}.tap do |hash|
202
- value.each { |k, v| hash[k] = _to_hash(v) }
203
- end
204
- elsif value.respond_to? :to_hash
205
- value.to_hash
206
- else
207
- value
208
- end
209
- end
210
-
211
- end
212
-
213
- end
@@ -1,309 +0,0 @@
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.3.1
10
-
11
- =end
12
-
13
- require 'date'
14
-
15
- module CloudmersiveConvertApiClient
16
-
17
- class DocxImage
18
- # The Path of the location of this object; leave blank for new tables
19
- attr_accessor :path
20
-
21
- # The Name of the image
22
- attr_accessor :image_name
23
-
24
- # The Id of the image
25
- attr_accessor :image_id
26
-
27
- # The Description of the image
28
- attr_accessor :image_description
29
-
30
- # Width of the image in EMUs (English Metric Units); set to 0 to default to page width and aspect-ratio based height
31
- attr_accessor :image_width
32
-
33
- # Height of the image in EMUs (English Metric Units); set to 0 to default to page width and aspect-ratio based height
34
- attr_accessor :image_height
35
-
36
- # X (horizontal) offset of the image
37
- attr_accessor :x_offset
38
-
39
- # Y (vertical) offset of the image
40
- attr_accessor :y_offset
41
-
42
- # Read-only; internal ID for the image contents
43
- attr_accessor :image_data_embed_id
44
-
45
- # Read-only; image data MIME content-type
46
- attr_accessor :image_data_content_type
47
-
48
- # Read-only; internal file name/path for the image
49
- attr_accessor :image_internal_file_name
50
-
51
- # URL to the image contents; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the contents.
52
- attr_accessor :image_contents_url
53
-
54
- # True if the image is inline with the text; false if it is floating
55
- attr_accessor :inline_with_text
56
-
57
-
58
- # Attribute mapping from ruby-style variable name to JSON key.
59
- def self.attribute_map
60
- {
61
- :'path' => :'Path',
62
- :'image_name' => :'ImageName',
63
- :'image_id' => :'ImageId',
64
- :'image_description' => :'ImageDescription',
65
- :'image_width' => :'ImageWidth',
66
- :'image_height' => :'ImageHeight',
67
- :'x_offset' => :'XOffset',
68
- :'y_offset' => :'YOffset',
69
- :'image_data_embed_id' => :'ImageDataEmbedId',
70
- :'image_data_content_type' => :'ImageDataContentType',
71
- :'image_internal_file_name' => :'ImageInternalFileName',
72
- :'image_contents_url' => :'ImageContentsURL',
73
- :'inline_with_text' => :'InlineWithText'
74
- }
75
- end
76
-
77
- # Attribute type mapping.
78
- def self.swagger_types
79
- {
80
- :'path' => :'String',
81
- :'image_name' => :'String',
82
- :'image_id' => :'Integer',
83
- :'image_description' => :'String',
84
- :'image_width' => :'Integer',
85
- :'image_height' => :'Integer',
86
- :'x_offset' => :'Integer',
87
- :'y_offset' => :'Integer',
88
- :'image_data_embed_id' => :'String',
89
- :'image_data_content_type' => :'String',
90
- :'image_internal_file_name' => :'String',
91
- :'image_contents_url' => :'String',
92
- :'inline_with_text' => :'BOOLEAN'
93
- }
94
- end
95
-
96
- # Initializes the object
97
- # @param [Hash] attributes Model attributes in the form of hash
98
- def initialize(attributes = {})
99
- return unless attributes.is_a?(Hash)
100
-
101
- # convert string to symbol for hash key
102
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
103
-
104
- if attributes.has_key?(:'Path')
105
- self.path = attributes[:'Path']
106
- end
107
-
108
- if attributes.has_key?(:'ImageName')
109
- self.image_name = attributes[:'ImageName']
110
- end
111
-
112
- if attributes.has_key?(:'ImageId')
113
- self.image_id = attributes[:'ImageId']
114
- end
115
-
116
- if attributes.has_key?(:'ImageDescription')
117
- self.image_description = attributes[:'ImageDescription']
118
- end
119
-
120
- if attributes.has_key?(:'ImageWidth')
121
- self.image_width = attributes[:'ImageWidth']
122
- end
123
-
124
- if attributes.has_key?(:'ImageHeight')
125
- self.image_height = attributes[:'ImageHeight']
126
- end
127
-
128
- if attributes.has_key?(:'XOffset')
129
- self.x_offset = attributes[:'XOffset']
130
- end
131
-
132
- if attributes.has_key?(:'YOffset')
133
- self.y_offset = attributes[:'YOffset']
134
- end
135
-
136
- if attributes.has_key?(:'ImageDataEmbedId')
137
- self.image_data_embed_id = attributes[:'ImageDataEmbedId']
138
- end
139
-
140
- if attributes.has_key?(:'ImageDataContentType')
141
- self.image_data_content_type = attributes[:'ImageDataContentType']
142
- end
143
-
144
- if attributes.has_key?(:'ImageInternalFileName')
145
- self.image_internal_file_name = attributes[:'ImageInternalFileName']
146
- end
147
-
148
- if attributes.has_key?(:'ImageContentsURL')
149
- self.image_contents_url = attributes[:'ImageContentsURL']
150
- end
151
-
152
- if attributes.has_key?(:'InlineWithText')
153
- self.inline_with_text = attributes[:'InlineWithText']
154
- end
155
-
156
- end
157
-
158
- # Show invalid properties with the reasons. Usually used together with valid?
159
- # @return Array for valid properties with the reasons
160
- def list_invalid_properties
161
- invalid_properties = Array.new
162
- return invalid_properties
163
- end
164
-
165
- # Check to see if the all the properties in the model are valid
166
- # @return true if the model is valid
167
- def valid?
168
- return true
169
- end
170
-
171
- # Checks equality by comparing each attribute.
172
- # @param [Object] Object to be compared
173
- def ==(o)
174
- return true if self.equal?(o)
175
- self.class == o.class &&
176
- path == o.path &&
177
- image_name == o.image_name &&
178
- image_id == o.image_id &&
179
- image_description == o.image_description &&
180
- image_width == o.image_width &&
181
- image_height == o.image_height &&
182
- x_offset == o.x_offset &&
183
- y_offset == o.y_offset &&
184
- image_data_embed_id == o.image_data_embed_id &&
185
- image_data_content_type == o.image_data_content_type &&
186
- image_internal_file_name == o.image_internal_file_name &&
187
- image_contents_url == o.image_contents_url &&
188
- inline_with_text == o.inline_with_text
189
- end
190
-
191
- # @see the `==` method
192
- # @param [Object] Object to be compared
193
- def eql?(o)
194
- self == o
195
- end
196
-
197
- # Calculates hash code according to all attributes.
198
- # @return [Fixnum] Hash code
199
- def hash
200
- [path, image_name, image_id, image_description, image_width, image_height, x_offset, y_offset, image_data_embed_id, image_data_content_type, image_internal_file_name, image_contents_url, inline_with_text].hash
201
- end
202
-
203
- # Builds the object from hash
204
- # @param [Hash] attributes Model attributes in the form of hash
205
- # @return [Object] Returns the model itself
206
- def build_from_hash(attributes)
207
- return nil unless attributes.is_a?(Hash)
208
- self.class.swagger_types.each_pair do |key, type|
209
- if type =~ /\AArray<(.*)>/i
210
- # check to ensure the input is an array given that the the attribute
211
- # is documented as an array but the input is not
212
- if attributes[self.class.attribute_map[key]].is_a?(Array)
213
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
214
- end
215
- elsif !attributes[self.class.attribute_map[key]].nil?
216
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
217
- end # or else data not found in attributes(hash), not an issue as the data can be optional
218
- end
219
-
220
- self
221
- end
222
-
223
- # Deserializes the data based on type
224
- # @param string type Data type
225
- # @param string value Value to be deserialized
226
- # @return [Object] Deserialized data
227
- def _deserialize(type, value)
228
- case type.to_sym
229
- when :DateTime
230
- DateTime.parse(value)
231
- when :Date
232
- Date.parse(value)
233
- when :String
234
- value.to_s
235
- when :Integer
236
- value.to_i
237
- when :Float
238
- value.to_f
239
- when :BOOLEAN
240
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
241
- true
242
- else
243
- false
244
- end
245
- when :Object
246
- # generic object (usually a Hash), return directly
247
- value
248
- when /\AArray<(?<inner_type>.+)>\z/
249
- inner_type = Regexp.last_match[:inner_type]
250
- value.map { |v| _deserialize(inner_type, v) }
251
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
252
- k_type = Regexp.last_match[:k_type]
253
- v_type = Regexp.last_match[:v_type]
254
- {}.tap do |hash|
255
- value.each do |k, v|
256
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
257
- end
258
- end
259
- else # model
260
- temp_model = CloudmersiveConvertApiClient.const_get(type).new
261
- temp_model.build_from_hash(value)
262
- end
263
- end
264
-
265
- # Returns the string representation of the object
266
- # @return [String] String presentation of the object
267
- def to_s
268
- to_hash.to_s
269
- end
270
-
271
- # to_body is an alias to to_hash (backward compatibility)
272
- # @return [Hash] Returns the object in the form of hash
273
- def to_body
274
- to_hash
275
- end
276
-
277
- # Returns the object in the form of hash
278
- # @return [Hash] Returns the object in the form of hash
279
- def to_hash
280
- hash = {}
281
- self.class.attribute_map.each_pair do |attr, param|
282
- value = self.send(attr)
283
- next if value.nil?
284
- hash[param] = _to_hash(value)
285
- end
286
- hash
287
- end
288
-
289
- # Outputs non-array value in the form of hash
290
- # For object, use to_hash. Otherwise, just return the value
291
- # @param [Object] value Any valid value
292
- # @return [Hash] Returns the value in the form of hash
293
- def _to_hash(value)
294
- if value.is_a?(Array)
295
- value.compact.map{ |v| _to_hash(v) }
296
- elsif value.is_a?(Hash)
297
- {}.tap do |hash|
298
- value.each { |k, v| hash[k] = _to_hash(v) }
299
- end
300
- elsif value.respond_to? :to_hash
301
- value.to_hash
302
- else
303
- value
304
- end
305
- end
306
-
307
- end
308
-
309
- end