cloudmersive-convert-api-client 1.7.5 → 2.0.2

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