cloudmersive-convert-api-client 1.7.8 → 2.0.5

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