cloudmersive-convert-api-client 2.0.6 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +7 -0
- data/README.md +597 -0
- data/Rakefile +8 -0
- data/cloudmersive-convert-api-client.gemspec +45 -0
- data/docs/AddPdfAnnotationRequest.md +9 -0
- data/docs/AlternateFileFormatCandidate.md +10 -0
- data/docs/AppendXlsxRowRequest.md +11 -0
- data/docs/AppendXlsxRowResponse.md +9 -0
- data/docs/AutodetectDocumentValidationResult.md +12 -0
- data/docs/AutodetectGetInfoResult.md +14 -0
- data/docs/AutodetectToJpgResult.md +9 -0
- data/docs/AutodetectToPngResult.md +9 -0
- data/docs/AutodetectToThumbnailsResult.md +9 -0
- data/docs/Base64DecodeRequest.md +8 -0
- data/docs/Base64DecodeResponse.md +9 -0
- data/docs/Base64DetectRequest.md +8 -0
- data/docs/Base64DetectResponse.md +9 -0
- data/docs/Base64EncodeRequest.md +8 -0
- data/docs/Base64EncodeResponse.md +9 -0
- data/docs/ChangeLineEndingResponse.md +9 -0
- data/docs/ClearXlsxCellRequest.md +12 -0
- data/docs/ClearXlsxCellResponse.md +9 -0
- data/docs/ClearXlsxRowRequest.md +11 -0
- data/docs/ClearXlsxRowResponse.md +9 -0
- data/docs/CompareDocumentApi.md +66 -0
- data/docs/ConvertDataApi.md +1016 -0
- data/docs/ConvertDocumentApi.md +4503 -0
- data/docs/ConvertImageApi.md +243 -0
- data/docs/ConvertTemplateApi.md +122 -0
- data/docs/ConvertWebApi.md +448 -0
- data/docs/ConvertedJpgPage.md +9 -0
- data/docs/ConvertedPngPage.md +9 -0
- data/docs/CreateBlankDocxRequest.md +8 -0
- data/docs/CreateBlankDocxResponse.md +9 -0
- data/docs/CreateBlankSpreadsheetRequest.md +8 -0
- data/docs/CreateBlankSpreadsheetResponse.md +9 -0
- data/docs/CreateSpreadsheetFromDataRequest.md +9 -0
- data/docs/CreateSpreadsheetFromDataResponse.md +9 -0
- data/docs/CreateZipArchiveRequest.md +9 -0
- data/docs/CsvCollection.md +10 -0
- data/docs/CsvFileResult.md +9 -0
- data/docs/DeleteDocxTableRowRangeRequest.md +12 -0
- data/docs/DeleteDocxTableRowRangeResponse.md +9 -0
- data/docs/DeleteDocxTableRowRequest.md +11 -0
- data/docs/DeleteDocxTableRowResponse.md +9 -0
- data/docs/DetectLineEndingsResponse.md +11 -0
- data/docs/DisableSharedWorkbookRequest.md +9 -0
- data/docs/DisableSharedWorkbookResponse.md +9 -0
- data/docs/DocumentValidationError.md +11 -0
- data/docs/DocumentValidationResult.md +12 -0
- data/docs/DocxBody.md +10 -0
- data/docs/DocxCellStyle.md +11 -0
- data/docs/DocxComment.md +16 -0
- data/docs/DocxFooter.md +10 -0
- data/docs/DocxHeader.md +10 -0
- data/docs/DocxImage.md +20 -0
- data/docs/DocxInsertCommentOnParagraphRequest.md +11 -0
- data/docs/DocxInsertImageRequest.md +16 -0
- data/docs/DocxInsertImageResponse.md +9 -0
- data/docs/DocxPage.md +9 -0
- data/docs/DocxParagraph.md +11 -0
- data/docs/DocxRemoveObjectRequest.md +10 -0
- data/docs/DocxRemoveObjectResponse.md +9 -0
- data/docs/DocxRun.md +15 -0
- data/docs/DocxSection.md +9 -0
- data/docs/DocxSetFooterAddPageNumberRequest.md +10 -0
- data/docs/DocxSetFooterRequest.md +10 -0
- data/docs/DocxSetFooterResponse.md +9 -0
- data/docs/DocxSetHeaderRequest.md +10 -0
- data/docs/DocxSetHeaderResponse.md +9 -0
- data/docs/DocxStyle.md +14 -0
- data/docs/DocxTable.md +46 -0
- data/docs/DocxTableCell.md +15 -0
- data/docs/DocxTableRow.md +10 -0
- data/docs/DocxTemplateApplicationRequest.md +8 -0
- data/docs/DocxTemplateOperation.md +10 -0
- data/docs/DocxText.md +10 -0
- data/docs/DocxToJpgResult.md +9 -0
- data/docs/DocxToPngResult.md +9 -0
- data/docs/DocxTopLevelComment.md +14 -0
- data/docs/EditDocumentApi.md +3253 -0
- data/docs/EditHtmlApi.md +329 -0
- data/docs/EditPdfApi.md +1310 -0
- data/docs/EditTextApi.md +726 -0
- data/docs/EmlAttachment.md +9 -0
- data/docs/EmlToHtmlResult.md +16 -0
- data/docs/EmlToJpgResult.md +9 -0
- data/docs/EmlToPngResult.md +9 -0
- data/docs/EnableSharedWorkbookRequest.md +9 -0
- data/docs/EnableSharedWorkbookResponse.md +9 -0
- data/docs/ExifValue.md +10 -0
- data/docs/FindDocxParagraphRequest.md +11 -0
- data/docs/FindDocxParagraphResponse.md +10 -0
- data/docs/FindRegexMatch.md +12 -0
- data/docs/FindStringMatch.md +10 -0
- data/docs/FindStringRegexRequest.md +10 -0
- data/docs/FindStringRegexResponse.md +10 -0
- data/docs/FindStringSimpleRequest.md +9 -0
- data/docs/FindStringSimpleResponse.md +10 -0
- data/docs/FinishEditingRequest.md +8 -0
- data/docs/GetDocxBodyRequest.md +9 -0
- data/docs/GetDocxBodyResponse.md +9 -0
- data/docs/GetDocxCommentsHierarchicalResponse.md +10 -0
- data/docs/GetDocxCommentsResponse.md +10 -0
- data/docs/GetDocxGetCommentsHierarchicalRequest.md +9 -0
- data/docs/GetDocxGetCommentsRequest.md +9 -0
- data/docs/GetDocxHeadersAndFootersRequest.md +9 -0
- data/docs/GetDocxHeadersAndFootersResponse.md +10 -0
- data/docs/GetDocxImagesRequest.md +9 -0
- data/docs/GetDocxImagesResponse.md +9 -0
- data/docs/GetDocxPagesRequest.md +10 -0
- data/docs/GetDocxPagesResponse.md +10 -0
- data/docs/GetDocxSectionsRequest.md +9 -0
- data/docs/GetDocxSectionsResponse.md +9 -0
- data/docs/GetDocxStylesRequest.md +9 -0
- data/docs/GetDocxStylesResponse.md +9 -0
- data/docs/GetDocxTableByIndexRequest.md +10 -0
- data/docs/GetDocxTableByIndexResponse.md +9 -0
- data/docs/GetDocxTableRowRequest.md +11 -0
- data/docs/GetDocxTableRowResponse.md +9 -0
- data/docs/GetDocxTablesRequest.md +9 -0
- data/docs/GetDocxTablesResponse.md +9 -0
- data/docs/GetFileTypeIconResult.md +10 -0
- data/docs/GetImageInfoResult.md +24 -0
- data/docs/GetPdfAnnotationsResult.md +9 -0
- data/docs/GetXlsxCellByIdentifierRequest.md +11 -0
- data/docs/GetXlsxCellByIdentifierResponse.md +9 -0
- data/docs/GetXlsxCellRequest.md +12 -0
- data/docs/GetXlsxCellResponse.md +9 -0
- data/docs/GetXlsxColumnsRequest.md +10 -0
- data/docs/GetXlsxColumnsResponse.md +9 -0
- data/docs/GetXlsxImagesRequest.md +10 -0
- data/docs/GetXlsxImagesResponse.md +9 -0
- data/docs/GetXlsxRowsAndCellsRequest.md +10 -0
- data/docs/GetXlsxRowsAndCellsResponse.md +9 -0
- data/docs/GetXlsxSpecificRowRequest.md +11 -0
- data/docs/GetXlsxSpecificRowResponse.md +9 -0
- data/docs/GetXlsxStylesRequest.md +9 -0
- data/docs/GetXlsxStylesResponse.md +9 -0
- data/docs/GetXlsxWorksheetsRequest.md +9 -0
- data/docs/GetXlsxWorksheetsResponse.md +9 -0
- data/docs/HtmlMdResult.md +9 -0
- data/docs/HtmlTemplateApplicationRequest.md +10 -0
- data/docs/HtmlTemplateApplicationResponse.md +9 -0
- data/docs/HtmlTemplateOperation.md +10 -0
- data/docs/HtmlToOfficeRequest.md +8 -0
- data/docs/HtmlToPdfRequest.md +11 -0
- data/docs/HtmlToPngRequest.md +11 -0
- data/docs/HtmlToTextRequest.md +8 -0
- data/docs/HtmlToTextResponse.md +9 -0
- data/docs/InsertDocxCommentOnParagraphResponse.md +9 -0
- data/docs/InsertDocxInsertParagraphRequest.md +12 -0
- data/docs/InsertDocxInsertParagraphResponse.md +9 -0
- data/docs/InsertDocxTableRowRequest.md +12 -0
- data/docs/InsertDocxTableRowResponse.md +9 -0
- data/docs/InsertDocxTablesRequest.md +12 -0
- data/docs/InsertDocxTablesResponse.md +9 -0
- data/docs/InsertXlsxWorksheetRequest.md +10 -0
- data/docs/InsertXlsxWorksheetResponse.md +9 -0
- data/docs/KeynoteToJpgResult.md +9 -0
- data/docs/KeynoteToPngResult.md +9 -0
- data/docs/MergeDocumentApi.md +812 -0
- data/docs/MsgAttachment.md +9 -0
- data/docs/MsgToHtmlResult.md +16 -0
- data/docs/MsgToJpgResult.md +9 -0
- data/docs/MsgToPngResult.md +9 -0
- data/docs/MultiReplaceStringRequest.md +10 -0
- data/docs/MultipageImageFormatConversionResult.md +10 -0
- data/docs/OdpToJpgResult.md +9 -0
- data/docs/OdpToPngResult.md +9 -0
- data/docs/OdsToJpgResult.md +9 -0
- data/docs/OdsToPngResult.md +9 -0
- data/docs/OdtToJpgResult.md +9 -0
- data/docs/OdtToPngResult.md +9 -0
- data/docs/PageConversionResult.md +9 -0
- data/docs/PdfAnnotation.md +19 -0
- data/docs/PdfDocument.md +10 -0
- data/docs/PdfFormField.md +11 -0
- data/docs/PdfFormFields.md +9 -0
- data/docs/PdfMetadata.md +16 -0
- data/docs/PdfPageText.md +9 -0
- data/docs/PdfTextByPageResult.md +9 -0
- data/docs/PdfToJpgResult.md +9 -0
- data/docs/PdfToPngResult.md +9 -0
- data/docs/PptxToPngResult.md +9 -0
- data/docs/PresentationResult.md +10 -0
- data/docs/RemoveDocxHeadersAndFootersRequest.md +11 -0
- data/docs/RemoveDocxHeadersAndFootersResponse.md +9 -0
- data/docs/RemoveDocxPagesRequest.md +11 -0
- data/docs/RemoveHtmlFromTextRequest.md +8 -0
- data/docs/RemoveHtmlFromTextResponse.md +9 -0
- data/docs/RemovePptxSlidesRequest.md +11 -0
- data/docs/RemoveWhitespaceFromTextRequest.md +8 -0
- data/docs/RemoveWhitespaceFromTextResponse.md +9 -0
- data/docs/RemoveXlsxWorksheetRequest.md +10 -0
- data/docs/RenameXlsxWorksheetRequest.md +11 -0
- data/docs/RenameXlsxWorksheetResponse.md +9 -0
- data/docs/ReplaceDocxParagraphRequest.md +12 -0
- data/docs/ReplaceDocxParagraphResponse.md +9 -0
- data/docs/ReplaceStringRegexRequest.md +10 -0
- data/docs/ReplaceStringRegexResponse.md +9 -0
- data/docs/ReplaceStringRequest.md +12 -0
- data/docs/ReplaceStringSimpleRequest.md +10 -0
- data/docs/ReplaceStringSimpleResponse.md +9 -0
- data/docs/RtfToJpgResult.md +9 -0
- data/docs/RtfToPngResult.md +9 -0
- data/docs/ScreenshotRequest.md +11 -0
- data/docs/SetFormFieldValue.md +11 -0
- data/docs/SetPdfFormFieldsRequest.md +9 -0
- data/docs/SetPdfMetadataRequest.md +9 -0
- data/docs/SetXlsxCellByIdentifierRequest.md +12 -0
- data/docs/SetXlsxCellByIdentifierResponse.md +9 -0
- data/docs/SetXlsxCellRequest.md +13 -0
- data/docs/SetXlsxCellResponse.md +9 -0
- data/docs/SingleReplaceString.md +10 -0
- data/docs/SplitDocumentApi.md +361 -0
- data/docs/SplitDocumentResult.md +10 -0
- data/docs/SplitDocxDocumentResult.md +9 -0
- data/docs/SplitPdfResult.md +9 -0
- data/docs/SplitPptxPresentationResult.md +9 -0
- data/docs/SplitTextDocumentByLinesResult.md +10 -0
- data/docs/SplitTextDocumentByStringResult.md +10 -0
- data/docs/SplitXlsxWorksheetResult.md +9 -0
- data/docs/TextConversionResult.md +9 -0
- data/docs/TextDocumentElement.md +9 -0
- data/docs/TextDocumentLine.md +9 -0
- data/docs/TextEncodingDetectResponse.md +9 -0
- data/docs/Thumbnail.md +9 -0
- data/docs/TransformDocumentApi.md +140 -0
- data/docs/UpdateDocxTableCellRequest.md +13 -0
- data/docs/UpdateDocxTableCellResponse.md +9 -0
- data/docs/UpdateDocxTableRowRequest.md +12 -0
- data/docs/UpdateDocxTableRowResponse.md +9 -0
- data/docs/UrlToPdfRequest.md +11 -0
- data/docs/UrlToTextRequest.md +8 -0
- data/docs/UrlToTextResponse.md +9 -0
- data/docs/ValidateDocumentApi.md +998 -0
- data/docs/ViewerResponse.md +9 -0
- data/docs/ViewerToolsApi.md +69 -0
- data/docs/WorksheetResult.md +11 -0
- data/docs/XlsxImage.md +12 -0
- data/docs/XlsxSpreadsheetCell.md +12 -0
- data/docs/XlsxSpreadsheetColumn.md +9 -0
- data/docs/XlsxSpreadsheetRow.md +9 -0
- data/docs/XlsxToPngResult.md +9 -0
- data/docs/XlsxWorksheet.md +9 -0
- data/docs/XmlAddAttributeWithXPathResult.md +10 -0
- data/docs/XmlAddChildWithXPathResult.md +10 -0
- data/docs/XmlFilterWithXPathResult.md +10 -0
- data/docs/XmlQueryWithXQueryMultiResult.md +10 -0
- data/docs/XmlQueryWithXQueryResult.md +10 -0
- data/docs/XmlRemoveAllChildrenWithXPathResult.md +10 -0
- data/docs/XmlRemoveWithXPathResult.md +11 -0
- data/docs/XmlReplaceWithXPathResult.md +10 -0
- data/docs/XmlSetValueWithXPathResult.md +10 -0
- data/docs/ZipArchiveApi.md +386 -0
- data/docs/ZipDirectory.md +10 -0
- data/docs/ZipEncryptionAdvancedRequest.md +10 -0
- data/docs/ZipExtractResponse.md +10 -0
- data/docs/ZipFile.md +9 -0
- data/git_push.sh +55 -0
- data/lib/cloudmersive-convert-api-client.rb +295 -0
- data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +85 -0
- data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +1079 -0
- data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +4516 -0
- data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +273 -0
- data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +135 -0
- data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +456 -0
- data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +3214 -0
- data/lib/cloudmersive-convert-api-client/api/edit_html_api.rb +339 -0
- data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +1393 -0
- data/lib/cloudmersive-convert-api-client/api/edit_text_api.rb +735 -0
- data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +911 -0
- data/lib/cloudmersive-convert-api-client/api/split_document_api.rb +375 -0
- data/lib/cloudmersive-convert-api-client/api/transform_document_api.rb +161 -0
- data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +1013 -0
- data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +84 -0
- data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +422 -0
- data/lib/cloudmersive-convert-api-client/api_client.rb +391 -0
- data/lib/cloudmersive-convert-api-client/api_error.rb +38 -0
- data/lib/cloudmersive-convert-api-client/configuration.rb +209 -0
- data/lib/cloudmersive-convert-api-client/models/add_pdf_annotation_request.rb +213 -0
- data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/append_xlsx_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/append_xlsx_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_document_validation_result.rb +227 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +248 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_to_thumbnails_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/base64_decode_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/base64_decode_response.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/base64_detect_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/base64_detect_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/base64_encode_request.rb +201 -0
- data/lib/cloudmersive-convert-api-client/models/base64_encode_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/change_line_ending_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/converted_jpg_page.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/create_blank_docx_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/create_blank_docx_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_request.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/create_zip_archive_request.rb +200 -0
- data/lib/cloudmersive-convert-api-client/models/csv_collection.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/csv_file_result.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/detect_line_endings_response.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +228 -0
- data/lib/cloudmersive-convert-api-client/models/docx_body.rb +209 -0
- data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/docx_comment.rb +266 -0
- data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +210 -0
- data/lib/cloudmersive-convert-api-client/models/docx_header.rb +210 -0
- data/lib/cloudmersive-convert-api-client/models/docx_image.rb +305 -0
- data/lib/cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +296 -0
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/docx_page.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +218 -0
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/docx_run.rb +258 -0
- data/lib/cloudmersive-convert-api-client/models/docx_section.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/docx_style.rb +246 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table.rb +568 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +258 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/docx_template_application_request.rb +188 -0
- data/lib/cloudmersive-convert-api-client/models/docx_template_operation.rb +239 -0
- data/lib/cloudmersive-convert-api-client/models/docx_text.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/docx_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/docx_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/docx_top_level_comment.rb +248 -0
- data/lib/cloudmersive-convert-api-client/models/eml_attachment.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/eml_to_html_result.rb +268 -0
- data/lib/cloudmersive-convert-api-client/models/eml_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/eml_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/exif_value.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/find_regex_match.rb +228 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_match.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_regex_request.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_regex_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_simple_request.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_simple_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_comments_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_pages_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_pages_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_file_type_icon_result.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +347 -0
- data/lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_specific_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_specific_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +239 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_png_request.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_text_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_text_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_comment_on_paragraph_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/keynote_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/keynote_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/msg_attachment.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/msg_to_html_result.rb +268 -0
- data/lib/cloudmersive-convert-api-client/models/msg_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/msg_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/multi_replace_string_request.rb +223 -0
- data/lib/cloudmersive-convert-api-client/models/multipage_image_format_conversion_result.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/odp_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/odp_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/ods_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/ods_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/odt_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/odt_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/page_conversion_result.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_annotation.rb +296 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_document.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_form_field.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_form_fields.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_metadata.rb +266 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_page_text.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_text_by_page_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/pptx_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/presentation_result.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/remove_docx_pages_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/remove_pptx_slides_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/remove_xlsx_worksheet_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/rename_xlsx_worksheet_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/rename_xlsx_worksheet_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_regex_request.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_regex_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_simple_request.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_simple_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/rtf_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/rtf_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/set_form_field_value.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/set_pdf_form_fields_request.rb +213 -0
- data/lib/cloudmersive-convert-api-client/models/set_pdf_metadata_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_request.rb +251 -0
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/single_replace_string.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/split_document_result.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/split_docx_document_result.rb +197 -0
- data/lib/cloudmersive-convert-api-client/models/split_pdf_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/split_pptx_presentation_result.rb +197 -0
- data/lib/cloudmersive-convert-api-client/models/split_text_document_by_lines_result.rb +207 -0
- data/lib/cloudmersive-convert-api-client/models/split_text_document_by_string_result.rb +207 -0
- data/lib/cloudmersive-convert-api-client/models/split_xlsx_worksheet_result.rb +197 -0
- data/lib/cloudmersive-convert-api-client/models/text_conversion_result.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/text_document_element.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/text_document_line.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/text_encoding_detect_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/thumbnail.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_request.rb +251 -0
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/url_to_pdf_request.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/url_to_text_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/url_to_text_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +194 -0
- data/lib/cloudmersive-convert-api-client/models/worksheet_result.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +225 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +225 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/xml_add_attribute_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_add_child_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_filter_with_x_path_result.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_multi_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_remove_all_children_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_remove_with_x_path_result.rb +218 -0
- data/lib/cloudmersive-convert-api-client/models/xml_replace_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/zip_directory.rb +210 -0
- data/lib/cloudmersive-convert-api-client/models/zip_encryption_advanced_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/zip_extract_response.rb +210 -0
- data/lib/cloudmersive-convert-api-client/models/zip_file.rb +211 -0
- data/lib/cloudmersive-convert-api-client/version.rb +15 -0
- data/spec/api/compare_document_api_spec.rb +48 -0
- data/spec/api/convert_data_api_spec.rb +265 -0
- data/spec/api/convert_document_api_spec.rb +1033 -0
- data/spec/api/convert_image_api_spec.rb +88 -0
- data/spec/api/convert_template_api_spec.rb +60 -0
- data/spec/api/convert_web_api_spec.rb +131 -0
- data/spec/api/edit_document_api_spec.rb +743 -0
- data/spec/api/edit_html_api_spec.rb +114 -0
- data/spec/api/edit_pdf_api_spec.rb +332 -0
- data/spec/api/edit_text_api_spec.rb +192 -0
- data/spec/api/merge_document_api_spec.rb +239 -0
- data/spec/api/split_document_api_spec.rb +113 -0
- data/spec/api/transform_document_api_spec.rb +67 -0
- data/spec/api/validate_document_api_spec.rb +251 -0
- data/spec/api/viewer_tools_api_spec.rb +49 -0
- data/spec/api/zip_archive_api_spec.rb +128 -0
- data/spec/api_client_spec.rb +243 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/add_pdf_annotation_request_spec.rb +47 -0
- data/spec/models/alternate_file_format_candidate_spec.rb +53 -0
- data/spec/models/append_xlsx_row_request_spec.rb +59 -0
- data/spec/models/append_xlsx_row_response_spec.rb +47 -0
- data/spec/models/autodetect_document_validation_result_spec.rb +65 -0
- data/spec/models/autodetect_get_info_result_spec.rb +77 -0
- data/spec/models/autodetect_to_jpg_result_spec.rb +47 -0
- data/spec/models/autodetect_to_png_result_spec.rb +47 -0
- data/spec/models/autodetect_to_thumbnails_result_spec.rb +47 -0
- data/spec/models/base64_decode_request_spec.rb +41 -0
- data/spec/models/base64_decode_response_spec.rb +47 -0
- data/spec/models/base64_detect_request_spec.rb +41 -0
- data/spec/models/base64_detect_response_spec.rb +47 -0
- data/spec/models/base64_encode_request_spec.rb +41 -0
- data/spec/models/base64_encode_response_spec.rb +47 -0
- data/spec/models/change_line_ending_response_spec.rb +47 -0
- data/spec/models/clear_xlsx_cell_request_spec.rb +65 -0
- data/spec/models/clear_xlsx_cell_response_spec.rb +47 -0
- data/spec/models/clear_xlsx_row_request_spec.rb +59 -0
- data/spec/models/clear_xlsx_row_response_spec.rb +47 -0
- data/spec/models/converted_jpg_page_spec.rb +47 -0
- data/spec/models/converted_png_page_spec.rb +47 -0
- data/spec/models/create_blank_docx_request_spec.rb +41 -0
- data/spec/models/create_blank_docx_response_spec.rb +47 -0
- data/spec/models/create_blank_spreadsheet_request_spec.rb +41 -0
- data/spec/models/create_blank_spreadsheet_response_spec.rb +47 -0
- data/spec/models/create_spreadsheet_from_data_request_spec.rb +47 -0
- data/spec/models/create_spreadsheet_from_data_response_spec.rb +47 -0
- data/spec/models/create_zip_archive_request_spec.rb +47 -0
- data/spec/models/csv_collection_spec.rb +53 -0
- data/spec/models/csv_file_result_spec.rb +47 -0
- data/spec/models/delete_docx_table_row_range_request_spec.rb +65 -0
- data/spec/models/delete_docx_table_row_range_response_spec.rb +47 -0
- data/spec/models/delete_docx_table_row_request_spec.rb +59 -0
- data/spec/models/delete_docx_table_row_response_spec.rb +47 -0
- data/spec/models/detect_line_endings_response_spec.rb +59 -0
- data/spec/models/disable_shared_workbook_request_spec.rb +47 -0
- data/spec/models/disable_shared_workbook_response_spec.rb +47 -0
- data/spec/models/document_validation_error_spec.rb +59 -0
- data/spec/models/document_validation_result_spec.rb +65 -0
- data/spec/models/docx_body_spec.rb +53 -0
- data/spec/models/docx_cell_style_spec.rb +59 -0
- data/spec/models/docx_comment_spec.rb +89 -0
- data/spec/models/docx_footer_spec.rb +53 -0
- data/spec/models/docx_header_spec.rb +53 -0
- data/spec/models/docx_image_spec.rb +113 -0
- data/spec/models/docx_insert_comment_on_paragraph_request_spec.rb +59 -0
- data/spec/models/docx_insert_image_request_spec.rb +89 -0
- data/spec/models/docx_insert_image_response_spec.rb +47 -0
- data/spec/models/docx_page_spec.rb +47 -0
- data/spec/models/docx_paragraph_spec.rb +59 -0
- data/spec/models/docx_remove_object_request_spec.rb +53 -0
- data/spec/models/docx_remove_object_response_spec.rb +47 -0
- data/spec/models/docx_run_spec.rb +83 -0
- data/spec/models/docx_section_spec.rb +47 -0
- data/spec/models/docx_set_footer_add_page_number_request_spec.rb +53 -0
- data/spec/models/docx_set_footer_request_spec.rb +53 -0
- data/spec/models/docx_set_footer_response_spec.rb +47 -0
- data/spec/models/docx_set_header_request_spec.rb +53 -0
- data/spec/models/docx_set_header_response_spec.rb +47 -0
- data/spec/models/docx_style_spec.rb +77 -0
- data/spec/models/docx_table_cell_spec.rb +83 -0
- data/spec/models/docx_table_row_spec.rb +53 -0
- data/spec/models/docx_table_spec.rb +269 -0
- data/spec/models/docx_template_application_request_spec.rb +41 -0
- data/spec/models/docx_template_operation_spec.rb +57 -0
- data/spec/models/docx_text_spec.rb +53 -0
- data/spec/models/docx_to_jpg_result_spec.rb +47 -0
- data/spec/models/docx_to_png_result_spec.rb +47 -0
- data/spec/models/docx_top_level_comment_spec.rb +77 -0
- data/spec/models/eml_attachment_spec.rb +47 -0
- data/spec/models/eml_to_html_result_spec.rb +89 -0
- data/spec/models/eml_to_jpg_result_spec.rb +47 -0
- data/spec/models/eml_to_png_result_spec.rb +47 -0
- data/spec/models/enable_shared_workbook_request_spec.rb +47 -0
- data/spec/models/enable_shared_workbook_response_spec.rb +47 -0
- data/spec/models/exif_value_spec.rb +53 -0
- data/spec/models/find_docx_paragraph_request_spec.rb +59 -0
- data/spec/models/find_docx_paragraph_response_spec.rb +53 -0
- data/spec/models/find_regex_match_spec.rb +65 -0
- data/spec/models/find_string_match_spec.rb +53 -0
- data/spec/models/find_string_regex_request_spec.rb +53 -0
- data/spec/models/find_string_regex_response_spec.rb +53 -0
- data/spec/models/find_string_simple_request_spec.rb +47 -0
- data/spec/models/find_string_simple_response_spec.rb +53 -0
- data/spec/models/finish_editing_request_spec.rb +41 -0
- data/spec/models/get_docx_body_request_spec.rb +47 -0
- data/spec/models/get_docx_body_response_spec.rb +47 -0
- data/spec/models/get_docx_comments_hierarchical_response_spec.rb +53 -0
- data/spec/models/get_docx_comments_response_spec.rb +53 -0
- data/spec/models/get_docx_get_comments_hierarchical_request_spec.rb +47 -0
- data/spec/models/get_docx_get_comments_request_spec.rb +47 -0
- data/spec/models/get_docx_headers_and_footers_request_spec.rb +47 -0
- data/spec/models/get_docx_headers_and_footers_response_spec.rb +53 -0
- data/spec/models/get_docx_images_request_spec.rb +47 -0
- data/spec/models/get_docx_images_response_spec.rb +47 -0
- data/spec/models/get_docx_pages_request_spec.rb +53 -0
- data/spec/models/get_docx_pages_response_spec.rb +53 -0
- data/spec/models/get_docx_sections_request_spec.rb +47 -0
- data/spec/models/get_docx_sections_response_spec.rb +47 -0
- data/spec/models/get_docx_styles_request_spec.rb +47 -0
- data/spec/models/get_docx_styles_response_spec.rb +47 -0
- data/spec/models/get_docx_table_by_index_request_spec.rb +53 -0
- data/spec/models/get_docx_table_by_index_response_spec.rb +47 -0
- data/spec/models/get_docx_table_row_request_spec.rb +59 -0
- data/spec/models/get_docx_table_row_response_spec.rb +47 -0
- data/spec/models/get_docx_tables_request_spec.rb +47 -0
- data/spec/models/get_docx_tables_response_spec.rb +47 -0
- data/spec/models/get_file_type_icon_result_spec.rb +53 -0
- data/spec/models/get_image_info_result_spec.rb +137 -0
- data/spec/models/get_pdf_annotations_result_spec.rb +47 -0
- data/spec/models/get_xlsx_cell_by_identifier_request_spec.rb +59 -0
- data/spec/models/get_xlsx_cell_by_identifier_response_spec.rb +47 -0
- data/spec/models/get_xlsx_cell_request_spec.rb +65 -0
- data/spec/models/get_xlsx_cell_response_spec.rb +47 -0
- data/spec/models/get_xlsx_columns_request_spec.rb +53 -0
- data/spec/models/get_xlsx_columns_response_spec.rb +47 -0
- data/spec/models/get_xlsx_images_request_spec.rb +53 -0
- data/spec/models/get_xlsx_images_response_spec.rb +47 -0
- data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +53 -0
- data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +47 -0
- data/spec/models/get_xlsx_specific_row_request_spec.rb +59 -0
- data/spec/models/get_xlsx_specific_row_response_spec.rb +47 -0
- data/spec/models/get_xlsx_styles_request_spec.rb +47 -0
- data/spec/models/get_xlsx_styles_response_spec.rb +47 -0
- data/spec/models/get_xlsx_worksheets_request_spec.rb +47 -0
- data/spec/models/get_xlsx_worksheets_response_spec.rb +47 -0
- data/spec/models/html_md_result_spec.rb +47 -0
- data/spec/models/html_template_application_request_spec.rb +53 -0
- data/spec/models/html_template_application_response_spec.rb +47 -0
- data/spec/models/html_template_operation_spec.rb +57 -0
- data/spec/models/html_to_office_request_spec.rb +41 -0
- data/spec/models/html_to_pdf_request_spec.rb +59 -0
- data/spec/models/html_to_png_request_spec.rb +59 -0
- data/spec/models/html_to_text_request_spec.rb +41 -0
- data/spec/models/html_to_text_response_spec.rb +47 -0
- data/spec/models/insert_docx_comment_on_paragraph_response_spec.rb +47 -0
- data/spec/models/insert_docx_insert_paragraph_request_spec.rb +65 -0
- data/spec/models/insert_docx_insert_paragraph_response_spec.rb +47 -0
- data/spec/models/insert_docx_table_row_request_spec.rb +65 -0
- data/spec/models/insert_docx_table_row_response_spec.rb +47 -0
- data/spec/models/insert_docx_tables_request_spec.rb +65 -0
- data/spec/models/insert_docx_tables_response_spec.rb +47 -0
- data/spec/models/insert_xlsx_worksheet_request_spec.rb +53 -0
- data/spec/models/insert_xlsx_worksheet_response_spec.rb +47 -0
- data/spec/models/keynote_to_jpg_result_spec.rb +47 -0
- data/spec/models/keynote_to_png_result_spec.rb +47 -0
- data/spec/models/msg_attachment_spec.rb +47 -0
- data/spec/models/msg_to_html_result_spec.rb +89 -0
- data/spec/models/msg_to_jpg_result_spec.rb +47 -0
- data/spec/models/msg_to_png_result_spec.rb +47 -0
- data/spec/models/multi_replace_string_request_spec.rb +53 -0
- data/spec/models/multipage_image_format_conversion_result_spec.rb +53 -0
- data/spec/models/odp_to_jpg_result_spec.rb +47 -0
- data/spec/models/odp_to_png_result_spec.rb +47 -0
- data/spec/models/ods_to_jpg_result_spec.rb +47 -0
- data/spec/models/ods_to_png_result_spec.rb +47 -0
- data/spec/models/odt_to_jpg_result_spec.rb +47 -0
- data/spec/models/odt_to_png_result_spec.rb +47 -0
- data/spec/models/page_conversion_result_spec.rb +47 -0
- data/spec/models/pdf_annotation_spec.rb +107 -0
- data/spec/models/pdf_document_spec.rb +53 -0
- data/spec/models/pdf_form_field_spec.rb +59 -0
- data/spec/models/pdf_form_fields_spec.rb +47 -0
- data/spec/models/pdf_metadata_spec.rb +89 -0
- data/spec/models/pdf_page_text_spec.rb +47 -0
- data/spec/models/pdf_text_by_page_result_spec.rb +47 -0
- data/spec/models/pdf_to_jpg_result_spec.rb +47 -0
- data/spec/models/pdf_to_png_result_spec.rb +47 -0
- data/spec/models/pptx_to_png_result_spec.rb +47 -0
- data/spec/models/presentation_result_spec.rb +53 -0
- data/spec/models/remove_docx_headers_and_footers_request_spec.rb +59 -0
- data/spec/models/remove_docx_headers_and_footers_response_spec.rb +47 -0
- data/spec/models/remove_docx_pages_request_spec.rb +59 -0
- data/spec/models/remove_html_from_text_request_spec.rb +41 -0
- data/spec/models/remove_html_from_text_response_spec.rb +47 -0
- data/spec/models/remove_pptx_slides_request_spec.rb +59 -0
- data/spec/models/remove_whitespace_from_text_request_spec.rb +41 -0
- data/spec/models/remove_whitespace_from_text_response_spec.rb +47 -0
- data/spec/models/remove_xlsx_worksheet_request_spec.rb +53 -0
- data/spec/models/rename_xlsx_worksheet_request_spec.rb +59 -0
- data/spec/models/rename_xlsx_worksheet_response_spec.rb +47 -0
- data/spec/models/replace_docx_paragraph_request_spec.rb +65 -0
- data/spec/models/replace_docx_paragraph_response_spec.rb +47 -0
- data/spec/models/replace_string_regex_request_spec.rb +53 -0
- data/spec/models/replace_string_regex_response_spec.rb +47 -0
- data/spec/models/replace_string_request_spec.rb +65 -0
- data/spec/models/replace_string_simple_request_spec.rb +53 -0
- data/spec/models/replace_string_simple_response_spec.rb +47 -0
- data/spec/models/rtf_to_jpg_result_spec.rb +47 -0
- data/spec/models/rtf_to_png_result_spec.rb +47 -0
- data/spec/models/screenshot_request_spec.rb +59 -0
- data/spec/models/set_form_field_value_spec.rb +59 -0
- data/spec/models/set_pdf_form_fields_request_spec.rb +47 -0
- data/spec/models/set_pdf_metadata_request_spec.rb +47 -0
- data/spec/models/set_xlsx_cell_by_identifier_request_spec.rb +65 -0
- data/spec/models/set_xlsx_cell_by_identifier_response_spec.rb +47 -0
- data/spec/models/set_xlsx_cell_request_spec.rb +71 -0
- data/spec/models/set_xlsx_cell_response_spec.rb +47 -0
- data/spec/models/single_replace_string_spec.rb +53 -0
- data/spec/models/split_document_result_spec.rb +53 -0
- data/spec/models/split_docx_document_result_spec.rb +47 -0
- data/spec/models/split_pdf_result_spec.rb +47 -0
- data/spec/models/split_pptx_presentation_result_spec.rb +47 -0
- data/spec/models/split_text_document_by_lines_result_spec.rb +53 -0
- data/spec/models/split_text_document_by_string_result_spec.rb +53 -0
- data/spec/models/split_xlsx_worksheet_result_spec.rb +47 -0
- data/spec/models/text_conversion_result_spec.rb +47 -0
- data/spec/models/text_document_element_spec.rb +47 -0
- data/spec/models/text_document_line_spec.rb +47 -0
- data/spec/models/text_encoding_detect_response_spec.rb +47 -0
- data/spec/models/thumbnail_spec.rb +47 -0
- data/spec/models/update_docx_table_cell_request_spec.rb +71 -0
- data/spec/models/update_docx_table_cell_response_spec.rb +47 -0
- data/spec/models/update_docx_table_row_request_spec.rb +65 -0
- data/spec/models/update_docx_table_row_response_spec.rb +47 -0
- data/spec/models/url_to_pdf_request_spec.rb +59 -0
- data/spec/models/url_to_text_request_spec.rb +41 -0
- data/spec/models/url_to_text_response_spec.rb +47 -0
- data/spec/models/viewer_response_spec.rb +47 -0
- data/spec/models/worksheet_result_spec.rb +59 -0
- data/spec/models/xlsx_image_spec.rb +65 -0
- data/spec/models/xlsx_spreadsheet_cell_spec.rb +65 -0
- data/spec/models/xlsx_spreadsheet_column_spec.rb +47 -0
- data/spec/models/xlsx_spreadsheet_row_spec.rb +47 -0
- data/spec/models/xlsx_to_png_result_spec.rb +47 -0
- data/spec/models/xlsx_worksheet_spec.rb +47 -0
- data/spec/models/xml_add_attribute_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_add_child_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_filter_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_query_with_x_query_multi_result_spec.rb +53 -0
- data/spec/models/xml_query_with_x_query_result_spec.rb +53 -0
- data/spec/models/xml_remove_all_children_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_remove_with_x_path_result_spec.rb +59 -0
- data/spec/models/xml_replace_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_set_value_with_x_path_result_spec.rb +53 -0
- data/spec/models/zip_directory_spec.rb +53 -0
- data/spec/models/zip_encryption_advanced_request_spec.rb +53 -0
- data/spec/models/zip_extract_response_spec.rb +53 -0
- data/spec/models/zip_file_spec.rb +47 -0
- data/spec/spec_helper.rb +111 -0
- metadata +785 -4
@@ -0,0 +1,1079 @@
|
|
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.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'uri'
|
14
|
+
|
15
|
+
module CloudmersiveConvertApiClient
|
16
|
+
class ConvertDataApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Convert CSV to JSON conversion
|
23
|
+
# Convert a CSV file to a JSON object array
|
24
|
+
# @param input_file Input file to perform the operation on.
|
25
|
+
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [BOOLEAN] :column_names_from_first_row Optional; If true, the first row will be used as the labels for the columns; if false, columns will be named Column0, Column1, etc. Default is true. Set to false if you are not using column headings, or have an irregular column structure.
|
27
|
+
# @return [Object]
|
28
|
+
def convert_data_csv_to_json(input_file, opts = {})
|
29
|
+
data, _status_code, _headers = convert_data_csv_to_json_with_http_info(input_file, opts)
|
30
|
+
data
|
31
|
+
end
|
32
|
+
|
33
|
+
# Convert CSV to JSON conversion
|
34
|
+
# Convert a CSV file to a JSON object array
|
35
|
+
# @param input_file Input file to perform the operation on.
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [BOOLEAN] :column_names_from_first_row Optional; If true, the first row will be used as the labels for the columns; if false, columns will be named Column0, Column1, etc. Default is true. Set to false if you are not using column headings, or have an irregular column structure.
|
38
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
39
|
+
def convert_data_csv_to_json_with_http_info(input_file, opts = {})
|
40
|
+
if @api_client.config.debugging
|
41
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_csv_to_json ...'
|
42
|
+
end
|
43
|
+
# verify the required parameter 'input_file' is set
|
44
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
45
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_csv_to_json"
|
46
|
+
end
|
47
|
+
# resource path
|
48
|
+
local_var_path = '/convert/csv/to/json'
|
49
|
+
|
50
|
+
# query parameters
|
51
|
+
query_params = {}
|
52
|
+
|
53
|
+
# header parameters
|
54
|
+
header_params = {}
|
55
|
+
# HTTP header 'Accept' (if needed)
|
56
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
57
|
+
# HTTP header 'Content-Type'
|
58
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
59
|
+
header_params[:'columnNamesFromFirstRow'] = opts[:'column_names_from_first_row'] if !opts[:'column_names_from_first_row'].nil?
|
60
|
+
|
61
|
+
# form parameters
|
62
|
+
form_params = {}
|
63
|
+
form_params['inputFile'] = input_file
|
64
|
+
|
65
|
+
# http body (model)
|
66
|
+
post_body = nil
|
67
|
+
auth_names = ['Apikey']
|
68
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
69
|
+
:header_params => header_params,
|
70
|
+
:query_params => query_params,
|
71
|
+
:form_params => form_params,
|
72
|
+
:body => post_body,
|
73
|
+
:auth_names => auth_names,
|
74
|
+
:return_type => 'Object')
|
75
|
+
if @api_client.config.debugging
|
76
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_csv_to_json\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
77
|
+
end
|
78
|
+
return data, status_code, headers
|
79
|
+
end
|
80
|
+
# Convert CSV to XML conversion
|
81
|
+
# Convert a CSV file to a XML file
|
82
|
+
# @param input_file Input file to perform the operation on.
|
83
|
+
# @param [Hash] opts the optional parameters
|
84
|
+
# @option opts [BOOLEAN] :column_names_from_first_row Optional; If true, the first row will be used as the labels for the columns; if false, columns will be named Column0, Column1, etc. Default is true. Set to false if you are not using column headings, or have an irregular column structure.
|
85
|
+
# @return [String]
|
86
|
+
def convert_data_csv_to_xml(input_file, opts = {})
|
87
|
+
data, _status_code, _headers = convert_data_csv_to_xml_with_http_info(input_file, opts)
|
88
|
+
data
|
89
|
+
end
|
90
|
+
|
91
|
+
# Convert CSV to XML conversion
|
92
|
+
# Convert a CSV file to a XML file
|
93
|
+
# @param input_file Input file to perform the operation on.
|
94
|
+
# @param [Hash] opts the optional parameters
|
95
|
+
# @option opts [BOOLEAN] :column_names_from_first_row Optional; If true, the first row will be used as the labels for the columns; if false, columns will be named Column0, Column1, etc. Default is true. Set to false if you are not using column headings, or have an irregular column structure.
|
96
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
97
|
+
def convert_data_csv_to_xml_with_http_info(input_file, opts = {})
|
98
|
+
if @api_client.config.debugging
|
99
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_csv_to_xml ...'
|
100
|
+
end
|
101
|
+
# verify the required parameter 'input_file' is set
|
102
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
103
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_csv_to_xml"
|
104
|
+
end
|
105
|
+
# resource path
|
106
|
+
local_var_path = '/convert/csv/to/xml'
|
107
|
+
|
108
|
+
# query parameters
|
109
|
+
query_params = {}
|
110
|
+
|
111
|
+
# header parameters
|
112
|
+
header_params = {}
|
113
|
+
# HTTP header 'Accept' (if needed)
|
114
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
115
|
+
# HTTP header 'Content-Type'
|
116
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
117
|
+
header_params[:'columnNamesFromFirstRow'] = opts[:'column_names_from_first_row'] if !opts[:'column_names_from_first_row'].nil?
|
118
|
+
|
119
|
+
# form parameters
|
120
|
+
form_params = {}
|
121
|
+
form_params['inputFile'] = input_file
|
122
|
+
|
123
|
+
# http body (model)
|
124
|
+
post_body = nil
|
125
|
+
auth_names = ['Apikey']
|
126
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
127
|
+
:header_params => header_params,
|
128
|
+
:query_params => query_params,
|
129
|
+
:form_params => form_params,
|
130
|
+
:body => post_body,
|
131
|
+
:auth_names => auth_names,
|
132
|
+
:return_type => 'String')
|
133
|
+
if @api_client.config.debugging
|
134
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_csv_to_xml\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
135
|
+
end
|
136
|
+
return data, status_code, headers
|
137
|
+
end
|
138
|
+
# Convert JSON to XML conversion
|
139
|
+
# Convert a JSON object into XML
|
140
|
+
# @param json_object Input JSON to convert to XML
|
141
|
+
# @param [Hash] opts the optional parameters
|
142
|
+
# @return [String]
|
143
|
+
def convert_data_json_to_xml(json_object, opts = {})
|
144
|
+
data, _status_code, _headers = convert_data_json_to_xml_with_http_info(json_object, opts)
|
145
|
+
data
|
146
|
+
end
|
147
|
+
|
148
|
+
# Convert JSON to XML conversion
|
149
|
+
# Convert a JSON object into XML
|
150
|
+
# @param json_object Input JSON to convert to XML
|
151
|
+
# @param [Hash] opts the optional parameters
|
152
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
153
|
+
def convert_data_json_to_xml_with_http_info(json_object, opts = {})
|
154
|
+
if @api_client.config.debugging
|
155
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_json_to_xml ...'
|
156
|
+
end
|
157
|
+
# verify the required parameter 'json_object' is set
|
158
|
+
if @api_client.config.client_side_validation && json_object.nil?
|
159
|
+
fail ArgumentError, "Missing the required parameter 'json_object' when calling ConvertDataApi.convert_data_json_to_xml"
|
160
|
+
end
|
161
|
+
# resource path
|
162
|
+
local_var_path = '/convert/json/to/xml'
|
163
|
+
|
164
|
+
# query parameters
|
165
|
+
query_params = {}
|
166
|
+
|
167
|
+
# header parameters
|
168
|
+
header_params = {}
|
169
|
+
# HTTP header 'Accept' (if needed)
|
170
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/xml'])
|
171
|
+
# HTTP header 'Content-Type'
|
172
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
173
|
+
|
174
|
+
# form parameters
|
175
|
+
form_params = {}
|
176
|
+
|
177
|
+
# http body (model)
|
178
|
+
post_body = @api_client.object_to_http_body(json_object)
|
179
|
+
auth_names = ['Apikey']
|
180
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
181
|
+
:header_params => header_params,
|
182
|
+
:query_params => query_params,
|
183
|
+
:form_params => form_params,
|
184
|
+
:body => post_body,
|
185
|
+
:auth_names => auth_names,
|
186
|
+
:return_type => 'String')
|
187
|
+
if @api_client.config.debugging
|
188
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_json_to_xml\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
189
|
+
end
|
190
|
+
return data, status_code, headers
|
191
|
+
end
|
192
|
+
# Convert Excel (97-2003) XLS to JSON conversion
|
193
|
+
# Convert an Excel (97-2003) XLS file to a JSON object array
|
194
|
+
# @param input_file Input file to perform the operation on.
|
195
|
+
# @param [Hash] opts the optional parameters
|
196
|
+
# @return [Object]
|
197
|
+
def convert_data_xls_to_json(input_file, opts = {})
|
198
|
+
data, _status_code, _headers = convert_data_xls_to_json_with_http_info(input_file, opts)
|
199
|
+
data
|
200
|
+
end
|
201
|
+
|
202
|
+
# Convert Excel (97-2003) XLS to JSON conversion
|
203
|
+
# Convert an Excel (97-2003) XLS file to a JSON object array
|
204
|
+
# @param input_file Input file to perform the operation on.
|
205
|
+
# @param [Hash] opts the optional parameters
|
206
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
207
|
+
def convert_data_xls_to_json_with_http_info(input_file, opts = {})
|
208
|
+
if @api_client.config.debugging
|
209
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_xls_to_json ...'
|
210
|
+
end
|
211
|
+
# verify the required parameter 'input_file' is set
|
212
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
213
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xls_to_json"
|
214
|
+
end
|
215
|
+
# resource path
|
216
|
+
local_var_path = '/convert/xls/to/json'
|
217
|
+
|
218
|
+
# query parameters
|
219
|
+
query_params = {}
|
220
|
+
|
221
|
+
# header parameters
|
222
|
+
header_params = {}
|
223
|
+
# HTTP header 'Accept' (if needed)
|
224
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
225
|
+
# HTTP header 'Content-Type'
|
226
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
227
|
+
|
228
|
+
# form parameters
|
229
|
+
form_params = {}
|
230
|
+
form_params['inputFile'] = input_file
|
231
|
+
|
232
|
+
# http body (model)
|
233
|
+
post_body = nil
|
234
|
+
auth_names = ['Apikey']
|
235
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
236
|
+
:header_params => header_params,
|
237
|
+
:query_params => query_params,
|
238
|
+
:form_params => form_params,
|
239
|
+
:body => post_body,
|
240
|
+
:auth_names => auth_names,
|
241
|
+
:return_type => 'Object')
|
242
|
+
if @api_client.config.debugging
|
243
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xls_to_json\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
244
|
+
end
|
245
|
+
return data, status_code, headers
|
246
|
+
end
|
247
|
+
# Convert Excel XLSX to JSON conversion
|
248
|
+
# Convert an Excel XLSX file to a JSON object array
|
249
|
+
# @param input_file Input file to perform the operation on.
|
250
|
+
# @param [Hash] opts the optional parameters
|
251
|
+
# @return [String]
|
252
|
+
def convert_data_xlsx_to_json(input_file, opts = {})
|
253
|
+
data, _status_code, _headers = convert_data_xlsx_to_json_with_http_info(input_file, opts)
|
254
|
+
data
|
255
|
+
end
|
256
|
+
|
257
|
+
# Convert Excel XLSX to JSON conversion
|
258
|
+
# Convert an Excel XLSX file to a JSON object array
|
259
|
+
# @param input_file Input file to perform the operation on.
|
260
|
+
# @param [Hash] opts the optional parameters
|
261
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
262
|
+
def convert_data_xlsx_to_json_with_http_info(input_file, opts = {})
|
263
|
+
if @api_client.config.debugging
|
264
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_xlsx_to_json ...'
|
265
|
+
end
|
266
|
+
# verify the required parameter 'input_file' is set
|
267
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
268
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xlsx_to_json"
|
269
|
+
end
|
270
|
+
# resource path
|
271
|
+
local_var_path = '/convert/xlsx/to/json'
|
272
|
+
|
273
|
+
# query parameters
|
274
|
+
query_params = {}
|
275
|
+
|
276
|
+
# header parameters
|
277
|
+
header_params = {}
|
278
|
+
# HTTP header 'Accept' (if needed)
|
279
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
280
|
+
# HTTP header 'Content-Type'
|
281
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
282
|
+
|
283
|
+
# form parameters
|
284
|
+
form_params = {}
|
285
|
+
form_params['inputFile'] = input_file
|
286
|
+
|
287
|
+
# http body (model)
|
288
|
+
post_body = nil
|
289
|
+
auth_names = ['Apikey']
|
290
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
291
|
+
:header_params => header_params,
|
292
|
+
:query_params => query_params,
|
293
|
+
:form_params => form_params,
|
294
|
+
:body => post_body,
|
295
|
+
:auth_names => auth_names,
|
296
|
+
:return_type => 'String')
|
297
|
+
if @api_client.config.debugging
|
298
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xlsx_to_json\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
299
|
+
end
|
300
|
+
return data, status_code, headers
|
301
|
+
end
|
302
|
+
# Convert Excel XLSX to XML conversion
|
303
|
+
# Convert an Excel XLSX file to a XML file
|
304
|
+
# @param input_file Input file to perform the operation on.
|
305
|
+
# @param [Hash] opts the optional parameters
|
306
|
+
# @return [String]
|
307
|
+
def convert_data_xlsx_to_xml(input_file, opts = {})
|
308
|
+
data, _status_code, _headers = convert_data_xlsx_to_xml_with_http_info(input_file, opts)
|
309
|
+
data
|
310
|
+
end
|
311
|
+
|
312
|
+
# Convert Excel XLSX to XML conversion
|
313
|
+
# Convert an Excel XLSX file to a XML file
|
314
|
+
# @param input_file Input file to perform the operation on.
|
315
|
+
# @param [Hash] opts the optional parameters
|
316
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
317
|
+
def convert_data_xlsx_to_xml_with_http_info(input_file, opts = {})
|
318
|
+
if @api_client.config.debugging
|
319
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_xlsx_to_xml ...'
|
320
|
+
end
|
321
|
+
# verify the required parameter 'input_file' is set
|
322
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
323
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xlsx_to_xml"
|
324
|
+
end
|
325
|
+
# resource path
|
326
|
+
local_var_path = '/convert/xlsx/to/xml'
|
327
|
+
|
328
|
+
# query parameters
|
329
|
+
query_params = {}
|
330
|
+
|
331
|
+
# header parameters
|
332
|
+
header_params = {}
|
333
|
+
# HTTP header 'Accept' (if needed)
|
334
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
335
|
+
# HTTP header 'Content-Type'
|
336
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
337
|
+
|
338
|
+
# form parameters
|
339
|
+
form_params = {}
|
340
|
+
form_params['inputFile'] = input_file
|
341
|
+
|
342
|
+
# http body (model)
|
343
|
+
post_body = nil
|
344
|
+
auth_names = ['Apikey']
|
345
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
346
|
+
:header_params => header_params,
|
347
|
+
:query_params => query_params,
|
348
|
+
:form_params => form_params,
|
349
|
+
:body => post_body,
|
350
|
+
:auth_names => auth_names,
|
351
|
+
:return_type => 'String')
|
352
|
+
if @api_client.config.debugging
|
353
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xlsx_to_xml\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
354
|
+
end
|
355
|
+
return data, status_code, headers
|
356
|
+
end
|
357
|
+
# Adds an attribute to all XML nodes matching XPath expression
|
358
|
+
# Return the reuslts of editing an XML document by adding an attribute to all of the nodes that match an input XPath expression.
|
359
|
+
# @param input_file Input XML file to perform the operation on.
|
360
|
+
# @param x_path_expression Valid XML XPath query expression
|
361
|
+
# @param xml_attribute_name Name of the XML attribute to add
|
362
|
+
# @param xml_attribute_value Value of the XML attribute to add
|
363
|
+
# @param [Hash] opts the optional parameters
|
364
|
+
# @return [XmlAddAttributeWithXPathResult]
|
365
|
+
def convert_data_xml_edit_add_attribute_with_x_path(input_file, x_path_expression, xml_attribute_name, xml_attribute_value, opts = {})
|
366
|
+
data, _status_code, _headers = convert_data_xml_edit_add_attribute_with_x_path_with_http_info(input_file, x_path_expression, xml_attribute_name, xml_attribute_value, opts)
|
367
|
+
data
|
368
|
+
end
|
369
|
+
|
370
|
+
# Adds an attribute to all XML nodes matching XPath expression
|
371
|
+
# Return the reuslts of editing an XML document by adding an attribute to all of the nodes that match an input XPath expression.
|
372
|
+
# @param input_file Input XML file to perform the operation on.
|
373
|
+
# @param x_path_expression Valid XML XPath query expression
|
374
|
+
# @param xml_attribute_name Name of the XML attribute to add
|
375
|
+
# @param xml_attribute_value Value of the XML attribute to add
|
376
|
+
# @param [Hash] opts the optional parameters
|
377
|
+
# @return [Array<(XmlAddAttributeWithXPathResult, Fixnum, Hash)>] XmlAddAttributeWithXPathResult data, response status code and response headers
|
378
|
+
def convert_data_xml_edit_add_attribute_with_x_path_with_http_info(input_file, x_path_expression, xml_attribute_name, xml_attribute_value, opts = {})
|
379
|
+
if @api_client.config.debugging
|
380
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_xml_edit_add_attribute_with_x_path ...'
|
381
|
+
end
|
382
|
+
# verify the required parameter 'input_file' is set
|
383
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
384
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_edit_add_attribute_with_x_path"
|
385
|
+
end
|
386
|
+
# verify the required parameter 'x_path_expression' is set
|
387
|
+
if @api_client.config.client_side_validation && x_path_expression.nil?
|
388
|
+
fail ArgumentError, "Missing the required parameter 'x_path_expression' when calling ConvertDataApi.convert_data_xml_edit_add_attribute_with_x_path"
|
389
|
+
end
|
390
|
+
# verify the required parameter 'xml_attribute_name' is set
|
391
|
+
if @api_client.config.client_side_validation && xml_attribute_name.nil?
|
392
|
+
fail ArgumentError, "Missing the required parameter 'xml_attribute_name' when calling ConvertDataApi.convert_data_xml_edit_add_attribute_with_x_path"
|
393
|
+
end
|
394
|
+
# verify the required parameter 'xml_attribute_value' is set
|
395
|
+
if @api_client.config.client_side_validation && xml_attribute_value.nil?
|
396
|
+
fail ArgumentError, "Missing the required parameter 'xml_attribute_value' when calling ConvertDataApi.convert_data_xml_edit_add_attribute_with_x_path"
|
397
|
+
end
|
398
|
+
# resource path
|
399
|
+
local_var_path = '/convert/xml/edit/xpath/add-attribute'
|
400
|
+
|
401
|
+
# query parameters
|
402
|
+
query_params = {}
|
403
|
+
|
404
|
+
# header parameters
|
405
|
+
header_params = {}
|
406
|
+
# HTTP header 'Accept' (if needed)
|
407
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
408
|
+
header_params[:'XPathExpression'] = x_path_expression
|
409
|
+
header_params[:'XmlAttributeName'] = xml_attribute_name
|
410
|
+
header_params[:'XmlAttributeValue'] = xml_attribute_value
|
411
|
+
|
412
|
+
# form parameters
|
413
|
+
form_params = {}
|
414
|
+
form_params['inputFile'] = input_file
|
415
|
+
|
416
|
+
# http body (model)
|
417
|
+
post_body = nil
|
418
|
+
auth_names = ['Apikey']
|
419
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
420
|
+
:header_params => header_params,
|
421
|
+
:query_params => query_params,
|
422
|
+
:form_params => form_params,
|
423
|
+
:body => post_body,
|
424
|
+
:auth_names => auth_names,
|
425
|
+
:return_type => 'XmlAddAttributeWithXPathResult')
|
426
|
+
if @api_client.config.debugging
|
427
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_edit_add_attribute_with_x_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
428
|
+
end
|
429
|
+
return data, status_code, headers
|
430
|
+
end
|
431
|
+
# Adds an XML node as a child to XML nodes matching XPath expression
|
432
|
+
# Return the reuslts of editing an XML document by adding an XML node as a child to all of the nodes that match an input XPath expression.
|
433
|
+
# @param input_file Input XML file to perform the operation on.
|
434
|
+
# @param x_path_expression Valid XML XPath query expression
|
435
|
+
# @param xml_node_to_add XML Node to add as a child
|
436
|
+
# @param [Hash] opts the optional parameters
|
437
|
+
# @return [XmlAddChildWithXPathResult]
|
438
|
+
def convert_data_xml_edit_add_child_with_x_path(input_file, x_path_expression, xml_node_to_add, opts = {})
|
439
|
+
data, _status_code, _headers = convert_data_xml_edit_add_child_with_x_path_with_http_info(input_file, x_path_expression, xml_node_to_add, opts)
|
440
|
+
data
|
441
|
+
end
|
442
|
+
|
443
|
+
# Adds an XML node as a child to XML nodes matching XPath expression
|
444
|
+
# Return the reuslts of editing an XML document by adding an XML node as a child to all of the nodes that match an input XPath expression.
|
445
|
+
# @param input_file Input XML file to perform the operation on.
|
446
|
+
# @param x_path_expression Valid XML XPath query expression
|
447
|
+
# @param xml_node_to_add XML Node to add as a child
|
448
|
+
# @param [Hash] opts the optional parameters
|
449
|
+
# @return [Array<(XmlAddChildWithXPathResult, Fixnum, Hash)>] XmlAddChildWithXPathResult data, response status code and response headers
|
450
|
+
def convert_data_xml_edit_add_child_with_x_path_with_http_info(input_file, x_path_expression, xml_node_to_add, opts = {})
|
451
|
+
if @api_client.config.debugging
|
452
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_xml_edit_add_child_with_x_path ...'
|
453
|
+
end
|
454
|
+
# verify the required parameter 'input_file' is set
|
455
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
456
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_edit_add_child_with_x_path"
|
457
|
+
end
|
458
|
+
# verify the required parameter 'x_path_expression' is set
|
459
|
+
if @api_client.config.client_side_validation && x_path_expression.nil?
|
460
|
+
fail ArgumentError, "Missing the required parameter 'x_path_expression' when calling ConvertDataApi.convert_data_xml_edit_add_child_with_x_path"
|
461
|
+
end
|
462
|
+
# verify the required parameter 'xml_node_to_add' is set
|
463
|
+
if @api_client.config.client_side_validation && xml_node_to_add.nil?
|
464
|
+
fail ArgumentError, "Missing the required parameter 'xml_node_to_add' when calling ConvertDataApi.convert_data_xml_edit_add_child_with_x_path"
|
465
|
+
end
|
466
|
+
# resource path
|
467
|
+
local_var_path = '/convert/xml/edit/xpath/add-child'
|
468
|
+
|
469
|
+
# query parameters
|
470
|
+
query_params = {}
|
471
|
+
|
472
|
+
# header parameters
|
473
|
+
header_params = {}
|
474
|
+
# HTTP header 'Accept' (if needed)
|
475
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
476
|
+
header_params[:'XPathExpression'] = x_path_expression
|
477
|
+
header_params[:'XmlNodeToAdd'] = xml_node_to_add
|
478
|
+
|
479
|
+
# form parameters
|
480
|
+
form_params = {}
|
481
|
+
form_params['inputFile'] = input_file
|
482
|
+
|
483
|
+
# http body (model)
|
484
|
+
post_body = nil
|
485
|
+
auth_names = ['Apikey']
|
486
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
487
|
+
:header_params => header_params,
|
488
|
+
:query_params => query_params,
|
489
|
+
:form_params => form_params,
|
490
|
+
:body => post_body,
|
491
|
+
:auth_names => auth_names,
|
492
|
+
:return_type => 'XmlAddChildWithXPathResult')
|
493
|
+
if @api_client.config.debugging
|
494
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_edit_add_child_with_x_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
495
|
+
end
|
496
|
+
return data, status_code, headers
|
497
|
+
end
|
498
|
+
# Removes, deletes all children of nodes matching XPath expression, but does not remove the nodes
|
499
|
+
# Return the reuslts of editing an XML document by removing all child nodes of the nodes that match an input XPath expression.
|
500
|
+
# @param input_file Input XML file to perform the operation on.
|
501
|
+
# @param x_path_expression Valid XML XPath query expression
|
502
|
+
# @param [Hash] opts the optional parameters
|
503
|
+
# @return [XmlRemoveAllChildrenWithXPathResult]
|
504
|
+
def convert_data_xml_edit_remove_all_child_nodes_with_x_path(input_file, x_path_expression, opts = {})
|
505
|
+
data, _status_code, _headers = convert_data_xml_edit_remove_all_child_nodes_with_x_path_with_http_info(input_file, x_path_expression, opts)
|
506
|
+
data
|
507
|
+
end
|
508
|
+
|
509
|
+
# Removes, deletes all children of nodes matching XPath expression, but does not remove the nodes
|
510
|
+
# Return the reuslts of editing an XML document by removing all child nodes of the nodes that match an input XPath expression.
|
511
|
+
# @param input_file Input XML file to perform the operation on.
|
512
|
+
# @param x_path_expression Valid XML XPath query expression
|
513
|
+
# @param [Hash] opts the optional parameters
|
514
|
+
# @return [Array<(XmlRemoveAllChildrenWithXPathResult, Fixnum, Hash)>] XmlRemoveAllChildrenWithXPathResult data, response status code and response headers
|
515
|
+
def convert_data_xml_edit_remove_all_child_nodes_with_x_path_with_http_info(input_file, x_path_expression, opts = {})
|
516
|
+
if @api_client.config.debugging
|
517
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_xml_edit_remove_all_child_nodes_with_x_path ...'
|
518
|
+
end
|
519
|
+
# verify the required parameter 'input_file' is set
|
520
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
521
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_edit_remove_all_child_nodes_with_x_path"
|
522
|
+
end
|
523
|
+
# verify the required parameter 'x_path_expression' is set
|
524
|
+
if @api_client.config.client_side_validation && x_path_expression.nil?
|
525
|
+
fail ArgumentError, "Missing the required parameter 'x_path_expression' when calling ConvertDataApi.convert_data_xml_edit_remove_all_child_nodes_with_x_path"
|
526
|
+
end
|
527
|
+
# resource path
|
528
|
+
local_var_path = '/convert/xml/edit/xpath/remove-all-children'
|
529
|
+
|
530
|
+
# query parameters
|
531
|
+
query_params = {}
|
532
|
+
|
533
|
+
# header parameters
|
534
|
+
header_params = {}
|
535
|
+
# HTTP header 'Accept' (if needed)
|
536
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
537
|
+
header_params[:'XPathExpression'] = x_path_expression
|
538
|
+
|
539
|
+
# form parameters
|
540
|
+
form_params = {}
|
541
|
+
form_params['inputFile'] = input_file
|
542
|
+
|
543
|
+
# http body (model)
|
544
|
+
post_body = nil
|
545
|
+
auth_names = ['Apikey']
|
546
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
547
|
+
:header_params => header_params,
|
548
|
+
:query_params => query_params,
|
549
|
+
:form_params => form_params,
|
550
|
+
:body => post_body,
|
551
|
+
:auth_names => auth_names,
|
552
|
+
:return_type => 'XmlRemoveAllChildrenWithXPathResult')
|
553
|
+
if @api_client.config.debugging
|
554
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_edit_remove_all_child_nodes_with_x_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
555
|
+
end
|
556
|
+
return data, status_code, headers
|
557
|
+
end
|
558
|
+
# Replaces XML nodes matching XPath expression with new node
|
559
|
+
# Return the reuslts of editing an XML document by replacing all of the nodes that match an input XPath expression with a new XML node expression.
|
560
|
+
# @param input_file Input XML file to perform the operation on.
|
561
|
+
# @param x_path_expression Valid XML XPath query expression
|
562
|
+
# @param xml_node_replacement XML Node replacement content
|
563
|
+
# @param [Hash] opts the optional parameters
|
564
|
+
# @return [XmlReplaceWithXPathResult]
|
565
|
+
def convert_data_xml_edit_replace_with_x_path(input_file, x_path_expression, xml_node_replacement, opts = {})
|
566
|
+
data, _status_code, _headers = convert_data_xml_edit_replace_with_x_path_with_http_info(input_file, x_path_expression, xml_node_replacement, opts)
|
567
|
+
data
|
568
|
+
end
|
569
|
+
|
570
|
+
# Replaces XML nodes matching XPath expression with new node
|
571
|
+
# Return the reuslts of editing an XML document by replacing all of the nodes that match an input XPath expression with a new XML node expression.
|
572
|
+
# @param input_file Input XML file to perform the operation on.
|
573
|
+
# @param x_path_expression Valid XML XPath query expression
|
574
|
+
# @param xml_node_replacement XML Node replacement content
|
575
|
+
# @param [Hash] opts the optional parameters
|
576
|
+
# @return [Array<(XmlReplaceWithXPathResult, Fixnum, Hash)>] XmlReplaceWithXPathResult data, response status code and response headers
|
577
|
+
def convert_data_xml_edit_replace_with_x_path_with_http_info(input_file, x_path_expression, xml_node_replacement, opts = {})
|
578
|
+
if @api_client.config.debugging
|
579
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_xml_edit_replace_with_x_path ...'
|
580
|
+
end
|
581
|
+
# verify the required parameter 'input_file' is set
|
582
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
583
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_edit_replace_with_x_path"
|
584
|
+
end
|
585
|
+
# verify the required parameter 'x_path_expression' is set
|
586
|
+
if @api_client.config.client_side_validation && x_path_expression.nil?
|
587
|
+
fail ArgumentError, "Missing the required parameter 'x_path_expression' when calling ConvertDataApi.convert_data_xml_edit_replace_with_x_path"
|
588
|
+
end
|
589
|
+
# verify the required parameter 'xml_node_replacement' is set
|
590
|
+
if @api_client.config.client_side_validation && xml_node_replacement.nil?
|
591
|
+
fail ArgumentError, "Missing the required parameter 'xml_node_replacement' when calling ConvertDataApi.convert_data_xml_edit_replace_with_x_path"
|
592
|
+
end
|
593
|
+
# resource path
|
594
|
+
local_var_path = '/convert/xml/edit/xpath/replace'
|
595
|
+
|
596
|
+
# query parameters
|
597
|
+
query_params = {}
|
598
|
+
|
599
|
+
# header parameters
|
600
|
+
header_params = {}
|
601
|
+
# HTTP header 'Accept' (if needed)
|
602
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
603
|
+
header_params[:'XPathExpression'] = x_path_expression
|
604
|
+
header_params[:'XmlNodeReplacement'] = xml_node_replacement
|
605
|
+
|
606
|
+
# form parameters
|
607
|
+
form_params = {}
|
608
|
+
form_params['inputFile'] = input_file
|
609
|
+
|
610
|
+
# http body (model)
|
611
|
+
post_body = nil
|
612
|
+
auth_names = ['Apikey']
|
613
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
614
|
+
:header_params => header_params,
|
615
|
+
:query_params => query_params,
|
616
|
+
:form_params => form_params,
|
617
|
+
:body => post_body,
|
618
|
+
:auth_names => auth_names,
|
619
|
+
:return_type => 'XmlReplaceWithXPathResult')
|
620
|
+
if @api_client.config.debugging
|
621
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_edit_replace_with_x_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
622
|
+
end
|
623
|
+
return data, status_code, headers
|
624
|
+
end
|
625
|
+
# Sets the value contents of XML nodes matching XPath expression
|
626
|
+
# Return the reuslts of editing an XML document by setting the contents of all of the nodes that match an input XPath expression. Supports elements and attributes.
|
627
|
+
# @param input_file Input XML file to perform the operation on.
|
628
|
+
# @param x_path_expression Valid XML XPath query expression
|
629
|
+
# @param xml_value XML Value to set into the matching XML nodes
|
630
|
+
# @param [Hash] opts the optional parameters
|
631
|
+
# @return [XmlSetValueWithXPathResult]
|
632
|
+
def convert_data_xml_edit_set_value_with_x_path(input_file, x_path_expression, xml_value, opts = {})
|
633
|
+
data, _status_code, _headers = convert_data_xml_edit_set_value_with_x_path_with_http_info(input_file, x_path_expression, xml_value, opts)
|
634
|
+
data
|
635
|
+
end
|
636
|
+
|
637
|
+
# Sets the value contents of XML nodes matching XPath expression
|
638
|
+
# Return the reuslts of editing an XML document by setting the contents of all of the nodes that match an input XPath expression. Supports elements and attributes.
|
639
|
+
# @param input_file Input XML file to perform the operation on.
|
640
|
+
# @param x_path_expression Valid XML XPath query expression
|
641
|
+
# @param xml_value XML Value to set into the matching XML nodes
|
642
|
+
# @param [Hash] opts the optional parameters
|
643
|
+
# @return [Array<(XmlSetValueWithXPathResult, Fixnum, Hash)>] XmlSetValueWithXPathResult data, response status code and response headers
|
644
|
+
def convert_data_xml_edit_set_value_with_x_path_with_http_info(input_file, x_path_expression, xml_value, opts = {})
|
645
|
+
if @api_client.config.debugging
|
646
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_xml_edit_set_value_with_x_path ...'
|
647
|
+
end
|
648
|
+
# verify the required parameter 'input_file' is set
|
649
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
650
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_edit_set_value_with_x_path"
|
651
|
+
end
|
652
|
+
# verify the required parameter 'x_path_expression' is set
|
653
|
+
if @api_client.config.client_side_validation && x_path_expression.nil?
|
654
|
+
fail ArgumentError, "Missing the required parameter 'x_path_expression' when calling ConvertDataApi.convert_data_xml_edit_set_value_with_x_path"
|
655
|
+
end
|
656
|
+
# verify the required parameter 'xml_value' is set
|
657
|
+
if @api_client.config.client_side_validation && xml_value.nil?
|
658
|
+
fail ArgumentError, "Missing the required parameter 'xml_value' when calling ConvertDataApi.convert_data_xml_edit_set_value_with_x_path"
|
659
|
+
end
|
660
|
+
# resource path
|
661
|
+
local_var_path = '/convert/xml/edit/xpath/set-value'
|
662
|
+
|
663
|
+
# query parameters
|
664
|
+
query_params = {}
|
665
|
+
|
666
|
+
# header parameters
|
667
|
+
header_params = {}
|
668
|
+
# HTTP header 'Accept' (if needed)
|
669
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
670
|
+
header_params[:'XPathExpression'] = x_path_expression
|
671
|
+
header_params[:'XmlValue'] = xml_value
|
672
|
+
|
673
|
+
# form parameters
|
674
|
+
form_params = {}
|
675
|
+
form_params['inputFile'] = input_file
|
676
|
+
|
677
|
+
# http body (model)
|
678
|
+
post_body = nil
|
679
|
+
auth_names = ['Apikey']
|
680
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
681
|
+
:header_params => header_params,
|
682
|
+
:query_params => query_params,
|
683
|
+
:form_params => form_params,
|
684
|
+
:body => post_body,
|
685
|
+
:auth_names => auth_names,
|
686
|
+
:return_type => 'XmlSetValueWithXPathResult')
|
687
|
+
if @api_client.config.debugging
|
688
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_edit_set_value_with_x_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
689
|
+
end
|
690
|
+
return data, status_code, headers
|
691
|
+
end
|
692
|
+
# Filter, select XML nodes using XPath expression, get results
|
693
|
+
# Return the reuslts of filtering, selecting an XML document with an XPath expression
|
694
|
+
# @param x_path_expression Valid XML XPath query expression
|
695
|
+
# @param input_file Input file to perform the operation on.
|
696
|
+
# @param [Hash] opts the optional parameters
|
697
|
+
# @return [XmlFilterWithXPathResult]
|
698
|
+
def convert_data_xml_filter_with_x_path(x_path_expression, input_file, opts = {})
|
699
|
+
data, _status_code, _headers = convert_data_xml_filter_with_x_path_with_http_info(x_path_expression, input_file, opts)
|
700
|
+
data
|
701
|
+
end
|
702
|
+
|
703
|
+
# Filter, select XML nodes using XPath expression, get results
|
704
|
+
# Return the reuslts of filtering, selecting an XML document with an XPath expression
|
705
|
+
# @param x_path_expression Valid XML XPath query expression
|
706
|
+
# @param input_file Input file to perform the operation on.
|
707
|
+
# @param [Hash] opts the optional parameters
|
708
|
+
# @return [Array<(XmlFilterWithXPathResult, Fixnum, Hash)>] XmlFilterWithXPathResult data, response status code and response headers
|
709
|
+
def convert_data_xml_filter_with_x_path_with_http_info(x_path_expression, input_file, opts = {})
|
710
|
+
if @api_client.config.debugging
|
711
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_xml_filter_with_x_path ...'
|
712
|
+
end
|
713
|
+
# verify the required parameter 'x_path_expression' is set
|
714
|
+
if @api_client.config.client_side_validation && x_path_expression.nil?
|
715
|
+
fail ArgumentError, "Missing the required parameter 'x_path_expression' when calling ConvertDataApi.convert_data_xml_filter_with_x_path"
|
716
|
+
end
|
717
|
+
# verify the required parameter 'input_file' is set
|
718
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
719
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_filter_with_x_path"
|
720
|
+
end
|
721
|
+
# resource path
|
722
|
+
local_var_path = '/convert/xml/select/xpath'
|
723
|
+
|
724
|
+
# query parameters
|
725
|
+
query_params = {}
|
726
|
+
|
727
|
+
# header parameters
|
728
|
+
header_params = {}
|
729
|
+
# HTTP header 'Accept' (if needed)
|
730
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
731
|
+
# HTTP header 'Content-Type'
|
732
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
733
|
+
header_params[:'XPathExpression'] = x_path_expression
|
734
|
+
|
735
|
+
# form parameters
|
736
|
+
form_params = {}
|
737
|
+
form_params['inputFile'] = input_file
|
738
|
+
|
739
|
+
# http body (model)
|
740
|
+
post_body = nil
|
741
|
+
auth_names = ['Apikey']
|
742
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
743
|
+
:header_params => header_params,
|
744
|
+
:query_params => query_params,
|
745
|
+
:form_params => form_params,
|
746
|
+
:body => post_body,
|
747
|
+
:auth_names => auth_names,
|
748
|
+
:return_type => 'XmlFilterWithXPathResult')
|
749
|
+
if @api_client.config.debugging
|
750
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_filter_with_x_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
751
|
+
end
|
752
|
+
return data, status_code, headers
|
753
|
+
end
|
754
|
+
# Query an XML file using XQuery query, get results
|
755
|
+
# Return the reuslts of querying a single XML document with an XQuery expression. Supports XQuery 3.1 and earlier. This API is optimized for a single XML document as input. Provided XML document is automatically loaded as the default context; to access elements in the document, simply refer to them without a document reference, such as bookstore/book
|
756
|
+
# @param input_file Input XML file to perform the operation on.
|
757
|
+
# @param x_query Valid XML XQuery 3.1 or earlier query expression; multi-line expressions are supported
|
758
|
+
# @param [Hash] opts the optional parameters
|
759
|
+
# @return [XmlQueryWithXQueryResult]
|
760
|
+
def convert_data_xml_query_with_x_query(input_file, x_query, opts = {})
|
761
|
+
data, _status_code, _headers = convert_data_xml_query_with_x_query_with_http_info(input_file, x_query, opts)
|
762
|
+
data
|
763
|
+
end
|
764
|
+
|
765
|
+
# Query an XML file using XQuery query, get results
|
766
|
+
# Return the reuslts of querying a single XML document with an XQuery expression. Supports XQuery 3.1 and earlier. This API is optimized for a single XML document as input. Provided XML document is automatically loaded as the default context; to access elements in the document, simply refer to them without a document reference, such as bookstore/book
|
767
|
+
# @param input_file Input XML file to perform the operation on.
|
768
|
+
# @param x_query Valid XML XQuery 3.1 or earlier query expression; multi-line expressions are supported
|
769
|
+
# @param [Hash] opts the optional parameters
|
770
|
+
# @return [Array<(XmlQueryWithXQueryResult, Fixnum, Hash)>] XmlQueryWithXQueryResult data, response status code and response headers
|
771
|
+
def convert_data_xml_query_with_x_query_with_http_info(input_file, x_query, opts = {})
|
772
|
+
if @api_client.config.debugging
|
773
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_xml_query_with_x_query ...'
|
774
|
+
end
|
775
|
+
# verify the required parameter 'input_file' is set
|
776
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
777
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_query_with_x_query"
|
778
|
+
end
|
779
|
+
# verify the required parameter 'x_query' is set
|
780
|
+
if @api_client.config.client_side_validation && x_query.nil?
|
781
|
+
fail ArgumentError, "Missing the required parameter 'x_query' when calling ConvertDataApi.convert_data_xml_query_with_x_query"
|
782
|
+
end
|
783
|
+
# resource path
|
784
|
+
local_var_path = '/convert/xml/query/xquery'
|
785
|
+
|
786
|
+
# query parameters
|
787
|
+
query_params = {}
|
788
|
+
|
789
|
+
# header parameters
|
790
|
+
header_params = {}
|
791
|
+
# HTTP header 'Accept' (if needed)
|
792
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
793
|
+
header_params[:'XQuery'] = x_query
|
794
|
+
|
795
|
+
# form parameters
|
796
|
+
form_params = {}
|
797
|
+
form_params['inputFile'] = input_file
|
798
|
+
|
799
|
+
# http body (model)
|
800
|
+
post_body = nil
|
801
|
+
auth_names = ['Apikey']
|
802
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
803
|
+
:header_params => header_params,
|
804
|
+
:query_params => query_params,
|
805
|
+
:form_params => form_params,
|
806
|
+
:body => post_body,
|
807
|
+
:auth_names => auth_names,
|
808
|
+
:return_type => 'XmlQueryWithXQueryResult')
|
809
|
+
if @api_client.config.debugging
|
810
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_query_with_x_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
811
|
+
end
|
812
|
+
return data, status_code, headers
|
813
|
+
end
|
814
|
+
# Query multiple XML files using XQuery query, get results
|
815
|
+
# Return the reuslts of querying an XML document with an XQuery expression. Supports XQuery 3.1 and earlier. This API is optimized for multiple XML documents as input. You can refer to the contents of a given document by name, for example doc(\"books.xml\") or doc(\"restaurants.xml\") if you included two input files named books.xml and restaurants.xml. If input files contain no file name, they will default to file names input1.xml, input2.xml and so on.
|
816
|
+
# @param input_file1 First input XML file to perform the operation on.
|
817
|
+
# @param x_query Valid XML XQuery 3.1 or earlier query expression; multi-line expressions are supported
|
818
|
+
# @param [Hash] opts the optional parameters
|
819
|
+
# @option opts [File] :input_file2 Second input XML file to perform the operation on.
|
820
|
+
# @option opts [File] :input_file3 Third input XML file to perform the operation on.
|
821
|
+
# @option opts [File] :input_file4 Fourth input XML file to perform the operation on.
|
822
|
+
# @option opts [File] :input_file5 Fifth input XML file to perform the operation on.
|
823
|
+
# @option opts [File] :input_file6 Sixth input XML file to perform the operation on.
|
824
|
+
# @option opts [File] :input_file7 Seventh input XML file to perform the operation on.
|
825
|
+
# @option opts [File] :input_file8 Eighth input XML file to perform the operation on.
|
826
|
+
# @option opts [File] :input_file9 Ninth input XML file to perform the operation on.
|
827
|
+
# @option opts [File] :input_file10 Tenth input XML file to perform the operation on.
|
828
|
+
# @return [XmlQueryWithXQueryMultiResult]
|
829
|
+
def convert_data_xml_query_with_x_query_multi(input_file1, x_query, opts = {})
|
830
|
+
data, _status_code, _headers = convert_data_xml_query_with_x_query_multi_with_http_info(input_file1, x_query, opts)
|
831
|
+
data
|
832
|
+
end
|
833
|
+
|
834
|
+
# Query multiple XML files using XQuery query, get results
|
835
|
+
# Return the reuslts of querying an XML document with an XQuery expression. Supports XQuery 3.1 and earlier. This API is optimized for multiple XML documents as input. You can refer to the contents of a given document by name, for example doc(\"books.xml\") or doc(\"restaurants.xml\") if you included two input files named books.xml and restaurants.xml. If input files contain no file name, they will default to file names input1.xml, input2.xml and so on.
|
836
|
+
# @param input_file1 First input XML file to perform the operation on.
|
837
|
+
# @param x_query Valid XML XQuery 3.1 or earlier query expression; multi-line expressions are supported
|
838
|
+
# @param [Hash] opts the optional parameters
|
839
|
+
# @option opts [File] :input_file2 Second input XML file to perform the operation on.
|
840
|
+
# @option opts [File] :input_file3 Third input XML file to perform the operation on.
|
841
|
+
# @option opts [File] :input_file4 Fourth input XML file to perform the operation on.
|
842
|
+
# @option opts [File] :input_file5 Fifth input XML file to perform the operation on.
|
843
|
+
# @option opts [File] :input_file6 Sixth input XML file to perform the operation on.
|
844
|
+
# @option opts [File] :input_file7 Seventh input XML file to perform the operation on.
|
845
|
+
# @option opts [File] :input_file8 Eighth input XML file to perform the operation on.
|
846
|
+
# @option opts [File] :input_file9 Ninth input XML file to perform the operation on.
|
847
|
+
# @option opts [File] :input_file10 Tenth input XML file to perform the operation on.
|
848
|
+
# @return [Array<(XmlQueryWithXQueryMultiResult, Fixnum, Hash)>] XmlQueryWithXQueryMultiResult data, response status code and response headers
|
849
|
+
def convert_data_xml_query_with_x_query_multi_with_http_info(input_file1, x_query, opts = {})
|
850
|
+
if @api_client.config.debugging
|
851
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_xml_query_with_x_query_multi ...'
|
852
|
+
end
|
853
|
+
# verify the required parameter 'input_file1' is set
|
854
|
+
if @api_client.config.client_side_validation && input_file1.nil?
|
855
|
+
fail ArgumentError, "Missing the required parameter 'input_file1' when calling ConvertDataApi.convert_data_xml_query_with_x_query_multi"
|
856
|
+
end
|
857
|
+
# verify the required parameter 'x_query' is set
|
858
|
+
if @api_client.config.client_side_validation && x_query.nil?
|
859
|
+
fail ArgumentError, "Missing the required parameter 'x_query' when calling ConvertDataApi.convert_data_xml_query_with_x_query_multi"
|
860
|
+
end
|
861
|
+
# resource path
|
862
|
+
local_var_path = '/convert/xml/query/xquery/multi'
|
863
|
+
|
864
|
+
# query parameters
|
865
|
+
query_params = {}
|
866
|
+
|
867
|
+
# header parameters
|
868
|
+
header_params = {}
|
869
|
+
# HTTP header 'Accept' (if needed)
|
870
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
871
|
+
header_params[:'XQuery'] = x_query
|
872
|
+
|
873
|
+
# form parameters
|
874
|
+
form_params = {}
|
875
|
+
form_params['inputFile1'] = input_file1
|
876
|
+
form_params['inputFile2'] = opts[:'input_file2'] if !opts[:'input_file2'].nil?
|
877
|
+
form_params['inputFile3'] = opts[:'input_file3'] if !opts[:'input_file3'].nil?
|
878
|
+
form_params['inputFile4'] = opts[:'input_file4'] if !opts[:'input_file4'].nil?
|
879
|
+
form_params['inputFile5'] = opts[:'input_file5'] if !opts[:'input_file5'].nil?
|
880
|
+
form_params['inputFile6'] = opts[:'input_file6'] if !opts[:'input_file6'].nil?
|
881
|
+
form_params['inputFile7'] = opts[:'input_file7'] if !opts[:'input_file7'].nil?
|
882
|
+
form_params['inputFile8'] = opts[:'input_file8'] if !opts[:'input_file8'].nil?
|
883
|
+
form_params['inputFile9'] = opts[:'input_file9'] if !opts[:'input_file9'].nil?
|
884
|
+
form_params['inputFile10'] = opts[:'input_file10'] if !opts[:'input_file10'].nil?
|
885
|
+
|
886
|
+
# http body (model)
|
887
|
+
post_body = nil
|
888
|
+
auth_names = ['Apikey']
|
889
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
890
|
+
:header_params => header_params,
|
891
|
+
:query_params => query_params,
|
892
|
+
:form_params => form_params,
|
893
|
+
:body => post_body,
|
894
|
+
:auth_names => auth_names,
|
895
|
+
:return_type => 'XmlQueryWithXQueryMultiResult')
|
896
|
+
if @api_client.config.debugging
|
897
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_query_with_x_query_multi\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
898
|
+
end
|
899
|
+
return data, status_code, headers
|
900
|
+
end
|
901
|
+
# Remove, delete XML nodes and items matching XPath expression
|
902
|
+
# Return the reuslts of editing an XML document by removing all of the nodes that match an input XPath expression
|
903
|
+
# @param x_path_expression Valid XML XPath query expression
|
904
|
+
# @param input_file Input file to perform the operation on.
|
905
|
+
# @param [Hash] opts the optional parameters
|
906
|
+
# @return [XmlRemoveWithXPathResult]
|
907
|
+
def convert_data_xml_remove_with_x_path(x_path_expression, input_file, opts = {})
|
908
|
+
data, _status_code, _headers = convert_data_xml_remove_with_x_path_with_http_info(x_path_expression, input_file, opts)
|
909
|
+
data
|
910
|
+
end
|
911
|
+
|
912
|
+
# Remove, delete XML nodes and items matching XPath expression
|
913
|
+
# Return the reuslts of editing an XML document by removing all of the nodes that match an input XPath expression
|
914
|
+
# @param x_path_expression Valid XML XPath query expression
|
915
|
+
# @param input_file Input file to perform the operation on.
|
916
|
+
# @param [Hash] opts the optional parameters
|
917
|
+
# @return [Array<(XmlRemoveWithXPathResult, Fixnum, Hash)>] XmlRemoveWithXPathResult data, response status code and response headers
|
918
|
+
def convert_data_xml_remove_with_x_path_with_http_info(x_path_expression, input_file, opts = {})
|
919
|
+
if @api_client.config.debugging
|
920
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_xml_remove_with_x_path ...'
|
921
|
+
end
|
922
|
+
# verify the required parameter 'x_path_expression' is set
|
923
|
+
if @api_client.config.client_side_validation && x_path_expression.nil?
|
924
|
+
fail ArgumentError, "Missing the required parameter 'x_path_expression' when calling ConvertDataApi.convert_data_xml_remove_with_x_path"
|
925
|
+
end
|
926
|
+
# verify the required parameter 'input_file' is set
|
927
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
928
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_remove_with_x_path"
|
929
|
+
end
|
930
|
+
# resource path
|
931
|
+
local_var_path = '/convert/xml/edit/xpath/remove'
|
932
|
+
|
933
|
+
# query parameters
|
934
|
+
query_params = {}
|
935
|
+
|
936
|
+
# header parameters
|
937
|
+
header_params = {}
|
938
|
+
# HTTP header 'Accept' (if needed)
|
939
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
940
|
+
# HTTP header 'Content-Type'
|
941
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
942
|
+
header_params[:'XPathExpression'] = x_path_expression
|
943
|
+
|
944
|
+
# form parameters
|
945
|
+
form_params = {}
|
946
|
+
form_params['inputFile'] = input_file
|
947
|
+
|
948
|
+
# http body (model)
|
949
|
+
post_body = nil
|
950
|
+
auth_names = ['Apikey']
|
951
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
952
|
+
:header_params => header_params,
|
953
|
+
:query_params => query_params,
|
954
|
+
:form_params => form_params,
|
955
|
+
:body => post_body,
|
956
|
+
:auth_names => auth_names,
|
957
|
+
:return_type => 'XmlRemoveWithXPathResult')
|
958
|
+
if @api_client.config.debugging
|
959
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_remove_with_x_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
960
|
+
end
|
961
|
+
return data, status_code, headers
|
962
|
+
end
|
963
|
+
# Convert XML to JSON conversion
|
964
|
+
# Convert an XML string or file into JSON
|
965
|
+
# @param input_file Input file to perform the operation on.
|
966
|
+
# @param [Hash] opts the optional parameters
|
967
|
+
# @return [Object]
|
968
|
+
def convert_data_xml_to_json(input_file, opts = {})
|
969
|
+
data, _status_code, _headers = convert_data_xml_to_json_with_http_info(input_file, opts)
|
970
|
+
data
|
971
|
+
end
|
972
|
+
|
973
|
+
# Convert XML to JSON conversion
|
974
|
+
# Convert an XML string or file into JSON
|
975
|
+
# @param input_file Input file to perform the operation on.
|
976
|
+
# @param [Hash] opts the optional parameters
|
977
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
978
|
+
def convert_data_xml_to_json_with_http_info(input_file, opts = {})
|
979
|
+
if @api_client.config.debugging
|
980
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_xml_to_json ...'
|
981
|
+
end
|
982
|
+
# verify the required parameter 'input_file' is set
|
983
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
984
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_to_json"
|
985
|
+
end
|
986
|
+
# resource path
|
987
|
+
local_var_path = '/convert/xml/to/json'
|
988
|
+
|
989
|
+
# query parameters
|
990
|
+
query_params = {}
|
991
|
+
|
992
|
+
# header parameters
|
993
|
+
header_params = {}
|
994
|
+
# HTTP header 'Accept' (if needed)
|
995
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
996
|
+
# HTTP header 'Content-Type'
|
997
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
998
|
+
|
999
|
+
# form parameters
|
1000
|
+
form_params = {}
|
1001
|
+
form_params['inputFile'] = input_file
|
1002
|
+
|
1003
|
+
# http body (model)
|
1004
|
+
post_body = nil
|
1005
|
+
auth_names = ['Apikey']
|
1006
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1007
|
+
:header_params => header_params,
|
1008
|
+
:query_params => query_params,
|
1009
|
+
:form_params => form_params,
|
1010
|
+
:body => post_body,
|
1011
|
+
:auth_names => auth_names,
|
1012
|
+
:return_type => 'Object')
|
1013
|
+
if @api_client.config.debugging
|
1014
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_to_json\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1015
|
+
end
|
1016
|
+
return data, status_code, headers
|
1017
|
+
end
|
1018
|
+
# Transform XML document file with XSLT into a new XML document
|
1019
|
+
# Convert an XML string or file into JSON
|
1020
|
+
# @param input_file Input XML file to perform the operation on.
|
1021
|
+
# @param transform_file Input XSLT file to use to transform the input XML file.
|
1022
|
+
# @param [Hash] opts the optional parameters
|
1023
|
+
# @return [String]
|
1024
|
+
def convert_data_xml_transform_with_xslt_to_xml(input_file, transform_file, opts = {})
|
1025
|
+
data, _status_code, _headers = convert_data_xml_transform_with_xslt_to_xml_with_http_info(input_file, transform_file, opts)
|
1026
|
+
data
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# Transform XML document file with XSLT into a new XML document
|
1030
|
+
# Convert an XML string or file into JSON
|
1031
|
+
# @param input_file Input XML file to perform the operation on.
|
1032
|
+
# @param transform_file Input XSLT file to use to transform the input XML file.
|
1033
|
+
# @param [Hash] opts the optional parameters
|
1034
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1035
|
+
def convert_data_xml_transform_with_xslt_to_xml_with_http_info(input_file, transform_file, opts = {})
|
1036
|
+
if @api_client.config.debugging
|
1037
|
+
@api_client.config.logger.debug 'Calling API: ConvertDataApi.convert_data_xml_transform_with_xslt_to_xml ...'
|
1038
|
+
end
|
1039
|
+
# verify the required parameter 'input_file' is set
|
1040
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
1041
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_transform_with_xslt_to_xml"
|
1042
|
+
end
|
1043
|
+
# verify the required parameter 'transform_file' is set
|
1044
|
+
if @api_client.config.client_side_validation && transform_file.nil?
|
1045
|
+
fail ArgumentError, "Missing the required parameter 'transform_file' when calling ConvertDataApi.convert_data_xml_transform_with_xslt_to_xml"
|
1046
|
+
end
|
1047
|
+
# resource path
|
1048
|
+
local_var_path = '/convert/xml/transform/xslt/to/xml'
|
1049
|
+
|
1050
|
+
# query parameters
|
1051
|
+
query_params = {}
|
1052
|
+
|
1053
|
+
# header parameters
|
1054
|
+
header_params = {}
|
1055
|
+
# HTTP header 'Accept' (if needed)
|
1056
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/xml'])
|
1057
|
+
|
1058
|
+
# form parameters
|
1059
|
+
form_params = {}
|
1060
|
+
form_params['inputFile'] = input_file
|
1061
|
+
form_params['transformFile'] = transform_file
|
1062
|
+
|
1063
|
+
# http body (model)
|
1064
|
+
post_body = nil
|
1065
|
+
auth_names = ['Apikey']
|
1066
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1067
|
+
:header_params => header_params,
|
1068
|
+
:query_params => query_params,
|
1069
|
+
:form_params => form_params,
|
1070
|
+
:body => post_body,
|
1071
|
+
:auth_names => auth_names,
|
1072
|
+
:return_type => 'String')
|
1073
|
+
if @api_client.config.debugging
|
1074
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_transform_with_xslt_to_xml\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1075
|
+
end
|
1076
|
+
return data, status_code, headers
|
1077
|
+
end
|
1078
|
+
end
|
1079
|
+
end
|