groupdocs_annotation_cloud 19.5 → 20.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/lib/groupdocs_annotation_cloud.rb +1 -2
  3. data/lib/groupdocs_annotation_cloud/api/annotate_api.rb +5 -104
  4. data/lib/groupdocs_annotation_cloud/api/file_api.rb +7 -7
  5. data/lib/groupdocs_annotation_cloud/api/folder_api.rb +7 -7
  6. data/lib/groupdocs_annotation_cloud/api/info_api.rb +2 -2
  7. data/lib/groupdocs_annotation_cloud/api/preview_api.rb +37 -37
  8. data/lib/groupdocs_annotation_cloud/api/storage_api.rb +5 -5
  9. data/lib/groupdocs_annotation_cloud/api_client.rb +1 -1
  10. data/lib/groupdocs_annotation_cloud/api_error.rb +1 -1
  11. data/lib/groupdocs_annotation_cloud/configuration.rb +1 -1
  12. data/lib/groupdocs_annotation_cloud/models/annotation_api_link.rb +1 -1
  13. data/lib/groupdocs_annotation_cloud/models/annotation_info.rb +147 -64
  14. data/lib/groupdocs_annotation_cloud/models/annotation_reply_info.rb +41 -26
  15. data/lib/groupdocs_annotation_cloud/models/disc_usage.rb +1 -1
  16. data/lib/groupdocs_annotation_cloud/models/document_info.rb +1 -1
  17. data/lib/groupdocs_annotation_cloud/models/error.rb +1 -1
  18. data/lib/groupdocs_annotation_cloud/models/error_details.rb +1 -1
  19. data/lib/groupdocs_annotation_cloud/models/file_version.rb +1 -1
  20. data/lib/groupdocs_annotation_cloud/models/file_versions.rb +1 -1
  21. data/lib/groupdocs_annotation_cloud/models/files_list.rb +1 -1
  22. data/lib/groupdocs_annotation_cloud/models/files_upload_result.rb +1 -1
  23. data/lib/groupdocs_annotation_cloud/models/format.rb +1 -1
  24. data/lib/groupdocs_annotation_cloud/models/formats_result.rb +1 -1
  25. data/lib/groupdocs_annotation_cloud/models/link.rb +1 -1
  26. data/lib/groupdocs_annotation_cloud/models/link_element.rb +1 -1
  27. data/lib/groupdocs_annotation_cloud/models/object_exist.rb +1 -1
  28. data/lib/groupdocs_annotation_cloud/models/page_image.rb +2 -2
  29. data/lib/groupdocs_annotation_cloud/models/page_images.rb +1 -1
  30. data/lib/groupdocs_annotation_cloud/models/page_info.rb +5 -32
  31. data/lib/groupdocs_annotation_cloud/models/point.rb +1 -1
  32. data/lib/groupdocs_annotation_cloud/models/rectangle.rb +1 -1
  33. data/lib/groupdocs_annotation_cloud/models/storage_exist.rb +1 -1
  34. data/lib/groupdocs_annotation_cloud/models/storage_file.rb +1 -1
  35. data/lib/groupdocs_annotation_cloud/version.rb +2 -2
  36. metadata +2 -3
  37. data/lib/groupdocs_annotation_cloud/models/row_info.rb +0 -298
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa25bb1a142858ec21ae5d8827bbb2aaedb9a9bf
4
- data.tar.gz: 464012de126bbcf300a52af56fe01f8399e50fd0
3
+ metadata.gz: b62a16dd9c3549192b8230594fd8d8b069bb7d03
4
+ data.tar.gz: 81e954ce7a02c4eb6bdd018e3e8dd55e2ebf03e9
5
5
  SHA512:
