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