groupdocs_conversion_cloud 21.12 → 22.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/groupdocs_conversion_cloud/api/convert_api.rb +14 -4
- data/lib/groupdocs_conversion_cloud/api/file_api.rb +6 -6
- data/lib/groupdocs_conversion_cloud/api/folder_api.rb +6 -6
- data/lib/groupdocs_conversion_cloud/api/info_api.rb +3 -3
- data/lib/groupdocs_conversion_cloud/api/license_api.rb +1 -1
- data/lib/groupdocs_conversion_cloud/api/storage_api.rb +5 -5
- data/lib/groupdocs_conversion_cloud/api_client.rb +1 -1
- data/lib/groupdocs_conversion_cloud/api_error.rb +1 -1
- data/lib/groupdocs_conversion_cloud/configuration.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/bmp_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/bmp_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/cad_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/cgm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/consumption_result.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/convert_settings.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/csv_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/dcm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dcm_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/dgn_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/diagram_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/disc_usage.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/djvu_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dng_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dng_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/doc_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/doc_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/docm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/docm_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/document_metadata.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/docx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/docx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/dot_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dot_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/dotm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dotm_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/dotx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dotx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/dwf_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/dwg_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/dxf_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/email_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/emf_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/emf_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/eml_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/emlx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/epub_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/error.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/error_details.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/field_label.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/file_version.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/file_versions.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/files_list.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/files_upload_result.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/gif_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/gif_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/html_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/html_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/ico_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ico_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/ifc_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/igs_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/image_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/image_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/j2c_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/j2c_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/j2k_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/j2k_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/jp2_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jp2_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/jpeg_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpeg_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/jpf_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpf_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/jpg_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpg_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/jpm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpm_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/jpx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/load_options.rb +13 -3
- data/lib/groupdocs_conversion_cloud/models/mht_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/mobi_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/msg_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/object_exist.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/odg_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/odg_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/odp_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/odp_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/ods_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ods_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/odt_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/odt_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/one_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/ost_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/otp_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/otp_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/ots_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ots_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/ott_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ott_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/pdf_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pdf_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/plt_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/png_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/png_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/potm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/potm_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/potx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/potx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/pps_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pps_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/ppsm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ppsm_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/ppsx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ppsx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/ppt_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ppt_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/pptm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pptm_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/pptx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pptx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/presentation_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/presentation_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/psd_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/psd_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/pst_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/rtf_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/spreadsheet_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/spreadsheet_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/stl_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/storage_exist.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/storage_file.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/stored_converted_result.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/supported_format.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/svg_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/tif_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/tif_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/tiff_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/tiff_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/tsv_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/tsv_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/txt_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/txt_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/vdw_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/vdx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/vsd_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/vsdm_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/vsdx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/vss_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/vssm_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/vssx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/vst_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/vstm_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/vstx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/vsx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/vtx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/watermark_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/webp_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/webp_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/wmf_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/wmf_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/word_processing_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/word_processing_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/xls2003_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xls2003_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/xls_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xls_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/xlsb_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xlsb_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/xlsm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xlsm_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/xlsx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xlsx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/xltm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xltm_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/xltx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xltx_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/xml_load_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/xps_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/version.rb +2 -2
- data/lib/groupdocs_conversion_cloud.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b93578f301f3dd674254b13c04a283e6619a0be1
|
4
|
+
data.tar.gz: 905df83bec7c3bbe4256d4411ce149b0ae04cf0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36ce390b64933663dc793e7d7ec77e837fd65b9d74adc266c4c38a11dfb0c03fc3da9cd539a2c141dc029838d5093fb0dd10237c3024299ca8eaacd055ec16ae
|
7
|
+
data.tar.gz: 5f9e143615109ec4292646657c556f1e34bfef613196a1f4372ca7d8bbf49ecea5c7193ad86096754c05a28b7e1382d01c9b883f934b867a0568ccff3c1e54b8
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -----------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="convert.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -167,6 +167,8 @@ module GroupDocsConversionCloud
|
|
167
167
|
# form parameters
|
168
168
|
form_params = {}
|
169
169
|
form_params[downcase_first_letter('File')] = request.file
|
170
|
+
form_params[downcase_first_letter('loadOptions')] = @api_client.object_to_http_body(request.load_options) unless request.load_options.nil?
|
171
|
+
form_params[downcase_first_letter('convertOptions')] = @api_client.object_to_http_body(request.convert_options) unless request.convert_options.nil?
|
170
172
|
|
171
173
|
# http body (model)
|
172
174
|
post_body = nil
|
@@ -241,7 +243,7 @@ end
|
|
241
243
|
#
|
242
244
|
# --------------------------------------------------------------------------------------------------------------------
|
243
245
|
# <copyright company="Aspose Pty Ltd" file="convert_document_request.rb">
|
244
|
-
# Copyright (c) 2003-
|
246
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
245
247
|
# </copyright>
|
246
248
|
# <summary>
|
247
249
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -286,7 +288,7 @@ end
|
|
286
288
|
#
|
287
289
|
# --------------------------------------------------------------------------------------------------------------------
|
288
290
|
# <copyright company="Aspose Pty Ltd" file="convert_document_direct_request.rb">
|
289
|
-
# Copyright (c) 2003-
|
291
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
290
292
|
# </copyright>
|
291
293
|
# <summary>
|
292
294
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -325,6 +327,10 @@ module GroupDocsConversionCloud
|
|
325
327
|
attr_accessor :from_page
|
326
328
|
# Number of pages to convert
|
327
329
|
attr_accessor :pages_count
|
330
|
+
# Input file load options
|
331
|
+
attr_accessor :load_options
|
332
|
+
# Conversion options
|
333
|
+
attr_accessor :convert_options
|
328
334
|
|
329
335
|
#
|
330
336
|
# Initializes a new instance.
|
@@ -332,11 +338,15 @@ module GroupDocsConversionCloud
|
|
332
338
|
# @param file Input file to convert
|
333
339
|
# @param from_page Page start conversion from
|
334
340
|
# @param pages_count Number of pages to convert
|
335
|
-
|
341
|
+
# @param load_options Input file load options
|
342
|
+
# @param convert_options Conversion options
|
343
|
+
def initialize(format, file, from_page = nil, pages_count = nil, load_options = nil, convert_options = nil)
|
336
344
|
self.format = format
|
337
345
|
self.file = file
|
338
346
|
self.from_page = from_page
|
339
347
|
self.pages_count = pages_count
|
348
|
+
self.load_options = load_options
|
349
|
+
self.convert_options = convert_options
|
340
350
|
end
|
341
351
|
end
|
342
352
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -----------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="file.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -449,7 +449,7 @@ end
|
|
449
449
|
#
|
450
450
|
# --------------------------------------------------------------------------------------------------------------------
|
451
451
|
# <copyright company="Aspose Pty Ltd" file="copy_file_request.rb">
|
452
|
-
# Copyright (c) 2003-
|
452
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
453
453
|
# </copyright>
|
454
454
|
# <summary>
|
455
455
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -510,7 +510,7 @@ end
|
|
510
510
|
#
|
511
511
|
# --------------------------------------------------------------------------------------------------------------------
|
512
512
|
# <copyright company="Aspose Pty Ltd" file="delete_file_request.rb">
|
513
|
-
# Copyright (c) 2003-
|
513
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
514
514
|
# </copyright>
|
515
515
|
# <summary>
|
516
516
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -563,7 +563,7 @@ end
|
|
563
563
|
#
|
564
564
|
# --------------------------------------------------------------------------------------------------------------------
|
565
565
|
# <copyright company="Aspose Pty Ltd" file="download_file_request.rb">
|
566
|
-
# Copyright (c) 2003-
|
566
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
567
567
|
# </copyright>
|
568
568
|
# <summary>
|
569
569
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -616,7 +616,7 @@ end
|
|
616
616
|
#
|
617
617
|
# --------------------------------------------------------------------------------------------------------------------
|
618
618
|
# <copyright company="Aspose Pty Ltd" file="move_file_request.rb">
|
619
|
-
# Copyright (c) 2003-
|
619
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
620
620
|
# </copyright>
|
621
621
|
# <summary>
|
622
622
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -677,7 +677,7 @@ end
|
|
677
677
|
#
|
678
678
|
# --------------------------------------------------------------------------------------------------------------------
|
679
679
|
# <copyright company="Aspose Pty Ltd" file="upload_file_request.rb">
|
680
|
-
# Copyright (c) 2003-
|
680
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
681
681
|
# </copyright>
|
682
682
|
# <summary>
|
683
683
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -----------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="folder.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -430,7 +430,7 @@ end
|
|
430
430
|
#
|
431
431
|
# --------------------------------------------------------------------------------------------------------------------
|
432
432
|
# <copyright company="Aspose Pty Ltd" file="copy_folder_request.rb">
|
433
|
-
# Copyright (c) 2003-
|
433
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
434
434
|
# </copyright>
|
435
435
|
# <summary>
|
436
436
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -487,7 +487,7 @@ end
|
|
487
487
|
#
|
488
488
|
# --------------------------------------------------------------------------------------------------------------------
|
489
489
|
# <copyright company="Aspose Pty Ltd" file="create_folder_request.rb">
|
490
|
-
# Copyright (c) 2003-
|
490
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
491
491
|
# </copyright>
|
492
492
|
# <summary>
|
493
493
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -536,7 +536,7 @@ end
|
|
536
536
|
#
|
537
537
|
# --------------------------------------------------------------------------------------------------------------------
|
538
538
|
# <copyright company="Aspose Pty Ltd" file="delete_folder_request.rb">
|
539
|
-
# Copyright (c) 2003-
|
539
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
540
540
|
# </copyright>
|
541
541
|
# <summary>
|
542
542
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -589,7 +589,7 @@ end
|
|
589
589
|
#
|
590
590
|
# --------------------------------------------------------------------------------------------------------------------
|
591
591
|
# <copyright company="Aspose Pty Ltd" file="get_files_list_request.rb">
|
592
|
-
# Copyright (c) 2003-
|
592
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
593
593
|
# </copyright>
|
594
594
|
# <summary>
|
595
595
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -638,7 +638,7 @@ end
|
|
638
638
|
#
|
639
639
|
# --------------------------------------------------------------------------------------------------------------------
|
640
640
|
# <copyright company="Aspose Pty Ltd" file="move_folder_request.rb">
|
641
|
-
# Copyright (c) 2003-
|
641
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
642
642
|
# </copyright>
|
643
643
|
# <summary>
|
644
644
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -----------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="info.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -246,7 +246,7 @@ end
|
|
246
246
|
#
|
247
247
|
# --------------------------------------------------------------------------------------------------------------------
|
248
248
|
# <copyright company="Aspose Pty Ltd" file="get_document_metadata_request.rb">
|
249
|
-
# Copyright (c) 2003-
|
249
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
250
250
|
# </copyright>
|
251
251
|
# <summary>
|
252
252
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -295,7 +295,7 @@ end
|
|
295
295
|
#
|
296
296
|
# --------------------------------------------------------------------------------------------------------------------
|
297
297
|
# <copyright company="Aspose Pty Ltd" file="get_supported_conversion_types_request.rb">
|
298
|
-
# Copyright (c) 2003-
|
298
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
299
299
|
# </copyright>
|
300
300
|
# <summary>
|
301
301
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -----------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="license.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -----------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="storage.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -350,7 +350,7 @@ end
|
|
350
350
|
#
|
351
351
|
# --------------------------------------------------------------------------------------------------------------------
|
352
352
|
# <copyright company="Aspose Pty Ltd" file="get_disc_usage_request.rb">
|
353
|
-
# Copyright (c) 2003-
|
353
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
354
354
|
# </copyright>
|
355
355
|
# <summary>
|
356
356
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -395,7 +395,7 @@ end
|
|
395
395
|
#
|
396
396
|
# --------------------------------------------------------------------------------------------------------------------
|
397
397
|
# <copyright company="Aspose Pty Ltd" file="get_file_versions_request.rb">
|
398
|
-
# Copyright (c) 2003-
|
398
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
399
399
|
# </copyright>
|
400
400
|
# <summary>
|
401
401
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -444,7 +444,7 @@ end
|
|
444
444
|
#
|
445
445
|
# --------------------------------------------------------------------------------------------------------------------
|
446
446
|
# <copyright company="Aspose Pty Ltd" file="object_exists_request.rb">
|
447
|
-
# Copyright (c) 2003-
|
447
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
448
448
|
# </copyright>
|
449
449
|
# <summary>
|
450
450
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -497,7 +497,7 @@ end
|
|
497
497
|
#
|
498
498
|
# --------------------------------------------------------------------------------------------------------------------
|
499
499
|
# <copyright company="Aspose Pty Ltd" file="storage_exists_request.rb">
|
500
|
-
# Copyright (c) 2003-
|
500
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
501
501
|
# </copyright>
|
502
502
|
# <summary>
|
503
503
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -----------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="api_client.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -----------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="api_error.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# ------------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="configuration.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="bmp_convert_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="bmp_load_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -31,12 +31,16 @@ module GroupDocsConversionCloud
|
|
31
31
|
# Bmp load options
|
32
32
|
class BmpLoadOptions
|
33
33
|
|
34
|
+
# The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
|
35
|
+
attr_accessor :format
|
36
|
+
|
34
37
|
# Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
|
35
38
|
attr_accessor :default_font
|
36
39
|
|
37
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
41
|
def self.attribute_map
|
39
42
|
{
|
43
|
+
:'format' => :'Format',
|
40
44
|
:'default_font' => :'DefaultFont'
|
41
45
|
}
|
42
46
|
end
|
@@ -44,6 +48,7 @@ module GroupDocsConversionCloud
|
|
44
48
|
# Attribute type mapping.
|
45
49
|
def self.swagger_types
|
46
50
|
{
|
51
|
+
:'format' => :'String',
|
47
52
|
:'default_font' => :'String'
|
48
53
|
}
|
49
54
|
end
|
@@ -56,6 +61,10 @@ module GroupDocsConversionCloud
|
|
56
61
|
# convert string to symbol for hash key
|
57
62
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
58
63
|
|
64
|
+
if attributes.key?(:'Format')
|
65
|
+
self.format = attributes[:'Format']
|
66
|
+
end
|
67
|
+
|
59
68
|
if attributes.key?(:'DefaultFont')
|
60
69
|
self.default_font = attributes[:'DefaultFont']
|
61
70
|
end
|
@@ -80,6 +89,7 @@ module GroupDocsConversionCloud
|
|
80
89
|
def ==(other)
|
81
90
|
return true if self.equal?(other)
|
82
91
|
self.class == other.class &&
|
92
|
+
format == other.format &&
|
83
93
|
default_font == other.default_font
|
84
94
|
end
|
85
95
|
|
@@ -92,7 +102,7 @@ module GroupDocsConversionCloud
|
|
92
102
|
# Calculates hash code according to all attributes.
|
93
103
|
# @return [Fixnum] Hash code
|
94
104
|
def hash
|
95
|
-
[default_font].hash
|
105
|
+
[format, default_font].hash
|
96
106
|
end
|
97
107
|
|
98
108
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="cad_load_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -31,6 +31,9 @@ module GroupDocsConversionCloud
|
|
31
31
|
# Options for loading CAD documents
|
32
32
|
class CadLoadOptions
|
33
33
|
|
34
|
+
# The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
|
35
|
+
attr_accessor :format
|
36
|
+
|
34
37
|
# Set desired page width for converting CAD document
|
35
38
|
attr_accessor :width
|
36
39
|
|
@@ -43,6 +46,7 @@ module GroupDocsConversionCloud
|
|
43
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
47
|
def self.attribute_map
|
45
48
|
{
|
49
|
+
:'format' => :'Format',
|
46
50
|
:'width' => :'Width',
|
47
51
|
:'height' => :'Height',
|
48
52
|
:'layout_names' => :'LayoutNames'
|
@@ -52,6 +56,7 @@ module GroupDocsConversionCloud
|
|
52
56
|
# Attribute type mapping.
|
53
57
|
def self.swagger_types
|
54
58
|
{
|
59
|
+
:'format' => :'String',
|
55
60
|
:'width' => :'Integer',
|
56
61
|
:'height' => :'Integer',
|
57
62
|
:'layout_names' => :'Array<String>'
|
@@ -66,6 +71,10 @@ module GroupDocsConversionCloud
|
|
66
71
|
# convert string to symbol for hash key
|
67
72
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
68
73
|
|
74
|
+
if attributes.key?(:'Format')
|
75
|
+
self.format = attributes[:'Format']
|
76
|
+
end
|
77
|
+
|
69
78
|
if attributes.key?(:'Width')
|
70
79
|
self.width = attributes[:'Width']
|
71
80
|
end
|
@@ -110,6 +119,7 @@ module GroupDocsConversionCloud
|
|
110
119
|
def ==(other)
|
111
120
|
return true if self.equal?(other)
|
112
121
|
self.class == other.class &&
|
122
|
+
format == other.format &&
|
113
123
|
width == other.width &&
|
114
124
|
height == other.height &&
|
115
125
|
layout_names == other.layout_names
|
@@ -124,7 +134,7 @@ module GroupDocsConversionCloud
|
|
124
134
|
# Calculates hash code according to all attributes.
|
125
135
|
# @return [Fixnum] Hash code
|
126
136
|
def hash
|
127
|
-
[width, height, layout_names].hash
|
137
|
+
[format, width, height, layout_names].hash
|
128
138
|
end
|
129
139
|
|
130
140
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="cgm_convert_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="consumption_result.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="convert_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="convert_settings.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="csv_load_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -31,6 +31,9 @@ module GroupDocsConversionCloud
|
|
31
31
|
# Csv document load options
|
32
32
|
class CsvLoadOptions
|
33
33
|
|
34
|
+
# The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
|
35
|
+
attr_accessor :format
|
36
|
+
|
34
37
|
# Delimiter of a Csv file
|
35
38
|
attr_accessor :separator
|
36
39
|
|
@@ -52,6 +55,7 @@ module GroupDocsConversionCloud
|
|
52
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
56
|
def self.attribute_map
|
54
57
|
{
|
58
|
+
:'format' => :'Format',
|
55
59
|
:'separator' => :'Separator',
|
56
60
|
:'is_multi_encoded' => :'IsMultiEncoded',
|
57
61
|
:'has_formula' => :'HasFormula',
|
@@ -64,6 +68,7 @@ module GroupDocsConversionCloud
|
|
64
68
|
# Attribute type mapping.
|
65
69
|
def self.swagger_types
|
66
70
|
{
|
71
|
+
:'format' => :'String',
|
67
72
|
:'separator' => :'String',
|
68
73
|
:'is_multi_encoded' => :'BOOLEAN',
|
69
74
|
:'has_formula' => :'BOOLEAN',
|
@@ -81,6 +86,10 @@ module GroupDocsConversionCloud
|
|
81
86
|
# convert string to symbol for hash key
|
82
87
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
83
88
|
|
89
|
+
if attributes.key?(:'Format')
|
90
|
+
self.format = attributes[:'Format']
|
91
|
+
end
|
92
|
+
|
84
93
|
if attributes.key?(:'Separator')
|
85
94
|
self.separator = attributes[:'Separator']
|
86
95
|
end
|
@@ -150,6 +159,7 @@ module GroupDocsConversionCloud
|
|
150
159
|
def ==(other)
|
151
160
|
return true if self.equal?(other)
|
152
161
|
self.class == other.class &&
|
162
|
+
format == other.format &&
|
153
163
|
separator == other.separator &&
|
154
164
|
is_multi_encoded == other.is_multi_encoded &&
|
155
165
|
has_formula == other.has_formula &&
|
@@ -167,7 +177,7 @@ module GroupDocsConversionCloud
|
|
167
177
|
# Calculates hash code according to all attributes.
|
168
178
|
# @return [Fixnum] Hash code
|
169
179
|
def hash
|
170
|
-
[separator, is_multi_encoded, has_formula, convert_numeric_data, convert_date_time_data, encoding].hash
|
180
|
+
[format, separator, is_multi_encoded, has_formula, convert_numeric_data, convert_date_time_data, encoding].hash
|
171
181
|
end
|
172
182
|
|
173
183
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="dcm_convert_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="dcm_load_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -31,12 +31,16 @@ module GroupDocsConversionCloud
|
|
31
31
|
# Dcm load options
|
32
32
|
class DcmLoadOptions
|
33
33
|
|
34
|
+
# The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
|
35
|
+
attr_accessor :format
|
36
|
+
|
34
37
|
# Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
|
35
38
|
attr_accessor :default_font
|
36
39
|
|
37
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
41
|
def self.attribute_map
|
39
42
|
{
|
43
|
+
:'format' => :'Format',
|
40
44
|
:'default_font' => :'DefaultFont'
|
41
45
|
}
|
42
46
|
end
|
@@ -44,6 +48,7 @@ module GroupDocsConversionCloud
|
|
44
48
|
# Attribute type mapping.
|
45
49
|
def self.swagger_types
|
46
50
|
{
|
51
|
+
:'format' => :'String',
|
47
52
|
:'default_font' => :'String'
|
48
53
|
}
|
49
54
|
end
|
@@ -56,6 +61,10 @@ module GroupDocsConversionCloud
|
|
56
61
|
# convert string to symbol for hash key
|
57
62
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
58
63
|
|
64
|
+
if attributes.key?(:'Format')
|
65
|
+
self.format = attributes[:'Format']
|
66
|
+
end
|
67
|
+
|
59
68
|
if attributes.key?(:'DefaultFont')
|
60
69
|
self.default_font = attributes[:'DefaultFont']
|
61
70
|
end
|
@@ -80,6 +89,7 @@ module GroupDocsConversionCloud
|
|
80
89
|
def ==(other)
|
81
90
|
return true if self.equal?(other)
|
82
91
|
self.class == other.class &&
|
92
|
+
format == other.format &&
|
83
93
|
default_font == other.default_font
|
84
94
|
end
|
85
95
|
|
@@ -92,7 +102,7 @@ module GroupDocsConversionCloud
|
|
92
102
|
# Calculates hash code according to all attributes.
|
93
103
|
# @return [Fixnum] Hash code
|
94
104
|
def hash
|
95
|
-
[default_font].hash
|
105
|
+
[format, default_font].hash
|
96
106
|
end
|
97
107
|
|
98
108
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="dgn_load_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2022 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -31,6 +31,9 @@ module GroupDocsConversionCloud
|
|
31
31
|
# Dgn load options
|
32
32
|
class DgnLoadOptions
|
33
33
|
|
34
|
+
# The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
|
35
|
+
attr_accessor :format
|
36
|
+
|
34
37
|
# Set desired page width for converting CAD document
|
35
38
|
attr_accessor :width
|
36
39
|
|
@@ -43,6 +46,7 @@ module GroupDocsConversionCloud
|
|
43
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
47
|
def self.attribute_map
|
45
48
|
{
|
49
|
+
:'format' => :'Format',
|
46
50
|
:'width' => :'Width',
|
47
51
|
:'height' => :'Height',
|
48
52
|
:'layout_names' => :'LayoutNames'
|
@@ -52,6 +56,7 @@ module GroupDocsConversionCloud
|
|
52
56
|
# Attribute type mapping.
|
53
57
|
def self.swagger_types
|
54
58
|
{
|
59
|
+
:'format' => :'String',
|
55
60
|
:'width' => :'Integer',
|
56
61
|
:'height' => :'Integer',
|
57
62
|
:'layout_names' => :'Array<String>'
|
@@ -66,6 +71,10 @@ module GroupDocsConversionCloud
|
|
66
71
|
# convert string to symbol for hash key
|
67
72
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
68
73
|
|
74
|
+
if attributes.key?(:'Format')
|
75
|
+
self.format = attributes[:'Format']
|
76
|
+
end
|
77
|
+
|
69
78
|
if attributes.key?(:'Width')
|
70
79
|
self.width = attributes[:'Width']
|
71
80
|
end
|
@@ -110,6 +119,7 @@ module GroupDocsConversionCloud
|
|
110
119
|
def ==(other)
|
111
120
|
return true if self.equal?(other)
|
112
121
|
self.class == other.class &&
|
122
|
+
format == other.format &&
|
113
123
|
width == other.width &&
|
114
124
|
height == other.height &&
|
115
125
|
layout_names == other.layout_names
|
@@ -124,7 +134,7 @@ module GroupDocsConversionCloud
|
|
124
134
|
# Calculates hash code according to all attributes.
|
125
135
|
# @return [Fixnum] Hash code
|
126
136
|
def hash
|
127
|
-
[width, height, layout_names].hash
|
137
|
+
[format, width, height, layout_names].hash
|
128
138
|
end
|
129
139
|
|
130
140
|
# Downcases first letter.
|