6
- metadata.gz: 50779fdf6892678e62bc65d69a027fa763c018cea48573b6f43871e282c5748cfd0435eb1de9f64ea0d93e372302c1d1e3cf279c57080739424ed73bd3eecb01
7
- data.tar.gz: 0a967391d16fb8d144e369a1b9ad5c9ee765dd4ac77ee30ba65780d58a01cfd698d8e82afd261c3a3eac9388e1a9006eabd89cbe9de93c09c8e9a986eaf66014
6
+ metadata.gz: af8bc55dee38c74dbc5b26105c3a436005382331e7b030c22b4db88d4bfd4816d6bc8044909eceaa237563b15cc863557dea6b5fe97fa65e2c21b8ce4e0d0d46
7
+ data.tar.gz: 6ba5411ac0faf8a831928deed8550e25d8a06272801524b2765572f90723f61dc5ca54c778bc95d2cbf8ea4f53d6112380eb17c3aeb52ca39aae21bf6cd1affe
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="groupdocs_annotation_cloud.rb">
3
- # Copyright (c) 2003-2019 Aspose Pty Ltd
3
+ # Copyright (c) 2003-2020 Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -48,7 +48,6 @@ require_relative 'groupdocs_annotation_cloud/models/page_images'
48
48
  require_relative 'groupdocs_annotation_cloud/models/page_info'
49
49
  require_relative 'groupdocs_annotation_cloud/models/point'
50
50
  require_relative 'groupdocs_annotation_cloud/models/rectangle'
51
- require_relative 'groupdocs_annotation_cloud/models/row_info'
52
51
  require_relative 'groupdocs_annotation_cloud/models/storage_exist'
53
52
  require_relative 'groupdocs_annotation_cloud/models/storage_file'
54
53
  require_relative 'groupdocs_annotation_cloud/models/annotation_api_link'
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="annotate.rb">
3
- # Copyright (c) 2003-2019 Aspose Pty Ltd
3
+ # Copyright (c) 2003-2020 Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -250,60 +250,6 @@ module GroupDocsAnnotationCloud
250
250
  [data, status_code, headers]
251
251
  end
252
252
 
253
- # Retrieves PDF version of document
254
- #
255
- # @param request get_pdf_request
256
- # @return [File]
257
- def get_pdf(request)
258
- data, _status_code, _headers = get_pdf_with_http_info(request)
259
- data
260
- end
261
-
262
- # Retrieves PDF version of document
263
- #
264
- # @param request get_pdf_request
265
- # @return [Array<(File, Fixnum, Hash)>]
266
- # File data, response status code and response headers
267
- def get_pdf_with_http_info(request)
268
- raise ArgumentError, 'Incorrect request type' unless request.is_a? GetPdfRequest
269
-
270
- @api_client.config.logger.debug 'Calling API: AnnotateApi.get_pdf ...' if @api_client.config.debugging
271
- # verify the required parameter 'file_path' is set
272
- raise ArgumentError, 'Missing the required parameter file_path when calling AnnotateApi.get_pdf' if @api_client.config.client_side_validation && request.file_path.nil?
273
- # resource path
274
- local_var_path = '/annotation/pdf'
275
-
276
- # query parameters
277
- query_params = {}
278
- query_params[downcase_first_letter('filePath')] = request.file_path
279
-
280
-
281
- # header parameters
282
- header_params = {}
283
- # HTTP header 'Accept' (if needed)
284
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
285
- # HTTP header 'Content-Type'
286
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
287
-
288
- # form parameters
289
- form_params = {}
290
-
291
- # http body (model)
292
- post_body = nil
293
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
294
- header_params: header_params,
295
- query_params: query_params,
296
- form_params: form_params,
297
- body: post_body,
298
- access_token: get_access_token,
299
- return_type: 'File')
300
- if @api_client.config.debugging
301
- @api_client.config.logger.debug "API called:
302
- AnnotateApi#get_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
303
- end
304
- [data, status_code, headers]
305
- end
306
-
307
253
  # Adds annotations to document
308
254
  #
309
255
  # @param request post_annotations_request
@@ -416,7 +362,7 @@ end
416
362
  #
417
363
  # --------------------------------------------------------------------------------------------------------------------
418
364
  # <copyright company="Aspose Pty Ltd" file="delete_annotations_request.rb">
419
- # Copyright (c) 2003-2019 Aspose Pty Ltd
365
+ # Copyright (c) 2003-2020 Aspose Pty Ltd
420
366
  # </copyright>
421
367
  # <summary>
422
368
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -461,7 +407,7 @@ end
461
407
  #
462
408
  # --------------------------------------------------------------------------------------------------------------------
463
409
  # <copyright company="Aspose Pty Ltd" file="get_export_request.rb">
