cloudmersive-convert-api-client 1.7.6 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +3 -664
- data/Gemfile +0 -7
- data/README.md +0 -483
- data/Rakefile +0 -8
- data/cloudmersive-convert-api-client.gemspec +0 -45
- data/docs/AddPdfAnnotationRequest.md +0 -9
- data/docs/AlternateFileFormatCandidate.md +0 -10
- data/docs/AutodetectDocumentValidationResult.md +0 -12
- data/docs/AutodetectGetInfoResult.md +0 -14
- data/docs/AutodetectToPngResult.md +0 -9
- data/docs/Base64DecodeRequest.md +0 -8
- data/docs/Base64DecodeResponse.md +0 -9
- data/docs/Base64DetectRequest.md +0 -8
- data/docs/Base64DetectResponse.md +0 -9
- data/docs/Base64EncodeRequest.md +0 -8
- data/docs/Base64EncodeResponse.md +0 -9
- data/docs/ChangeLineEndingResponse.md +0 -9
- data/docs/ClearXlsxCellRequest.md +0 -12
- data/docs/ClearXlsxCellResponse.md +0 -9
- data/docs/CompareDocumentApi.md +0 -66
- data/docs/ConvertDataApi.md +0 -902
- data/docs/ConvertDocumentApi.md +0 -1754
- data/docs/ConvertImageApi.md +0 -243
- data/docs/ConvertTemplateApi.md +0 -122
- data/docs/ConvertWebApi.md +0 -448
- data/docs/ConvertedPngPage.md +0 -9
- data/docs/CreateBlankDocxRequest.md +0 -8
- data/docs/CreateBlankDocxResponse.md +0 -9
- data/docs/CreateBlankSpreadsheetRequest.md +0 -8
- data/docs/CreateBlankSpreadsheetResponse.md +0 -9
- data/docs/CreateSpreadsheetFromDataRequest.md +0 -9
- data/docs/CreateSpreadsheetFromDataResponse.md +0 -9
- data/docs/CreateZipArchiveRequest.md +0 -9
- data/docs/CsvCollection.md +0 -10
- data/docs/CsvFileResult.md +0 -9
- data/docs/DeleteDocxTableRowRangeRequest.md +0 -12
- data/docs/DeleteDocxTableRowRangeResponse.md +0 -9
- data/docs/DeleteDocxTableRowRequest.md +0 -11
- data/docs/DeleteDocxTableRowResponse.md +0 -9
- data/docs/DetectLineEndingsResponse.md +0 -11
- data/docs/DisableSharedWorkbookRequest.md +0 -9
- data/docs/DisableSharedWorkbookResponse.md +0 -9
- data/docs/DocumentValidationError.md +0 -11
- data/docs/DocumentValidationResult.md +0 -12
- data/docs/DocxBody.md +0 -10
- data/docs/DocxCellStyle.md +0 -11
- data/docs/DocxComment.md +0 -16
- data/docs/DocxFooter.md +0 -10
- data/docs/DocxHeader.md +0 -10
- data/docs/DocxImage.md +0 -20
- data/docs/DocxInsertCommentOnParagraphRequest.md +0 -11
- data/docs/DocxInsertImageRequest.md +0 -16
- data/docs/DocxInsertImageResponse.md +0 -9
- data/docs/DocxPage.md +0 -9
- data/docs/DocxParagraph.md +0 -11
- data/docs/DocxRemoveObjectRequest.md +0 -10
- data/docs/DocxRemoveObjectResponse.md +0 -9
- data/docs/DocxRun.md +0 -15
- data/docs/DocxSection.md +0 -9
- data/docs/DocxSetFooterAddPageNumberRequest.md +0 -10
- data/docs/DocxSetFooterRequest.md +0 -10
- data/docs/DocxSetFooterResponse.md +0 -9
- data/docs/DocxSetHeaderRequest.md +0 -10
- data/docs/DocxSetHeaderResponse.md +0 -9
- data/docs/DocxStyle.md +0 -14
- data/docs/DocxTable.md +0 -46
- data/docs/DocxTableCell.md +0 -15
- data/docs/DocxTableRow.md +0 -10
- data/docs/DocxTemplateApplicationRequest.md +0 -8
- data/docs/DocxTemplateOperation.md +0 -10
- data/docs/DocxText.md +0 -10
- data/docs/DocxTopLevelComment.md +0 -14
- data/docs/EditDocumentApi.md +0 -2758
- data/docs/EditPdfApi.md +0 -1083
- data/docs/EditTextApi.md +0 -726
- data/docs/EnableSharedWorkbookRequest.md +0 -9
- data/docs/EnableSharedWorkbookResponse.md +0 -9
- data/docs/ExifValue.md +0 -10
- data/docs/FindDocxParagraphRequest.md +0 -11
- data/docs/FindDocxParagraphResponse.md +0 -10
- data/docs/FindRegexMatch.md +0 -12
- data/docs/FindStringMatch.md +0 -10
- data/docs/FindStringRegexRequest.md +0 -10
- data/docs/FindStringRegexResponse.md +0 -10
- data/docs/FindStringSimpleRequest.md +0 -9
- data/docs/FindStringSimpleResponse.md +0 -10
- data/docs/FinishEditingRequest.md +0 -8
- data/docs/GetDocxBodyRequest.md +0 -9
- data/docs/GetDocxBodyResponse.md +0 -9
- data/docs/GetDocxCommentsHierarchicalResponse.md +0 -10
- data/docs/GetDocxCommentsResponse.md +0 -10
- data/docs/GetDocxGetCommentsHierarchicalRequest.md +0 -9
- data/docs/GetDocxGetCommentsRequest.md +0 -9
- data/docs/GetDocxHeadersAndFootersRequest.md +0 -9
- data/docs/GetDocxHeadersAndFootersResponse.md +0 -10
- data/docs/GetDocxImagesRequest.md +0 -9
- data/docs/GetDocxImagesResponse.md +0 -9
- data/docs/GetDocxPagesRequest.md +0 -10
- data/docs/GetDocxPagesResponse.md +0 -10
- data/docs/GetDocxSectionsRequest.md +0 -9
- data/docs/GetDocxSectionsResponse.md +0 -9
- data/docs/GetDocxStylesRequest.md +0 -9
- data/docs/GetDocxStylesResponse.md +0 -9
- data/docs/GetDocxTableByIndexRequest.md +0 -10
- data/docs/GetDocxTableByIndexResponse.md +0 -9
- data/docs/GetDocxTableRowRequest.md +0 -11
- data/docs/GetDocxTableRowResponse.md +0 -9
- data/docs/GetDocxTablesRequest.md +0 -9
- data/docs/GetDocxTablesResponse.md +0 -9
- data/docs/GetImageInfoResult.md +0 -24
- data/docs/GetPdfAnnotationsResult.md +0 -9
- data/docs/GetXlsxCellByIdentifierRequest.md +0 -11
- data/docs/GetXlsxCellByIdentifierResponse.md +0 -9
- data/docs/GetXlsxCellRequest.md +0 -12
- data/docs/GetXlsxCellResponse.md +0 -9
- data/docs/GetXlsxColumnsRequest.md +0 -10
- data/docs/GetXlsxColumnsResponse.md +0 -9
- data/docs/GetXlsxImagesRequest.md +0 -10
- data/docs/GetXlsxImagesResponse.md +0 -9
- data/docs/GetXlsxRowsAndCellsRequest.md +0 -10
- data/docs/GetXlsxRowsAndCellsResponse.md +0 -9
- data/docs/GetXlsxStylesRequest.md +0 -9
- data/docs/GetXlsxStylesResponse.md +0 -9
- data/docs/GetXlsxWorksheetsRequest.md +0 -9
- data/docs/GetXlsxWorksheetsResponse.md +0 -9
- data/docs/HtmlMdResult.md +0 -9
- data/docs/HtmlTemplateApplicationRequest.md +0 -10
- data/docs/HtmlTemplateApplicationResponse.md +0 -9
- data/docs/HtmlTemplateOperation.md +0 -10
- data/docs/HtmlToOfficeRequest.md +0 -8
- data/docs/HtmlToPdfRequest.md +0 -9
- data/docs/HtmlToPngRequest.md +0 -11
- data/docs/HtmlToTextRequest.md +0 -8
- data/docs/HtmlToTextResponse.md +0 -9
- data/docs/InsertDocxCommentOnParagraphResponse.md +0 -9
- data/docs/InsertDocxInsertParagraphRequest.md +0 -12
- data/docs/InsertDocxInsertParagraphResponse.md +0 -9
- data/docs/InsertDocxTableRowRequest.md +0 -12
- data/docs/InsertDocxTableRowResponse.md +0 -9
- data/docs/InsertDocxTablesRequest.md +0 -12
- data/docs/InsertDocxTablesResponse.md +0 -9
- data/docs/InsertXlsxWorksheetRequest.md +0 -10
- data/docs/InsertXlsxWorksheetResponse.md +0 -9
- data/docs/MergeDocumentApi.md +0 -812
- data/docs/MultipageImageFormatConversionResult.md +0 -10
- data/docs/PageConversionResult.md +0 -9
- data/docs/PdfAnnotation.md +0 -19
- data/docs/PdfDocument.md +0 -10
- data/docs/PdfFormField.md +0 -11
- data/docs/PdfFormFields.md +0 -9
- data/docs/PdfMetadata.md +0 -16
- data/docs/PdfPageText.md +0 -9
- data/docs/PdfTextByPageResult.md +0 -9
- data/docs/PdfToPngResult.md +0 -9
- data/docs/PresentationResult.md +0 -10
- data/docs/RemoveDocxHeadersAndFootersRequest.md +0 -11
- data/docs/RemoveDocxHeadersAndFootersResponse.md +0 -9
- data/docs/RemoveDocxPagesRequest.md +0 -11
- data/docs/RemoveHtmlFromTextRequest.md +0 -8
- data/docs/RemoveHtmlFromTextResponse.md +0 -9
- data/docs/RemovePptxSlidesRequest.md +0 -11
- data/docs/RemoveWhitespaceFromTextRequest.md +0 -8
- data/docs/RemoveWhitespaceFromTextResponse.md +0 -9
- data/docs/RemoveXlsxWorksheetRequest.md +0 -10
- data/docs/ReplaceDocxParagraphRequest.md +0 -12
- data/docs/ReplaceDocxParagraphResponse.md +0 -9
- data/docs/ReplaceStringRegexRequest.md +0 -10
- data/docs/ReplaceStringRegexResponse.md +0 -9
- data/docs/ReplaceStringRequest.md +0 -12
- data/docs/ReplaceStringSimpleRequest.md +0 -10
- data/docs/ReplaceStringSimpleResponse.md +0 -9
- data/docs/ScreenshotRequest.md +0 -11
- data/docs/SetFormFieldValue.md +0 -11
- data/docs/SetPdfFormFieldsRequest.md +0 -9
- data/docs/SetPdfMetadataRequest.md +0 -9
- data/docs/SetXlsxCellByIdentifierRequest.md +0 -12
- data/docs/SetXlsxCellByIdentifierResponse.md +0 -9
- data/docs/SetXlsxCellRequest.md +0 -13
- data/docs/SetXlsxCellResponse.md +0 -9
- data/docs/SplitDocumentApi.md +0 -361
- data/docs/SplitDocumentResult.md +0 -10
- data/docs/SplitDocxDocumentResult.md +0 -9
- data/docs/SplitPdfResult.md +0 -9
- data/docs/SplitPptxPresentationResult.md +0 -9
- data/docs/SplitTextDocumentByLinesResult.md +0 -10
- data/docs/SplitTextDocumentByStringResult.md +0 -10
- data/docs/SplitXlsxWorksheetResult.md +0 -9
- data/docs/TextConversionResult.md +0 -9
- data/docs/TextDocumentElement.md +0 -9
- data/docs/TextDocumentLine.md +0 -9
- data/docs/TextEncodingDetectResponse.md +0 -9
- data/docs/UpdateDocxTableCellRequest.md +0 -13
- data/docs/UpdateDocxTableCellResponse.md +0 -9
- data/docs/UpdateDocxTableRowRequest.md +0 -12
- data/docs/UpdateDocxTableRowResponse.md +0 -9
- data/docs/UrlToPdfRequest.md +0 -11
- data/docs/UrlToTextRequest.md +0 -8
- data/docs/UrlToTextResponse.md +0 -9
- data/docs/ValidateDocumentApi.md +0 -723
- data/docs/ViewerResponse.md +0 -9
- data/docs/ViewerToolsApi.md +0 -63
- data/docs/WorksheetResult.md +0 -11
- data/docs/XlsxImage.md +0 -12
- data/docs/XlsxSpreadsheetCell.md +0 -12
- data/docs/XlsxSpreadsheetColumn.md +0 -9
- data/docs/XlsxSpreadsheetRow.md +0 -9
- data/docs/XlsxWorksheet.md +0 -9
- data/docs/XmlAddAttributeWithXPathResult.md +0 -10
- data/docs/XmlAddChildWithXPathResult.md +0 -10
- data/docs/XmlFilterWithXPathResult.md +0 -10
- data/docs/XmlQueryWithXQueryMultiResult.md +0 -10
- data/docs/XmlQueryWithXQueryResult.md +0 -10
- data/docs/XmlRemoveAllChildrenWithXPathResult.md +0 -10
- data/docs/XmlRemoveWithXPathResult.md +0 -11
- data/docs/XmlReplaceWithXPathResult.md +0 -10
- data/docs/XmlSetValueWithXPathResult.md +0 -10
- data/docs/ZipArchiveApi.md +0 -306
- data/docs/ZipDirectory.md +0 -10
- data/docs/ZipEncryptionAdvancedRequest.md +0 -10
- data/docs/ZipExtractResponse.md +0 -10
- data/docs/ZipFile.md +0 -9
- data/git_push.sh +0 -55
- data/lib/cloudmersive-convert-api-client.rb +0 -255
- data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +0 -86
- data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +0 -981
- data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +0 -1805
- data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +0 -277
- data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +0 -137
- data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +0 -464
- data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +0 -2774
- data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +0 -1181
- data/lib/cloudmersive-convert-api-client/api/edit_text_api.rb +0 -748
- data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +0 -923
- data/lib/cloudmersive-convert-api-client/api/split_document_api.rb +0 -381
- data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +0 -751
- data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +0 -79
- data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +0 -335
- data/lib/cloudmersive-convert-api-client/api_client.rb +0 -389
- data/lib/cloudmersive-convert-api-client/api_error.rb +0 -38
- data/lib/cloudmersive-convert-api-client/configuration.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/add_pdf_annotation_request.rb +0 -217
- data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/autodetect_document_validation_result.rb +0 -230
- data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +0 -251
- data/lib/cloudmersive-convert-api-client/models/autodetect_to_png_result.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/base64_decode_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/base64_decode_response.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/base64_detect_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/base64_detect_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/base64_encode_request.rb +0 -205
- data/lib/cloudmersive-convert-api-client/models/base64_encode_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/change_line_ending_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/create_blank_docx_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/create_blank_docx_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_request.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/create_zip_archive_request.rb +0 -203
- data/lib/cloudmersive-convert-api-client/models/csv_collection.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/csv_file_result.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/detect_line_endings_response.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +0 -231
- data/lib/cloudmersive-convert-api-client/models/docx_body.rb +0 -213
- data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/docx_comment.rb +0 -269
- data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +0 -213
- data/lib/cloudmersive-convert-api-client/models/docx_header.rb +0 -213
- data/lib/cloudmersive-convert-api-client/models/docx_image.rb +0 -309
- data/lib/cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +0 -301
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/docx_page.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +0 -221
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/docx_run.rb +0 -261
- data/lib/cloudmersive-convert-api-client/models/docx_section.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/docx_style.rb +0 -249
- data/lib/cloudmersive-convert-api-client/models/docx_table.rb +0 -571
- data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +0 -261
- data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/docx_template_application_request.rb +0 -191
- data/lib/cloudmersive-convert-api-client/models/docx_template_operation.rb +0 -242
- data/lib/cloudmersive-convert-api-client/models/docx_text.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/docx_top_level_comment.rb +0 -251
- data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/exif_value.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_response.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/find_regex_match.rb +0 -231
- data/lib/cloudmersive-convert-api-client/models/find_string_match.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/find_string_regex_request.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/find_string_regex_response.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/find_string_simple_request.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/find_string_simple_response.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/get_docx_comments_response.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_docx_pages_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/get_docx_pages_response.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +0 -350
- data/lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +0 -242
- data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/html_to_png_request.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/html_to_text_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/html_to_text_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/insert_docx_comment_on_paragraph_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/multipage_image_format_conversion_result.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/page_conversion_result.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/pdf_annotation.rb +0 -299
- data/lib/cloudmersive-convert-api-client/models/pdf_document.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/pdf_form_field.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/pdf_form_fields.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/pdf_metadata.rb +0 -269
- data/lib/cloudmersive-convert-api-client/models/pdf_page_text.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/pdf_text_by_page_result.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/presentation_result.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/remove_docx_pages_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/remove_pptx_slides_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/remove_xlsx_worksheet_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/replace_string_regex_request.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/replace_string_regex_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/replace_string_simple_request.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/replace_string_simple_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/set_form_field_value.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/set_pdf_form_fields_request.rb +0 -217
- data/lib/cloudmersive-convert-api-client/models/set_pdf_metadata_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_request.rb +0 -255
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/split_document_result.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/split_docx_document_result.rb +0 -200
- data/lib/cloudmersive-convert-api-client/models/split_pdf_result.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/split_pptx_presentation_result.rb +0 -200
- data/lib/cloudmersive-convert-api-client/models/split_text_document_by_lines_result.rb +0 -210
- data/lib/cloudmersive-convert-api-client/models/split_text_document_by_string_result.rb +0 -210
- data/lib/cloudmersive-convert-api-client/models/split_xlsx_worksheet_result.rb +0 -200
- data/lib/cloudmersive-convert-api-client/models/text_conversion_result.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/text_document_element.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/text_document_line.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/text_encoding_detect_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_request.rb +0 -255
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/url_to_pdf_request.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/url_to_text_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/url_to_text_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +0 -197
- data/lib/cloudmersive-convert-api-client/models/worksheet_result.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +0 -229
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +0 -228
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/xml_add_attribute_with_x_path_result.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/xml_add_child_with_x_path_result.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/xml_filter_with_x_path_result.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_multi_result.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_result.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/xml_remove_all_children_with_x_path_result.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/xml_remove_with_x_path_result.rb +0 -221
- data/lib/cloudmersive-convert-api-client/models/xml_replace_with_x_path_result.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/zip_directory.rb +0 -213
- data/lib/cloudmersive-convert-api-client/models/zip_encryption_advanced_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/zip_extract_response.rb +0 -213
- data/lib/cloudmersive-convert-api-client/models/zip_file.rb +0 -215
- data/lib/cloudmersive-convert-api-client/version.rb +0 -15
- data/spec/api/compare_document_api_spec.rb +0 -48
- data/spec/api/convert_data_api_spec.rb +0 -240
- data/spec/api/convert_document_api_spec.rb +0 -421
- data/spec/api/convert_image_api_spec.rb +0 -88
- data/spec/api/convert_template_api_spec.rb +0 -60
- data/spec/api/convert_web_api_spec.rb +0 -131
- data/spec/api/edit_document_api_spec.rb +0 -635
- data/spec/api/edit_pdf_api_spec.rb +0 -282
- data/spec/api/edit_text_api_spec.rb +0 -192
- data/spec/api/merge_document_api_spec.rb +0 -239
- data/spec/api/split_document_api_spec.rb +0 -113
- data/spec/api/validate_document_api_spec.rb +0 -191
- data/spec/api/viewer_tools_api_spec.rb +0 -47
- data/spec/api/zip_archive_api_spec.rb +0 -105
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/add_pdf_annotation_request_spec.rb +0 -48
- data/spec/models/alternate_file_format_candidate_spec.rb +0 -54
- data/spec/models/autodetect_document_validation_result_spec.rb +0 -66
- data/spec/models/autodetect_get_info_result_spec.rb +0 -78
- data/spec/models/autodetect_to_png_result_spec.rb +0 -48
- data/spec/models/base64_decode_request_spec.rb +0 -42
- data/spec/models/base64_decode_response_spec.rb +0 -48
- data/spec/models/base64_detect_request_spec.rb +0 -42
- data/spec/models/base64_detect_response_spec.rb +0 -48
- data/spec/models/base64_encode_request_spec.rb +0 -42
- data/spec/models/base64_encode_response_spec.rb +0 -48
- data/spec/models/change_line_ending_response_spec.rb +0 -48
- data/spec/models/clear_xlsx_cell_request_spec.rb +0 -66
- data/spec/models/clear_xlsx_cell_response_spec.rb +0 -48
- data/spec/models/converted_png_page_spec.rb +0 -48
- data/spec/models/create_blank_docx_request_spec.rb +0 -42
- data/spec/models/create_blank_docx_response_spec.rb +0 -48
- data/spec/models/create_blank_spreadsheet_request_spec.rb +0 -42
- data/spec/models/create_blank_spreadsheet_response_spec.rb +0 -48
- data/spec/models/create_spreadsheet_from_data_request_spec.rb +0 -48
- data/spec/models/create_spreadsheet_from_data_response_spec.rb +0 -48
- data/spec/models/create_zip_archive_request_spec.rb +0 -48
- data/spec/models/csv_collection_spec.rb +0 -54
- data/spec/models/csv_file_result_spec.rb +0 -48
- data/spec/models/delete_docx_table_row_range_request_spec.rb +0 -66
- data/spec/models/delete_docx_table_row_range_response_spec.rb +0 -48
- data/spec/models/delete_docx_table_row_request_spec.rb +0 -60
- data/spec/models/delete_docx_table_row_response_spec.rb +0 -48
- data/spec/models/detect_line_endings_response_spec.rb +0 -60
- data/spec/models/disable_shared_workbook_request_spec.rb +0 -48
- data/spec/models/disable_shared_workbook_response_spec.rb +0 -48
- data/spec/models/document_validation_error_spec.rb +0 -60
- data/spec/models/document_validation_result_spec.rb +0 -66
- data/spec/models/docx_body_spec.rb +0 -54
- data/spec/models/docx_cell_style_spec.rb +0 -60
- data/spec/models/docx_comment_spec.rb +0 -90
- data/spec/models/docx_footer_spec.rb +0 -54
- data/spec/models/docx_header_spec.rb +0 -54
- data/spec/models/docx_image_spec.rb +0 -114
- data/spec/models/docx_insert_comment_on_paragraph_request_spec.rb +0 -60
- data/spec/models/docx_insert_image_request_spec.rb +0 -90
- data/spec/models/docx_insert_image_response_spec.rb +0 -48
- data/spec/models/docx_page_spec.rb +0 -48
- data/spec/models/docx_paragraph_spec.rb +0 -60
- data/spec/models/docx_remove_object_request_spec.rb +0 -54
- data/spec/models/docx_remove_object_response_spec.rb +0 -48
- data/spec/models/docx_run_spec.rb +0 -84
- data/spec/models/docx_section_spec.rb +0 -48
- data/spec/models/docx_set_footer_add_page_number_request_spec.rb +0 -54
- data/spec/models/docx_set_footer_request_spec.rb +0 -54
- data/spec/models/docx_set_footer_response_spec.rb +0 -48
- data/spec/models/docx_set_header_request_spec.rb +0 -54
- data/spec/models/docx_set_header_response_spec.rb +0 -48
- data/spec/models/docx_style_spec.rb +0 -78
- data/spec/models/docx_table_cell_spec.rb +0 -84
- data/spec/models/docx_table_row_spec.rb +0 -54
- data/spec/models/docx_table_spec.rb +0 -270
- data/spec/models/docx_template_application_request_spec.rb +0 -42
- data/spec/models/docx_template_operation_spec.rb +0 -58
- data/spec/models/docx_text_spec.rb +0 -54
- data/spec/models/docx_top_level_comment_spec.rb +0 -78
- data/spec/models/enable_shared_workbook_request_spec.rb +0 -48
- data/spec/models/enable_shared_workbook_response_spec.rb +0 -48
- data/spec/models/exif_value_spec.rb +0 -54
- data/spec/models/find_docx_paragraph_request_spec.rb +0 -60
- data/spec/models/find_docx_paragraph_response_spec.rb +0 -54
- data/spec/models/find_regex_match_spec.rb +0 -66
- data/spec/models/find_string_match_spec.rb +0 -54
- data/spec/models/find_string_regex_request_spec.rb +0 -54
- data/spec/models/find_string_regex_response_spec.rb +0 -54
- data/spec/models/find_string_simple_request_spec.rb +0 -48
- data/spec/models/find_string_simple_response_spec.rb +0 -54
- data/spec/models/finish_editing_request_spec.rb +0 -42
- data/spec/models/get_docx_body_request_spec.rb +0 -48
- data/spec/models/get_docx_body_response_spec.rb +0 -48
- data/spec/models/get_docx_comments_hierarchical_response_spec.rb +0 -54
- data/spec/models/get_docx_comments_response_spec.rb +0 -54
- data/spec/models/get_docx_get_comments_hierarchical_request_spec.rb +0 -48
- data/spec/models/get_docx_get_comments_request_spec.rb +0 -48
- data/spec/models/get_docx_headers_and_footers_request_spec.rb +0 -48
- data/spec/models/get_docx_headers_and_footers_response_spec.rb +0 -54
- data/spec/models/get_docx_images_request_spec.rb +0 -48
- data/spec/models/get_docx_images_response_spec.rb +0 -48
- data/spec/models/get_docx_pages_request_spec.rb +0 -54
- data/spec/models/get_docx_pages_response_spec.rb +0 -54
- data/spec/models/get_docx_sections_request_spec.rb +0 -48
- data/spec/models/get_docx_sections_response_spec.rb +0 -48
- data/spec/models/get_docx_styles_request_spec.rb +0 -48
- data/spec/models/get_docx_styles_response_spec.rb +0 -48
- data/spec/models/get_docx_table_by_index_request_spec.rb +0 -54
- data/spec/models/get_docx_table_by_index_response_spec.rb +0 -48
- data/spec/models/get_docx_table_row_request_spec.rb +0 -60
- data/spec/models/get_docx_table_row_response_spec.rb +0 -48
- data/spec/models/get_docx_tables_request_spec.rb +0 -48
- data/spec/models/get_docx_tables_response_spec.rb +0 -48
- data/spec/models/get_image_info_result_spec.rb +0 -138
- data/spec/models/get_pdf_annotations_result_spec.rb +0 -48
- data/spec/models/get_xlsx_cell_by_identifier_request_spec.rb +0 -60
- data/spec/models/get_xlsx_cell_by_identifier_response_spec.rb +0 -48
- data/spec/models/get_xlsx_cell_request_spec.rb +0 -66
- data/spec/models/get_xlsx_cell_response_spec.rb +0 -48
- data/spec/models/get_xlsx_columns_request_spec.rb +0 -54
- data/spec/models/get_xlsx_columns_response_spec.rb +0 -48
- data/spec/models/get_xlsx_images_request_spec.rb +0 -54
- data/spec/models/get_xlsx_images_response_spec.rb +0 -48
- data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +0 -54
- data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +0 -48
- data/spec/models/get_xlsx_styles_request_spec.rb +0 -48
- data/spec/models/get_xlsx_styles_response_spec.rb +0 -48
- data/spec/models/get_xlsx_worksheets_request_spec.rb +0 -48
- data/spec/models/get_xlsx_worksheets_response_spec.rb +0 -48
- data/spec/models/html_md_result_spec.rb +0 -48
- data/spec/models/html_template_application_request_spec.rb +0 -54
- data/spec/models/html_template_application_response_spec.rb +0 -48
- data/spec/models/html_template_operation_spec.rb +0 -58
- data/spec/models/html_to_office_request_spec.rb +0 -42
- data/spec/models/html_to_pdf_request_spec.rb +0 -48
- data/spec/models/html_to_png_request_spec.rb +0 -60
- data/spec/models/html_to_text_request_spec.rb +0 -42
- data/spec/models/html_to_text_response_spec.rb +0 -48
- data/spec/models/insert_docx_comment_on_paragraph_response_spec.rb +0 -48
- data/spec/models/insert_docx_insert_paragraph_request_spec.rb +0 -66
- data/spec/models/insert_docx_insert_paragraph_response_spec.rb +0 -48
- data/spec/models/insert_docx_table_row_request_spec.rb +0 -66
- data/spec/models/insert_docx_table_row_response_spec.rb +0 -48
- data/spec/models/insert_docx_tables_request_spec.rb +0 -66
- data/spec/models/insert_docx_tables_response_spec.rb +0 -48
- data/spec/models/insert_xlsx_worksheet_request_spec.rb +0 -54
- data/spec/models/insert_xlsx_worksheet_response_spec.rb +0 -48
- data/spec/models/multipage_image_format_conversion_result_spec.rb +0 -54
- data/spec/models/page_conversion_result_spec.rb +0 -48
- data/spec/models/pdf_annotation_spec.rb +0 -108
- data/spec/models/pdf_document_spec.rb +0 -54
- data/spec/models/pdf_form_field_spec.rb +0 -60
- data/spec/models/pdf_form_fields_spec.rb +0 -48
- data/spec/models/pdf_metadata_spec.rb +0 -90
- data/spec/models/pdf_page_text_spec.rb +0 -48
- data/spec/models/pdf_text_by_page_result_spec.rb +0 -48
- data/spec/models/pdf_to_png_result_spec.rb +0 -48
- data/spec/models/presentation_result_spec.rb +0 -54
- data/spec/models/remove_docx_headers_and_footers_request_spec.rb +0 -60
- data/spec/models/remove_docx_headers_and_footers_response_spec.rb +0 -48
- data/spec/models/remove_docx_pages_request_spec.rb +0 -60
- data/spec/models/remove_html_from_text_request_spec.rb +0 -42
- data/spec/models/remove_html_from_text_response_spec.rb +0 -48
- data/spec/models/remove_pptx_slides_request_spec.rb +0 -60
- data/spec/models/remove_whitespace_from_text_request_spec.rb +0 -42
- data/spec/models/remove_whitespace_from_text_response_spec.rb +0 -48
- data/spec/models/remove_xlsx_worksheet_request_spec.rb +0 -54
- data/spec/models/replace_docx_paragraph_request_spec.rb +0 -66
- data/spec/models/replace_docx_paragraph_response_spec.rb +0 -48
- data/spec/models/replace_string_regex_request_spec.rb +0 -54
- data/spec/models/replace_string_regex_response_spec.rb +0 -48
- data/spec/models/replace_string_request_spec.rb +0 -66
- data/spec/models/replace_string_simple_request_spec.rb +0 -54
- data/spec/models/replace_string_simple_response_spec.rb +0 -48
- data/spec/models/screenshot_request_spec.rb +0 -60
- data/spec/models/set_form_field_value_spec.rb +0 -60
- data/spec/models/set_pdf_form_fields_request_spec.rb +0 -48
- data/spec/models/set_pdf_metadata_request_spec.rb +0 -48
- data/spec/models/set_xlsx_cell_by_identifier_request_spec.rb +0 -66
- data/spec/models/set_xlsx_cell_by_identifier_response_spec.rb +0 -48
- data/spec/models/set_xlsx_cell_request_spec.rb +0 -72
- data/spec/models/set_xlsx_cell_response_spec.rb +0 -48
- data/spec/models/split_document_result_spec.rb +0 -54
- data/spec/models/split_docx_document_result_spec.rb +0 -48
- data/spec/models/split_pdf_result_spec.rb +0 -48
- data/spec/models/split_pptx_presentation_result_spec.rb +0 -48
- data/spec/models/split_text_document_by_lines_result_spec.rb +0 -54
- data/spec/models/split_text_document_by_string_result_spec.rb +0 -54
- data/spec/models/split_xlsx_worksheet_result_spec.rb +0 -48
- data/spec/models/text_conversion_result_spec.rb +0 -48
- data/spec/models/text_document_element_spec.rb +0 -48
- data/spec/models/text_document_line_spec.rb +0 -48
- data/spec/models/text_encoding_detect_response_spec.rb +0 -48
- data/spec/models/update_docx_table_cell_request_spec.rb +0 -72
- data/spec/models/update_docx_table_cell_response_spec.rb +0 -48
- data/spec/models/update_docx_table_row_request_spec.rb +0 -66
- data/spec/models/update_docx_table_row_response_spec.rb +0 -48
- data/spec/models/url_to_pdf_request_spec.rb +0 -60
- data/spec/models/url_to_text_request_spec.rb +0 -42
- data/spec/models/url_to_text_response_spec.rb +0 -48
- data/spec/models/viewer_response_spec.rb +0 -48
- data/spec/models/worksheet_result_spec.rb +0 -60
- data/spec/models/xlsx_image_spec.rb +0 -66
- data/spec/models/xlsx_spreadsheet_cell_spec.rb +0 -66
- data/spec/models/xlsx_spreadsheet_column_spec.rb +0 -48
- data/spec/models/xlsx_spreadsheet_row_spec.rb +0 -48
- data/spec/models/xlsx_worksheet_spec.rb +0 -48
- data/spec/models/xml_add_attribute_with_x_path_result_spec.rb +0 -54
- data/spec/models/xml_add_child_with_x_path_result_spec.rb +0 -54
- data/spec/models/xml_filter_with_x_path_result_spec.rb +0 -54
- data/spec/models/xml_query_with_x_query_multi_result_spec.rb +0 -54
- data/spec/models/xml_query_with_x_query_result_spec.rb +0 -54
- data/spec/models/xml_remove_all_children_with_x_path_result_spec.rb +0 -54
- data/spec/models/xml_remove_with_x_path_result_spec.rb +0 -60
- data/spec/models/xml_replace_with_x_path_result_spec.rb +0 -54
- data/spec/models/xml_set_value_with_x_path_result_spec.rb +0 -54
- data/spec/models/zip_directory_spec.rb +0 -54
- data/spec/models/zip_encryption_advanced_request_spec.rb +0 -54
- data/spec/models/zip_extract_response_spec.rb +0 -54
- data/spec/models/zip_file_spec.rb +0 -48
- data/spec/spec_helper.rb +0 -111
@@ -1,350 +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-info operation on an image
|
17
|
-
class GetImageInfoResult
|
18
|
-
attr_accessor :successful
|
19
|
-
|
20
|
-
# Color space of the image
|
21
|
-
attr_accessor :color_space
|
22
|
-
|
23
|
-
# Color type of the image
|
24
|
-
attr_accessor :color_type
|
25
|
-
|
26
|
-
# Width in pixels of the image
|
27
|
-
attr_accessor :width
|
28
|
-
|
29
|
-
# Height in pixels of the image
|
30
|
-
attr_accessor :height
|
31
|
-
|
32
|
-
# Compression level value from 0 (lowest quality) to 100 (highest quality)
|
33
|
-
attr_accessor :compression_level
|
34
|
-
|
35
|
-
# SHA256 hash signature of the image
|
36
|
-
attr_accessor :image_hash_signature
|
37
|
-
|
38
|
-
# True if the image contains transparency, otherwise false
|
39
|
-
attr_accessor :has_transparency
|
40
|
-
|
41
|
-
# MIME type of the image format
|
42
|
-
attr_accessor :mime_type
|
43
|
-
|
44
|
-
# Image format
|
45
|
-
attr_accessor :image_format
|
46
|
-
|
47
|
-
# Units of the DPI measurement; can be either in Inches or Centimeters
|
48
|
-
attr_accessor :dpi_unit
|
49
|
-
|
50
|
-
# DPI (pixels per unit, e.g. pixels per inch) of the image
|
51
|
-
attr_accessor :dpi
|
52
|
-
|
53
|
-
# Unique colors in the image
|
54
|
-
attr_accessor :color_count
|
55
|
-
|
56
|
-
# Bit depth of the image
|
57
|
-
attr_accessor :bit_depth
|
58
|
-
|
59
|
-
# Comment string in the image
|
60
|
-
attr_accessor :comment
|
61
|
-
|
62
|
-
# Name of the EXIF profile used
|
63
|
-
attr_accessor :exif_profile_name
|
64
|
-
|
65
|
-
# EXIF tags and values embedded in the image
|
66
|
-
attr_accessor :exif_values
|
67
|
-
|
68
|
-
|
69
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
70
|
-
def self.attribute_map
|
71
|
-
{
|
72
|
-
:'successful' => :'Successful',
|
73
|
-
:'color_space' => :'ColorSpace',
|
74
|
-
:'color_type' => :'ColorType',
|
75
|
-
:'width' => :'Width',
|
76
|
-
:'height' => :'Height',
|
77
|
-
:'compression_level' => :'CompressionLevel',
|
78
|
-
:'image_hash_signature' => :'ImageHashSignature',
|
79
|
-
:'has_transparency' => :'HasTransparency',
|
80
|
-
:'mime_type' => :'MimeType',
|
81
|
-
:'image_format' => :'ImageFormat',
|
82
|
-
:'dpi_unit' => :'DPIUnit',
|
83
|
-
:'dpi' => :'DPI',
|
84
|
-
:'color_count' => :'ColorCount',
|
85
|
-
:'bit_depth' => :'BitDepth',
|
86
|
-
:'comment' => :'Comment',
|
87
|
-
:'exif_profile_name' => :'ExifProfileName',
|
88
|
-
:'exif_values' => :'ExifValues'
|
89
|
-
}
|
90
|
-
end
|
91
|
-
|
92
|
-
# Attribute type mapping.
|
93
|
-
def self.swagger_types
|
94
|
-
{
|
95
|
-
:'successful' => :'BOOLEAN',
|
96
|
-
:'color_space' => :'String',
|
97
|
-
:'color_type' => :'String',
|
98
|
-
:'width' => :'Integer',
|
99
|
-
:'height' => :'Integer',
|
100
|
-
:'compression_level' => :'Integer',
|
101
|
-
:'image_hash_signature' => :'String',
|
102
|
-
:'has_transparency' => :'BOOLEAN',
|
103
|
-
:'mime_type' => :'String',
|
104
|
-
:'image_format' => :'String',
|
105
|
-
:'dpi_unit' => :'String',
|
106
|
-
:'dpi' => :'Float',
|
107
|
-
:'color_count' => :'Integer',
|
108
|
-
:'bit_depth' => :'Integer',
|
109
|
-
:'comment' => :'String',
|
110
|
-
:'exif_profile_name' => :'String',
|
111
|
-
:'exif_values' => :'Array<ExifValue>'
|
112
|
-
}
|
113
|
-
end
|
114
|
-
|
115
|
-
# Initializes the object
|
116
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
117
|
-
def initialize(attributes = {})
|
118
|
-
return unless attributes.is_a?(Hash)
|
119
|
-
|
120
|
-
# convert string to symbol for hash key
|
121
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
122
|
-
|
123
|
-
if attributes.has_key?(:'Successful')
|
124
|
-
self.successful = attributes[:'Successful']
|
125
|
-
end
|
126
|
-
|
127
|
-
if attributes.has_key?(:'ColorSpace')
|
128
|
-
self.color_space = attributes[:'ColorSpace']
|
129
|
-
end
|
130
|
-
|
131
|
-
if attributes.has_key?(:'ColorType')
|
132
|
-
self.color_type = attributes[:'ColorType']
|
133
|
-
end
|
134
|
-
|
135
|
-
if attributes.has_key?(:'Width')
|
136
|
-
self.width = attributes[:'Width']
|
137
|
-
end
|
138
|
-
|
139
|
-
if attributes.has_key?(:'Height')
|
140
|
-
self.height = attributes[:'Height']
|
141
|
-
end
|
142
|
-
|
143
|
-
if attributes.has_key?(:'CompressionLevel')
|
144
|
-
self.compression_level = attributes[:'CompressionLevel']
|
145
|
-
end
|
146
|
-
|
147
|
-
if attributes.has_key?(:'ImageHashSignature')
|
148
|
-
self.image_hash_signature = attributes[:'ImageHashSignature']
|
149
|
-
end
|
150
|
-
|
151
|
-
if attributes.has_key?(:'HasTransparency')
|
152
|
-
self.has_transparency = attributes[:'HasTransparency']
|
153
|
-
end
|
154
|
-
|
155
|
-
if attributes.has_key?(:'MimeType')
|
156
|
-
self.mime_type = attributes[:'MimeType']
|
157
|
-
end
|
158
|
-
|
159
|
-
if attributes.has_key?(:'ImageFormat')
|
160
|
-
self.image_format = attributes[:'ImageFormat']
|
161
|
-
end
|
162
|
-
|
163
|
-
if attributes.has_key?(:'DPIUnit')
|
164
|
-
self.dpi_unit = attributes[:'DPIUnit']
|
165
|
-
end
|
166
|
-
|
167
|
-
if attributes.has_key?(:'DPI')
|
168
|
-
self.dpi = attributes[:'DPI']
|
169
|
-
end
|
170
|
-
|
171
|
-
if attributes.has_key?(:'ColorCount')
|
172
|
-
self.color_count = attributes[:'ColorCount']
|
173
|
-
end
|
174
|
-
|
175
|
-
if attributes.has_key?(:'BitDepth')
|
176
|
-
self.bit_depth = attributes[:'BitDepth']
|
177
|
-
end
|
178
|
-
|
179
|
-
if attributes.has_key?(:'Comment')
|
180
|
-
self.comment = attributes[:'Comment']
|
181
|
-
end
|
182
|
-
|
183
|
-
if attributes.has_key?(:'ExifProfileName')
|
184
|
-
self.exif_profile_name = attributes[:'ExifProfileName']
|
185
|
-
end
|
186
|
-
|
187
|
-
if attributes.has_key?(:'ExifValues')
|
188
|
-
if (value = attributes[:'ExifValues']).is_a?(Array)
|
189
|
-
self.exif_values = value
|
190
|
-
end
|
191
|
-
end
|
192
|
-
|
193
|
-
end
|
194
|
-
|
195
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
196
|
-
# @return Array for valid properties with the reasons
|
197
|
-
def list_invalid_properties
|
198
|
-
invalid_properties = Array.new
|
199
|
-
return invalid_properties
|
200
|
-
end
|
201
|
-
|
202
|
-
# Check to see if the all the properties in the model are valid
|
203
|
-
# @return true if the model is valid
|
204
|
-
def valid?
|
205
|
-
return true
|
206
|
-
end
|
207
|
-
|
208
|
-
# Checks equality by comparing each attribute.
|
209
|
-
# @param [Object] Object to be compared
|
210
|
-
def ==(o)
|
211
|
-
return true if self.equal?(o)
|
212
|
-
self.class == o.class &&
|
213
|
-
successful == o.successful &&
|
214
|
-
color_space == o.color_space &&
|
215
|
-
color_type == o.color_type &&
|
216
|
-
width == o.width &&
|
217
|
-
height == o.height &&
|
218
|
-
compression_level == o.compression_level &&
|
219
|
-
image_hash_signature == o.image_hash_signature &&
|
220
|
-
has_transparency == o.has_transparency &&
|
221
|
-
mime_type == o.mime_type &&
|
222
|
-
image_format == o.image_format &&
|
223
|
-
dpi_unit == o.dpi_unit &&
|
224
|
-
dpi == o.dpi &&
|
225
|
-
color_count == o.color_count &&
|
226
|
-
bit_depth == o.bit_depth &&
|
227
|
-
comment == o.comment &&
|
228
|
-
exif_profile_name == o.exif_profile_name &&
|
229
|
-
exif_values == o.exif_values
|
230
|
-
end
|
231
|
-
|
232
|
-
# @see the `==` method
|
233
|
-
# @param [Object] Object to be compared
|
234
|
-
def eql?(o)
|
235
|
-
self == o
|
236
|
-
end
|
237
|
-
|
238
|
-
# Calculates hash code according to all attributes.
|
239
|
-
# @return [Fixnum] Hash code
|
240
|
-
def hash
|
241
|
-
[successful, color_space, color_type, width, height, compression_level, image_hash_signature, has_transparency, mime_type, image_format, dpi_unit, dpi, color_count, bit_depth, comment, exif_profile_name, exif_values].hash
|
242
|
-
end
|
243
|
-
|
244
|
-
# Builds the object from hash
|
245
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
246
|
-
# @return [Object] Returns the model itself
|
247
|
-
def build_from_hash(attributes)
|
248
|
-
return nil unless attributes.is_a?(Hash)
|
249
|
-
self.class.swagger_types.each_pair do |key, type|
|
250
|
-
if type =~ /\AArray<(.*)>/i
|
251
|
-
# check to ensure the input is an array given that the the attribute
|
252
|
-
# is documented as an array but the input is not
|
253
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
254
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
255
|
-
end
|
256
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
257
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
258
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
259
|
-
end
|
260
|
-
|
261
|
-
self
|
262
|
-
end
|
263
|
-
|
264
|
-
# Deserializes the data based on type
|
265
|
-
# @param string type Data type
|
266
|
-
# @param string value Value to be deserialized
|
267
|
-
# @return [Object] Deserialized data
|
268
|
-
def _deserialize(type, value)
|
269
|
-
case type.to_sym
|
270
|
-
when :DateTime
|
271
|
-
DateTime.parse(value)
|
272
|
-
when :Date
|
273
|
-
Date.parse(value)
|
274
|
-
when :String
|
275
|
-
value.to_s
|
276
|
-
when :Integer
|
277
|
-
value.to_i
|
278
|
-
when :Float
|
279
|
-
value.to_f
|
280
|
-
when :BOOLEAN
|
281
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
282
|
-
true
|
283
|
-
else
|
284
|
-
false
|
285
|
-
end
|
286
|
-
when :Object
|
287
|
-
# generic object (usually a Hash), return directly
|
288
|
-
value
|
289
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
290
|
-
inner_type = Regexp.last_match[:inner_type]
|
291
|
-
value.map { |v| _deserialize(inner_type, v) }
|
292
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
293
|
-
k_type = Regexp.last_match[:k_type]
|
294
|
-
v_type = Regexp.last_match[:v_type]
|
295
|
-
{}.tap do |hash|
|
296
|
-
value.each do |k, v|
|
297
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
298
|
-
end
|
299
|
-
end
|
300
|
-
else # model
|
301
|
-
temp_model = CloudmersiveConvertApiClient.const_get(type).new
|
302
|
-
temp_model.build_from_hash(value)
|
303
|
-
end
|
304
|
-
end
|
305
|
-
|
306
|
-
# Returns the string representation of the object
|
307
|
-
# @return [String] String presentation of the object
|
308
|
-
def to_s
|
309
|
-
to_hash.to_s
|
310
|
-
end
|
311
|
-
|
312
|
-
# to_body is an alias to to_hash (backward compatibility)
|
313
|
-
# @return [Hash] Returns the object in the form of hash
|
314
|
-
def to_body
|
315
|
-
to_hash
|
316
|
-
end
|
317
|
-
|
318
|
-
# Returns the object in the form of hash
|
319
|
-
# @return [Hash] Returns the object in the form of hash
|
320
|
-
def to_hash
|
321
|
-
hash = {}
|
322
|
-
self.class.attribute_map.each_pair do |attr, param|
|
323
|
-
value = self.send(attr)
|
324
|
-
next if value.nil?
|
325
|
-
hash[param] = _to_hash(value)
|
326
|
-
end
|
327
|
-
hash
|
328
|
-
end
|
329
|
-
|
330
|
-
# Outputs non-array value in the form of hash
|
331
|
-
# For object, use to_hash. Otherwise, just return the value
|
332
|
-
# @param [Object] value Any valid value
|
333
|
-
# @return [Hash] Returns the value in the form of hash
|
334
|
-
def _to_hash(value)
|
335
|
-
if value.is_a?(Array)
|
336
|
-
value.compact.map{ |v| _to_hash(v) }
|
337
|
-
elsif value.is_a?(Hash)
|
338
|
-
{}.tap do |hash|
|
339
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
340
|
-
end
|
341
|
-
elsif value.respond_to? :to_hash
|
342
|
-
value.to_hash
|
343
|
-
else
|
344
|
-
value
|
345
|
-
end
|
346
|
-
end
|
347
|
-
|
348
|
-
end
|
349
|
-
|
350
|
-
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 retrieving annotations from a PDF document
|
17
|
-
class GetPdfAnnotationsResult
|
18
|
-
# True if successful, false otherwise
|
19
|
-
attr_accessor :successful
|
20
|
-
|
21
|
-
# Annotations in the PDF file, ordered by placement from start to finish in the document
|
22
|
-
attr_accessor :annotations
|
23
|
-
|
24
|
-
|
25
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
26
|
-
def self.attribute_map
|
27
|
-
{
|
28
|
-
:'successful' => :'Successful',
|
29
|
-
:'annotations' => :'Annotations'
|
30
|
-
}
|
31
|
-
end
|
32
|
-
|
33
|
-
# Attribute type mapping.
|
34
|
-
def self.swagger_types
|
35
|
-
{
|
36
|
-
:'successful' => :'BOOLEAN',
|
37
|
-
:'annotations' => :'Array<PdfAnnotation>'
|
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?(:'Annotations')
|
54
|
-
if (value = attributes[:'Annotations']).is_a?(Array)
|
55
|
-
self.annotations = 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
|
-
annotations == o.annotations
|
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, annotations].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
|