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,201 +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 Get-Worksheets command
17
- class GetXlsxStylesResponse
18
- # True if successful, false otherwise
19
- attr_accessor :successful
20
-
21
- # Cell styles
22
- attr_accessor :cell_styles
23
-
24
-
25
- # Attribute mapping from ruby-style variable name to JSON key.
26
- def self.attribute_map
27
- {
28
- :'successful' => :'Successful',
29
- :'cell_styles' => :'CellStyles'
30
- }
31
- end
32
-
33
- # Attribute type mapping.
34
- def self.swagger_types
35
- {
36
- :'successful' => :'BOOLEAN',
37
- :'cell_styles' => :'Array<DocxCellStyle>'
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?(:'CellStyles')
54
- if (value = attributes[:'CellStyles']).is_a?(Array)
55
- self.cell_styles = value
56
- end
57
- end
58
-
59
- end
60
-
61
- # Show invalid properties with the reasons. Usually used together with valid?
62
- # @return Array for valid properties with the reasons
63
- def list_invalid_properties
64
- invalid_properties = Array.new
65
- return invalid_properties
66
- end
67
-
68
- # Check to see if the all the properties in the model are valid
69
- # @return true if the model is valid
70
- def valid?
71
- return true
72
- end
73
-
74
- # Checks equality by comparing each attribute.
75
- # @param [Object] Object to be compared
76
- def ==(o)
77
- return true if self.equal?(o)
78
- self.class == o.class &&
79
- successful == o.successful &&
80
- cell_styles == o.cell_styles
81
- end
82
-
83
- # @see the `==` method
84
- # @param [Object] Object to be compared
85
- def eql?(o)
86
- self == o
87
- end
88
-
89
- # Calculates hash code according to all attributes.
90
- # @return [Fixnum] Hash code
91
- def hash
92
- [successful, cell_styles].hash
93
- end
94
-
95
- # Builds the object from hash
96
- # @param [Hash] attributes Model attributes in the form of hash
97
- # @return [Object] Returns the model itself
98
- def build_from_hash(attributes)
99
- return nil unless attributes.is_a?(Hash)
100
- self.class.swagger_types.each_pair do |key, type|
101
- if type =~ /\AArray<(.*)>/i
102
- # check to ensure the input is an array given that the the attribute
103
- # is documented as an array but the input is not
104
- if attributes[self.class.attribute_map[key]].is_a?(Array)
105
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
106
- end
107
- elsif !attributes[self.class.attribute_map[key]].nil?
108
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
109
- end # or else data not found in attributes(hash), not an issue as the data can be optional
110
- end
111
-
112
- self
113
- end
114
-
115
- # Deserializes the data based on type
116
- # @param string type Data type
117
- # @param string value Value to be deserialized
118
- # @return [Object] Deserialized data
119
- def _deserialize(type, value)
120
- case type.to_sym
121
- when :DateTime
122
- DateTime.parse(value)
123
- when :Date
124
- Date.parse(value)
125
- when :String
126
- value.to_s
127
- when :Integer
128
- value.to_i
129
- when :Float
130
- value.to_f
131
- when :BOOLEAN
132
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
133
- true
134
- else
135
- false
136
- end
137
- when :Object
138
- # generic object (usually a Hash), return directly
139
- value
140
- when /\AArray<(?<inner_type>.+)>\z/
141
- inner_type = Regexp.last_match[:inner_type]
142
- value.map { |v| _deserialize(inner_type, v) }
143
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
144
- k_type = Regexp.last_match[:k_type]
145
- v_type = Regexp.last_match[:v_type]
146
- {}.tap do |hash|
147
- value.each do |k, v|
148
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
149
- end
150
- end
151
- else # model
152
- temp_model = CloudmersiveConvertApiClient.const_get(type).new
153
- temp_model.build_from_hash(value)
154
- end
155
- end
156
-
157
- # Returns the string representation of the object
158
- # @return [String] String presentation of the object
159
- def to_s
160
- to_hash.to_s
161
- end
162
-
163
- # to_body is an alias to to_hash (backward compatibility)
164
- # @return [Hash] Returns the object in the form of hash
165
- def to_body
166
- to_hash
167
- end
168
-
169
- # Returns the object in the form of hash
170
- # @return [Hash] Returns the object in the form of hash
171
- def to_hash
172
- hash = {}
173
- self.class.attribute_map.each_pair do |attr, param|
174
- value = self.send(attr)
175
- next if value.nil?
176
- hash[param] = _to_hash(value)
177
- end
178
- hash
179
- end
180
-
181
- # Outputs non-array value in the form of hash
182
- # For object, use to_hash. Otherwise, just return the value
183
- # @param [Object] value Any valid value
184
- # @return [Hash] Returns the value in the form of hash
185
- def _to_hash(value)
186
- if value.is_a?(Array)
187
- value.compact.map{ |v| _to_hash(v) }
188
- elsif value.is_a?(Hash)
189
- {}.tap do |hash|
190
- value.each { |k, v| hash[k] = _to_hash(v) }
191
- end
192
- elsif value.respond_to? :to_hash
193
- value.to_hash
194
- else
195
- value
196
- end
197
- end
198
-
199
- end
200
-
201
- end
@@ -1,215 +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 Get Worksheets request
17
- class GetXlsxWorksheetsRequest
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
-
25
- # Attribute mapping from ruby-style variable name to JSON key.
26
- def self.attribute_map
27
- {
28
- :'input_file_bytes' => :'InputFileBytes',
29
- :'input_file_url' => :'InputFileUrl'
30
- }
31
- end
32
-
33
- # Attribute type mapping.
34
- def self.swagger_types
35
- {
36
- :'input_file_bytes' => :'String',
37
- :'input_file_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?(:'InputFileBytes')
50
- self.input_file_bytes = attributes[:'InputFileBytes']
51
- end
52
-
53
- if attributes.has_key?(:'InputFileUrl')
54
- self.input_file_url = attributes[:'InputFileUrl']
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
- 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}=)?$/)
64
- 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}=)?$/.")
65
- end
66
-
67
- return invalid_properties
68
- end
69
-
70
- # Check to see if the all the properties in the model are valid
71
- # @return true if the model is valid
72
- def valid?
73
- 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}=)?$/)
74
- return true
75
- end
76
-
77
- # Custom attribute writer method with validation
78
- # @param [Object] input_file_bytes Value to be assigned
79
- def input_file_bytes=(input_file_bytes)
80
-
81
- 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}=)?$/)
82
- 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}=)?$/."
83
- end
84
-
85
- @input_file_bytes = input_file_bytes
86
- end
87
-
88
- # Checks equality by comparing each attribute.
89
- # @param [Object] Object to be compared
90
- def ==(o)
91
- return true if self.equal?(o)
92
- self.class == o.class &&
93
- input_file_bytes == o.input_file_bytes &&
94
- input_file_url == o.input_file_url
95
- end
96
-
97
- # @see the `==` method
98
- # @param [Object] Object to be compared
99
- def eql?(o)
100
- self == o
101
- end
102
-
103
- # Calculates hash code according to all attributes.
104
- # @return [Fixnum] Hash code
105
- def hash
106
- [input_file_bytes, input_file_url].hash
107
- end
108
-
109
- # Builds the object from hash
110
- # @param [Hash] attributes Model attributes in the form of hash
111
- # @return [Object] Returns the model itself
112
- def build_from_hash(attributes)
113
- return nil unless attributes.is_a?(Hash)
114
- self.class.swagger_types.each_pair do |key, type|
115
- if type =~ /\AArray<(.*)>/i
116
- # check to ensure the input is an array given that the the attribute
117
- # is documented as an array but the input is not
118
- if attributes[self.class.attribute_map[key]].is_a?(Array)
119
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
120
- end
121
- elsif !attributes[self.class.attribute_map[key]].nil?
122
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
123
- end # or else data not found in attributes(hash), not an issue as the data can be optional
124
- end
125
-
126
- self
127
- end
128
-
129
- # Deserializes the data based on type
130
- # @param string type Data type
131
- # @param string value Value to be deserialized
132
- # @return [Object] Deserialized data
133
- def _deserialize(type, value)
134
- case type.to_sym
135
- when :DateTime
136
- DateTime.parse(value)
137
- when :Date
138
- Date.parse(value)
139
- when :String
140
- value.to_s
141
- when :Integer
142
- value.to_i
143
- when :Float
144
- value.to_f
145
- when :BOOLEAN
146
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
147
- true
148
- else
149
- false
150
- end
151
- when :Object
152
- # generic object (usually a Hash), return directly
153
- value
154
- when /\AArray<(?<inner_type>.+)>\z/
155
- inner_type = Regexp.last_match[:inner_type]
156
- value.map { |v| _deserialize(inner_type, v) }
157
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
158
- k_type = Regexp.last_match[:k_type]
159
- v_type = Regexp.last_match[:v_type]
160
- {}.tap do |hash|
161
- value.each do |k, v|
162
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
163
- end
164
- end
165
- else # model
166
- temp_model = CloudmersiveConvertApiClient.const_get(type).new
167
- temp_model.build_from_hash(value)
168
- end
169
- end
170
-
171
- # Returns the string representation of the object
172
- # @return [String] String presentation of the object
173
- def to_s
174
- to_hash.to_s
175
- end
176
-
177
- # to_body is an alias to to_hash (backward compatibility)
178
- # @return [Hash] Returns the object in the form of hash
179
- def to_body
180
- to_hash
181
- end
182
-
183
- # Returns the object in the form of hash
184
- # @return [Hash] Returns the object in the form of hash
185
- def to_hash
186
- hash = {}
187
- self.class.attribute_map.each_pair do |attr, param|
188
- value = self.send(attr)
189
- next if value.nil?
190
- hash[param] = _to_hash(value)
191
- end
192
- hash
193
- end
194
-
195
- # Outputs non-array value in the form of hash
196
- # For object, use to_hash. Otherwise, just return the value
197
- # @param [Object] value Any valid value
198
- # @return [Hash] Returns the value in the form of hash
199
- def _to_hash(value)
200
- if value.is_a?(Array)
201
- value.compact.map{ |v| _to_hash(v) }
202
- elsif value.is_a?(Hash)
203
- {}.tap do |hash|
204
- value.each { |k, v| hash[k] = _to_hash(v) }
205
- end
206
- elsif value.respond_to? :to_hash
207
- value.to_hash
208
- else
209
- value
210
- end
211
- end
212
-
213
- end
214
-
215
- end
@@ -1,201 +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 Get-Worksheets command
17
- class GetXlsxWorksheetsResponse
18
- # True if successful, false otherwise
19
- attr_accessor :successful
20
-
21
- # Worksheets in the Excel XLSX spreadsheet
22
- attr_accessor :worksheets
23
-
24
-
25
- # Attribute mapping from ruby-style variable name to JSON key.
26
- def self.attribute_map
27
- {
28
- :'successful' => :'Successful',
29
- :'worksheets' => :'Worksheets'
30
- }
31
- end
32
-
33
- # Attribute type mapping.
34
- def self.swagger_types
35
- {
36
- :'successful' => :'BOOLEAN',
37
- :'worksheets' => :'Array<XlsxWorksheet>'
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?(:'Worksheets')
54
- if (value = attributes[:'Worksheets']).is_a?(Array)
55
- self.worksheets = value
56
- end
57
- end
58
-
59
- end
60
-
61
- # Show invalid properties with the reasons. Usually used together with valid?
62
- # @return Array for valid properties with the reasons
63
- def list_invalid_properties
64
- invalid_properties = Array.new
65
- return invalid_properties
66
- end
67
-
68
- # Check to see if the all the properties in the model are valid
69
- # @return true if the model is valid
70
- def valid?
71
- return true
72
- end
73
-
74
- # Checks equality by comparing each attribute.
75
- # @param [Object] Object to be compared
76
- def ==(o)
77
- return true if self.equal?(o)
78
- self.class == o.class &&
79
- successful == o.successful &&
80
- worksheets == o.worksheets
81
- end
82
-
83
- # @see the `==` method
84
- # @param [Object] Object to be compared
85
- def eql?(o)
86
- self == o
87
- end
88
-
89
- # Calculates hash code according to all attributes.
90
- # @return [Fixnum] Hash code
91
- def hash
92
- [successful, worksheets].hash
93
- end
94
-
95
- # Builds the object from hash
96
- # @param [Hash] attributes Model attributes in the form of hash
97
- # @return [Object] Returns the model itself
98
- def build_from_hash(attributes)
99
- return nil unless attributes.is_a?(Hash)
100
- self.class.swagger_types.each_pair do |key, type|
101
- if type =~ /\AArray<(.*)>/i
102
- # check to ensure the input is an array given that the the attribute
103
- # is documented as an array but the input is not
104
- if attributes[self.class.attribute_map[key]].is_a?(Array)
105
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
106
- end
107
- elsif !attributes[self.class.attribute_map[key]].nil?
108
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
109
- end # or else data not found in attributes(hash), not an issue as the data can be optional
110
- end
111
-
112
- self
113
- end
114
-
115
- # Deserializes the data based on type
116
- # @param string type Data type
117
- # @param string value Value to be deserialized
118
- # @return [Object] Deserialized data
119
- def _deserialize(type, value)
120
- case type.to_sym
121
- when :DateTime
122
- DateTime.parse(value)
123
- when :Date
124
- Date.parse(value)
125
- when :String
126
- value.to_s
127
- when :Integer
128
- value.to_i
129
- when :Float
130
- value.to_f
131
- when :BOOLEAN
132
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
133
- true
134
- else
135
- false
136
- end
137
- when :Object
138
- # generic object (usually a Hash), return directly
139
- value
140
- when /\AArray<(?<inner_type>.+)>\z/
141
- inner_type = Regexp.last_match[:inner_type]
142
- value.map { |v| _deserialize(inner_type, v) }
143
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
144
- k_type = Regexp.last_match[:k_type]
145
- v_type = Regexp.last_match[:v_type]
146
- {}.tap do |hash|
147
- value.each do |k, v|
148
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
149
- end
150
- end
151
- else # model
152
- temp_model = CloudmersiveConvertApiClient.const_get(type).new
153
- temp_model.build_from_hash(value)
154
- end
155
- end
156
-
157
- # Returns the string representation of the object
158
- # @return [String] String presentation of the object
159
- def to_s
160
- to_hash.to_s
161
- end
162
-
163
- # to_body is an alias to to_hash (backward compatibility)
164
- # @return [Hash] Returns the object in the form of hash
165
- def to_body
166
- to_hash
167
- end
168
-
169
- # Returns the object in the form of hash
170
- # @return [Hash] Returns the object in the form of hash
171
- def to_hash
172
- hash = {}
173
- self.class.attribute_map.each_pair do |attr, param|
174
- value = self.send(attr)
175
- next if value.nil?
176
- hash[param] = _to_hash(value)
177
- end
178
- hash
179
- end
180
-
181
- # Outputs non-array value in the form of hash
182
- # For object, use to_hash. Otherwise, just return the value
183
- # @param [Object] value Any valid value
184
- # @return [Hash] Returns the value in the form of hash
185
- def _to_hash(value)
186
- if value.is_a?(Array)
187
- value.compact.map{ |v| _to_hash(v) }
188
- elsif value.is_a?(Hash)
189
- {}.tap do |hash|
190
- value.each { |k, v| hash[k] = _to_hash(v) }
191
- end
192
- elsif value.respond_to? :to_hash
193
- value.to_hash
194
- else
195
- value
196
- end
197
- end
198
-
199
- end
200
-
201
- end