464
- # Copyright (c) 2003-2019 Aspose Pty Ltd
410
+ # Copyright (c) 2003-2020 Aspose Pty Ltd
465
411
  # </copyright>
466
412
  # <summary>
467
413
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -526,7 +472,7 @@ end
526
472
  #
527
473
  # --------------------------------------------------------------------------------------------------------------------
528
474
  # <copyright company="Aspose Pty Ltd" file="get_import_request.rb">
529
- # Copyright (c) 2003-2019 Aspose Pty Ltd
475
+ # Copyright (c) 2003-2020 Aspose Pty Ltd
530
476
  # </copyright>
531
477
  # <summary>
532
478
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -567,56 +513,11 @@ module GroupDocsAnnotationCloud
567
513
  self.file_path = file_path
568
514
  end
569
515
  end
570
- end
571
- #
572
- # --------------------------------------------------------------------------------------------------------------------
573
- # <copyright company="Aspose Pty Ltd" file="get_pdf_request.rb">
574
- # Copyright (c) 2003-2019 Aspose Pty Ltd
575
- # </copyright>
576
- # <summary>
577
- # Permission is hereby granted, free of charge, to any person obtaining a copy
578
- # of this software and associated documentation files (the "Software"), to deal
579
- # in the Software without restriction, including without limitation the rights
580
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
581
- # copies of the Software, and to permit persons to whom the Software is
582
- # furnished to do so, subject to the following conditions:
583
- #
584
- # The above copyright notice and this permission notice shall be included in all
585
- # copies or substantial portions of the Software.
586
- #
587
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
588
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
589
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
590
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
591
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
592
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
593
- # SOFTWARE.
594
- # </summary>
595
- # --------------------------------------------------------------------------------------------------------------------
596
- #
597
-
598
- module GroupDocsAnnotationCloud
599
-
600
- #
601
- # Request model for get_pdf operation.
602
- #
603
- class GetPdfRequest
604
-
605
- # Path to document in storage
606
- attr_accessor :file_path
607
-
608
- #
609
- # Initializes a new instance.
610
- # @param file_path Path to document in storage
611
- def initialize(file_path)
612
- self.file_path = file_path
613
- end
614
- end
615
516
  end
616
517
  #
617
518
  # --------------------------------------------------------------------------------------------------------------------
618
519
  # <copyright company="Aspose Pty Ltd" file="post_annotations_request.rb">
619
- # Copyright (c) 2003-2019 Aspose Pty Ltd
520
+ # Copyright (c) 2003-2020 Aspose Pty Ltd
620
521
  # </copyright>
621
522
  # <summary>
622
523
  # 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="file.rb">
3
- # Copyright (c) 2003-2019 Aspose Pty Ltd
3
+ # Copyright (c) 2003-2020 Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -378,7 +378,7 @@ module GroupDocsAnnotationCloud
378
378
 
379
379
  # http body (model)
380
380
  post_body = nil
381
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
381
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
382
382
  header_params: header_params,
383
383
  query_params: query_params,
384
384
  form_params: form_params,
@@ -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-2019 Aspose Pty Ltd
452
+ # Copyright (c) 2003-2020 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-2019 Aspose Pty Ltd
513
+ # Copyright (c) 2003-2020 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-2019 Aspose Pty Ltd
566
+ # Copyright (c) 2003-2020 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-2019 Aspose Pty Ltd
619
+ # Copyright (c) 2003-2020 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-2019 Aspose Pty Ltd
680
+ # Copyright (c) 2003-2020 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-2019 Aspose Pty Ltd
3
+ # Copyright (c) 2003-2020 Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -174,7 +174,7 @@ module GroupDocsAnnotationCloud
174
174
 
175
175
  # http body (model)
176
176
  post_body = nil
177
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
177
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
178
178
  header_params: header_params,
179
179
  query_params: query_params,
180
180
  form_params: form_params,
@@ -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-2019 Aspose Pty Ltd
433
+ # Copyright (c) 2003-2020 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-2019 Aspose Pty Ltd
490
+ # Copyright (c) 2003-2020 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-2019 Aspose Pty Ltd
539
+ # Copyright (c) 2003-2020 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-2019 Aspose Pty Ltd
592
+ # Copyright (c) 2003-2020 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-2019 Aspose Pty Ltd
641
+ # Copyright (c) 2003-2020 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-2019 Aspose Pty Ltd
3
+ # Copyright (c) 2003-2020 Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -229,7 +229,7 @@ end
229
229
  #
230
230
  # --------------------------------------------------------------------------------------------------------------------
231
231
  # <copyright company="Aspose Pty Ltd" file="get_info_request.rb">
232
- # Copyright (c) 2003-2019 Aspose Pty Ltd
232
+ # Copyright (c) 2003-2020 Aspose Pty Ltd
233
233
  # </copyright>
234
234
  # <summary>
235
235
  # 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="preview.rb">
3
- # Copyright (c) 2003-2019 Aspose Pty Ltd
3
+ # Copyright (c) 2003-2020 Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -144,35 +144,35 @@ module GroupDocsAnnotationCloud
144
144
  query_params = {}
145
145
  query_params[downcase_first_letter('filePath')] = request.file_path
146
146
 
147
- if local_var_path.include? ('{' + downcase_first_letter('countPagesToConvert') + '}')
148
- local_var_path = local_var_path.sub('{' + downcase_first_letter('countPagesToConvert') + '}', request.count_pages_to_convert.to_s)
147
+ if local_var_path.include? ('{' + downcase_first_letter('pageNumbersToConvert') + '}')
148
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('pageNumbersToConvert') + '}', request.page_numbers_to_convert.to_s)
149
149
  else
150
- query_params[downcase_first_letter('countPagesToConvert')] = request.count_pages_to_convert unless request.count_pages_to_convert.nil?
150
+ query_params[downcase_first_letter('pageNumbersToConvert')] = @api_client.build_collection_param(request.page_numbers_to_convert, :multi) unless request.page_numbers_to_convert.nil?
151
151
  end
152
- if local_var_path.include? ('{' + downcase_first_letter('pageNumber') + '}')
153
- local_var_path = local_var_path.sub('{' + downcase_first_letter('pageNumber') + '}', request.page_number.to_s)
152
+ if local_var_path.include? ('{' + downcase_first_letter('format') + '}')
153
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('format') + '}', request.format.to_s)
154
154
  else
155
- query_params[downcase_first_letter('pageNumber')] = request.page_number unless request.page_number.nil?
155
+ query_params[downcase_first_letter('format')] = request.format unless request.format.nil?
156
156
  end
157
- if local_var_path.include? ('{' + downcase_first_letter('pageNumbersToConvert') + '}')
158
- local_var_path = local_var_path.sub('{' + downcase_first_letter('pageNumbersToConvert') + '}', request.page_numbers_to_convert.to_s)
157
+ if local_var_path.include? ('{' + downcase_first_letter('width') + '}')
158
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('width') + '}', request.width.to_s)
159
159
  else
160
- query_params[downcase_first_letter('pageNumbersToConvert')] = @api_client.build_collection_param(request.page_numbers_to_convert, :multi) unless request.page_numbers_to_convert.nil?
160
+ query_params[downcase_first_letter('width')] = request.width unless request.width.nil?
161
+ end
162
+ if local_var_path.include? ('{' + downcase_first_letter('height') + '}')
163
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('height') + '}', request.height.to_s)
164
+ else
165
+ query_params[downcase_first_letter('height')] = request.height unless request.height.nil?
161
166
  end
162
167
  if local_var_path.include? ('{' + downcase_first_letter('withoutAnnotations') + '}')
163
168
  local_var_path = local_var_path.sub('{' + downcase_first_letter('withoutAnnotations') + '}', request.without_annotations.to_s)
164
169
  else
165
170
  query_params[downcase_first_letter('withoutAnnotations')] = request.without_annotations unless request.without_annotations.nil?
166
171
  end
167
- if local_var_path.include? ('{' + downcase_first_letter('enableCaching') + '}')
168
- local_var_path = local_var_path.sub('{' + downcase_first_letter('enableCaching') + '}', request.enable_caching.to_s)
169
- else
170
- query_params[downcase_first_letter('enableCaching')] = request.enable_caching unless request.enable_caching.nil?
171
- end
172
- if local_var_path.include? ('{' + downcase_first_letter('cacheStoragePath') + '}')
173
- local_var_path = local_var_path.sub('{' + downcase_first_letter('cacheStoragePath') + '}', request.cache_storage_path.to_s)
172
+ if local_var_path.include? ('{' + downcase_first_letter('renderComments') + '}')
173
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('renderComments') + '}', request.render_comments.to_s)
174
174
  else
175
- query_params[downcase_first_letter('cacheStoragePath')] = request.cache_storage_path unless request.cache_storage_path.nil?
175
+ query_params[downcase_first_letter('renderComments')] = request.render_comments unless request.render_comments.nil?
176
176
  end
177
177
  if local_var_path.include? ('{' + downcase_first_letter('password') + '}')
178
178
  local_var_path = local_var_path.sub('{' + downcase_first_letter('password') + '}', request.password.to_s)
@@ -263,7 +263,7 @@ end
263
263
  #
264
264
  # --------------------------------------------------------------------------------------------------------------------
265
265
  # <copyright company="Aspose Pty Ltd" file="delete_pages_request.rb">
266
- # Copyright (c) 2003-2019 Aspose Pty Ltd
266
+ # Copyright (c) 2003-2020 Aspose Pty Ltd
267
267
  # </copyright>
268
268
  # <summary>
269
269
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -308,7 +308,7 @@ end
308
308
  #
309
309
  # --------------------------------------------------------------------------------------------------------------------
310
310
  # <copyright company="Aspose Pty Ltd" file="get_pages_request.rb">
311
- # Copyright (c) 2003-2019 Aspose Pty Ltd
311
+ # Copyright (c) 2003-2020 Aspose Pty Ltd
312
312
  # </copyright>
313
313
  # <summary>
314
314
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -341,39 +341,39 @@ module GroupDocsAnnotationCloud
341
341
 
342
342
  # Document path in storage
343
343
  attr_accessor :file_path
344
- # The count pages to convert
345
- attr_accessor :count_pages_to_convert
346
- # The start page number
347
- attr_accessor :page_number
348
344
  # The list of page numbers to convert
349
345
  attr_accessor :page_numbers_to_convert
346
+ # Preview format: \"PNG\" (default), \"JPEG\", or \"BMP\"
347
+ attr_accessor :format
348
+ # Preview image width
349
+ attr_accessor :width
350
+ # Preview image height
351
+ attr_accessor :height
350
352
  # If true returns specific pages without annotations
351
353
  attr_accessor :without_annotations
352
- # Indicates whether to use previously cached document or not
353
- attr_accessor :enable_caching
354
- # The cache storage path
355
- attr_accessor :cache_storage_path
354
+ # Render comments (false by default)
355
+ attr_accessor :render_comments
356
356
  # Source document opening password
357
357
  attr_accessor :password
358
358
 
359
359
  #
360
360
  # Initializes a new instance.
361
361
  # @param file_path Document path in storage
362
- # @param count_pages_to_convert The count pages to convert
363
- # @param page_number The start page number
364
362
  # @param page_numbers_to_convert The list of page numbers to convert
363
+ # @param format Preview format: \"PNG\" (default), \"JPEG\", or \"BMP\"
364
+ # @param width Preview image width
365
+ # @param height Preview image height
365
366
  # @param without_annotations If true returns specific pages without annotations
366
- # @param enable_caching Indicates whether to use previously cached document or not
367
- # @param cache_storage_path The cache storage path
367
+ # @param render_comments Render comments (false by default)
368
368
  # @param password Source document opening password
369
- def initialize(file_path, count_pages_to_convert = nil, page_number = nil, page_numbers_to_convert = nil, without_annotations = nil, enable_caching = nil, cache_storage_path = nil, password = nil)
369
+ def initialize(file_path, page_numbers_to_convert = nil, format = nil, width = nil, height = nil, without_annotations = nil, render_comments = nil, password = nil)
370
370
  self.file_path = file_path
371
- self.count_pages_to_convert = count_pages_to_convert
372
- self.page_number = page_number
373
371
  self.page_numbers_to_convert = page_numbers_to_convert
372
+ self.format = format
373
+ self.width = width
374
+ self.height = height
374
375
  self.without_annotations = without_annotations
375
- self.enable_caching = enable_caching
376
- self.cache_storage_path = cache_storage_path
376
+ self.render_comments = render_comments
377
377
  self.password = password
378
378
  end
379
379
  end