aspose_slides_cloud 24.6.0 → 24.8.0
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.
- checksums.yaml +4 -4
 - data/Gemfile.lock +9 -7
 - data/README.md +20 -0
 - data/TestData/pictureFrame.html +39 -0
 - data/TestData/test.pptx +0 -0
 - data/aspose_slides_cloud.gemspec +1 -0
 - data/lib/aspose_slides_cloud/api/slides_api.rb +373 -210
 - data/lib/aspose_slides_cloud/api/slides_async_api.rb +179 -8
 - data/lib/aspose_slides_cloud/api_client.rb +3 -0
 - data/lib/aspose_slides_cloud/models/document_property.rb +0 -5
 - data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
 - data/lib/aspose_slides_cloud/models/export_options.rb +23 -1
 - data/lib/aspose_slides_cloud/models/gif_export_options.rb +2 -1
 - data/lib/aspose_slides_cloud/models/gradient_fill.rb +0 -25
 - data/lib/aspose_slides_cloud/models/html5_export_options.rb +13 -2
 - data/lib/aspose_slides_cloud/models/html_export_options.rb +2 -1
 - data/lib/aspose_slides_cloud/models/image_export_options.rb +2 -1
 - data/lib/aspose_slides_cloud/models/image_export_options_base.rb +2 -1
 - data/lib/aspose_slides_cloud/models/markdown_export_options.rb +2 -1
 - data/lib/aspose_slides_cloud/models/ole_object_frame.rb +0 -5
 - data/lib/aspose_slides_cloud/models/operation.rb +3 -3
 - data/lib/aspose_slides_cloud/models/operation_error.rb +121 -0
 - data/lib/aspose_slides_cloud/models/pdf_export_options.rb +13 -2
 - data/lib/aspose_slides_cloud/models/pptx_export_options.rb +26 -3
 - data/lib/aspose_slides_cloud/models/protection_properties.rb +0 -10
 - data/lib/aspose_slides_cloud/models/save.rb +2 -2
 - data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
 - data/lib/aspose_slides_cloud/models/slide.rb +0 -5
 - data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
 - data/lib/aspose_slides_cloud/models/smart_art.rb +0 -5
 - data/lib/aspose_slides_cloud/models/smart_art_node.rb +0 -5
 - data/lib/aspose_slides_cloud/models/svg_export_options.rb +2 -1
 - data/lib/aspose_slides_cloud/models/swf_export_options.rb +2 -1
 - data/lib/aspose_slides_cloud/models/table.rb +12 -2
 - data/lib/aspose_slides_cloud/models/table_cell.rb +11 -1
 - data/lib/aspose_slides_cloud/models/table_cell_merge_options.rb +0 -5
 - data/lib/aspose_slides_cloud/models/tiff_export_options.rb +2 -1
 - data/lib/aspose_slides_cloud/models/video_export_options.rb +2 -1
 - data/lib/aspose_slides_cloud/models/xaml_export_options.rb +2 -1
 - data/lib/aspose_slides_cloud/models/xps_export_options.rb +2 -1
 - data/lib/aspose_slides_cloud/type_registry.rb +1 -0
 - data/lib/aspose_slides_cloud/version.rb +1 -1
 - data/lib/aspose_slides_cloud.rb +1 -0
 - data/spec/api/slides_api_spec.rb +1080 -757
 - data/spec/api/slides_async_api_spec.rb +773 -0
 - data/spec/use_cases/async_api_spec.rb +42 -0
 - data/spec/use_cases/font_spec.rb +4 -4
 - data/spec/use_cases/text_spec.rb +57 -9
 - data/testRules.json +3 -0
 - metadata +24 -2
 
| 
         @@ -155,8 +155,8 @@ module AsposeSlidesCloud 
     | 
|
| 
       155 
155 
     | 
    
         
             
                    fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_convert"
         
     | 
| 
       156 
156 
     | 
    
         
             
                  end
         
     | 
| 
       157 
157 
     | 
    
         
             
                  # verify enum value
         
     | 
| 
       158 
     | 
    
         
            -
                  if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md'].any?{ |s| s.casecmp(format)==0 }
         
     | 
| 
       159 
     | 
    
         
            -
                    fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md"
         
     | 
| 
      
 158 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
         
     | 
| 
      
 159 
     | 
    
         
            +
                    fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml"
         
     | 
| 
       160 
160 
     | 
    
         
             
                  end
         
     | 
| 
       161 
161 
     | 
    
         
             
                  # resource path
         
     | 
| 
       162 
162 
     | 
    
         
             
                  local_var_path = '/slides/async/convert/{format}'
         
     | 
| 
         @@ -230,8 +230,8 @@ module AsposeSlidesCloud 
     | 
|
| 
       230 
230 
     | 
    
         
             
                    fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_convert_and_save"
         
     | 
| 
       231 
231 
     | 
    
         
             
                  end
         
     | 
| 
       232 
232 
     | 
    
         
             
                  # verify enum value
         
     | 
| 
       233 
     | 
    
         
            -
                  if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md'].any?{ |s| s.casecmp(format)==0 }
         
     | 
| 
       234 
     | 
    
         
            -
                    fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md"
         
     | 
| 
      
 233 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
         
     | 
| 
      
 234 
     | 
    
         
            +
                    fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml"
         
     | 
| 
       235 
235 
     | 
    
         
             
                  end
         
     | 
| 
       236 
236 
     | 
    
         
             
                  # verify the required parameter 'out_path' is set
         
     | 
| 
       237 
237 
     | 
    
         
             
                  if @api_client.config.client_side_validation && out_path.nil?
         
     | 
| 
         @@ -310,8 +310,8 @@ module AsposeSlidesCloud 
     | 
|
| 
       310 
310 
     | 
    
         
             
                    fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_download_presentation"
         
     | 
| 
       311 
311 
     | 
    
         
             
                  end
         
     | 
| 
       312 
312 
     | 
    
         
             
                  # verify enum value
         
     | 
| 
       313 
     | 
    
         
            -
                  if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md'].any?{ |s| s.casecmp(format)==0 }
         
     | 
| 
       314 
     | 
    
         
            -
                    fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md"
         
     | 
| 
      
 313 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
         
     | 
| 
      
 314 
     | 
    
         
            +
                    fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml"
         
     | 
| 
       315 
315 
     | 
    
         
             
                  end
         
     | 
| 
       316 
316 
     | 
    
         
             
                  # resource path
         
     | 
| 
       317 
317 
     | 
    
         
             
                  local_var_path = '/slides/async/{name}/{format}'
         
     | 
| 
         @@ -491,8 +491,8 @@ module AsposeSlidesCloud 
     | 
|
| 
       491 
491 
     | 
    
         
             
                    fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_save_presentation"
         
     | 
| 
       492 
492 
     | 
    
         
             
                  end
         
     | 
| 
       493 
493 
     | 
    
         
             
                  # verify enum value
         
     | 
| 
       494 
     | 
    
         
            -
                  if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md'].any?{ |s| s.casecmp(format)==0 }
         
     | 
| 
       495 
     | 
    
         
            -
                    fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md"
         
     | 
| 
      
 494 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
         
     | 
| 
      
 495 
     | 
    
         
            +
                    fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml"
         
     | 
| 
       496 
496 
     | 
    
         
             
                  end
         
     | 
| 
       497 
497 
     | 
    
         
             
                  # verify the required parameter 'out_path' is set
         
     | 
| 
       498 
498 
     | 
    
         
             
                  if @api_client.config.client_side_validation && out_path.nil?
         
     | 
| 
         @@ -535,5 +535,176 @@ module AsposeSlidesCloud 
     | 
|
| 
       535 
535 
     | 
    
         
             
                    :return_type => 'String')
         
     | 
| 
       536 
536 
     | 
    
         
             
                  return data, status_code, headers
         
     | 
| 
       537 
537 
     | 
    
         
             
                end
         
     | 
| 
      
 538 
     | 
    
         
            +
                # @param name 
         
     | 
| 
      
 539 
     | 
    
         
            +
                # @param format 
         
     | 
| 
      
 540 
     | 
    
         
            +
                # @param options 
         
     | 
| 
      
 541 
     | 
    
         
            +
                # @param width 
         
     | 
| 
      
 542 
     | 
    
         
            +
                # @param height 
         
     | 
| 
      
 543 
     | 
    
         
            +
                # @param from 
         
     | 
| 
      
 544 
     | 
    
         
            +
                # @param to 
         
     | 
| 
      
 545 
     | 
    
         
            +
                # @param dest_folder 
         
     | 
| 
      
 546 
     | 
    
         
            +
                # @param password 
         
     | 
| 
      
 547 
     | 
    
         
            +
                # @param folder 
         
     | 
| 
      
 548 
     | 
    
         
            +
                # @param storage 
         
     | 
| 
      
 549 
     | 
    
         
            +
                # @param fonts_folder 
         
     | 
| 
      
 550 
     | 
    
         
            +
                def start_split(name, format, options = nil, width = nil, height = nil, from = nil, to = nil, dest_folder = nil, password = nil, folder = nil, storage = nil, fonts_folder = nil)
         
     | 
| 
      
 551 
     | 
    
         
            +
                  data, _status_code, _headers = start_split_with_http_info(name, format, options, width, height, from, to, dest_folder, password, folder, storage, fonts_folder)
         
     | 
| 
      
 552 
     | 
    
         
            +
                  data
         
     | 
| 
      
 553 
     | 
    
         
            +
                end
         
     | 
| 
      
 554 
     | 
    
         
            +
             
     | 
| 
      
 555 
     | 
    
         
            +
                # @param name 
         
     | 
| 
      
 556 
     | 
    
         
            +
                # @param format 
         
     | 
| 
      
 557 
     | 
    
         
            +
                # @param options 
         
     | 
| 
      
 558 
     | 
    
         
            +
                # @param width 
         
     | 
| 
      
 559 
     | 
    
         
            +
                # @param height 
         
     | 
| 
      
 560 
     | 
    
         
            +
                # @param from 
         
     | 
| 
      
 561 
     | 
    
         
            +
                # @param to 
         
     | 
| 
      
 562 
     | 
    
         
            +
                # @param dest_folder 
         
     | 
| 
      
 563 
     | 
    
         
            +
                # @param password 
         
     | 
| 
      
 564 
     | 
    
         
            +
                # @param folder 
         
     | 
| 
      
 565 
     | 
    
         
            +
                # @param storage 
         
     | 
| 
      
 566 
     | 
    
         
            +
                # @param fonts_folder 
         
     | 
| 
      
 567 
     | 
    
         
            +
                def start_split_with_http_info(name, format, options = nil, width = nil, height = nil, from = nil, to = nil, dest_folder = nil, password = nil, folder = nil, storage = nil, fonts_folder = nil)
         
     | 
| 
      
 568 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 569 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: SlidesAsyncApi.start_split ...'
         
     | 
| 
      
 570 
     | 
    
         
            +
                  end
         
     | 
| 
      
 571 
     | 
    
         
            +
             
     | 
| 
      
 572 
     | 
    
         
            +
                  # verify the required parameter 'name' is set
         
     | 
| 
      
 573 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && name.nil?
         
     | 
| 
      
 574 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'name' when calling SlidesAsyncApi.start_split"
         
     | 
| 
      
 575 
     | 
    
         
            +
                  end
         
     | 
| 
      
 576 
     | 
    
         
            +
                  # verify the required parameter 'format' is set
         
     | 
| 
      
 577 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && format.nil?
         
     | 
| 
      
 578 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_split"
         
     | 
| 
      
 579 
     | 
    
         
            +
                  end
         
     | 
| 
      
 580 
     | 
    
         
            +
                  # verify enum value
         
     | 
| 
      
 581 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
         
     | 
| 
      
 582 
     | 
    
         
            +
                    fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md, Xml"
         
     | 
| 
      
 583 
     | 
    
         
            +
                  end
         
     | 
| 
      
 584 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 585 
     | 
    
         
            +
                  local_var_path = '/slides/async/{name}/split/{format}'
         
     | 
| 
      
 586 
     | 
    
         
            +
                  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
         
     | 
| 
      
 587 
     | 
    
         
            +
                  local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', format)
         
     | 
| 
      
 588 
     | 
    
         
            +
             
     | 
| 
      
 589 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 590 
     | 
    
         
            +
                  query_params = {}
         
     | 
| 
      
 591 
     | 
    
         
            +
                  query_params[:'width'] = @api_client.prepare_for_query(width) unless width.nil?
         
     | 
| 
      
 592 
     | 
    
         
            +
                  query_params[:'height'] = @api_client.prepare_for_query(height) unless height.nil?
         
     | 
| 
      
 593 
     | 
    
         
            +
                  query_params[:'from'] = @api_client.prepare_for_query(from) unless from.nil?
         
     | 
| 
      
 594 
     | 
    
         
            +
                  query_params[:'to'] = @api_client.prepare_for_query(to) unless to.nil?
         
     | 
| 
      
 595 
     | 
    
         
            +
                  query_params[:'destFolder'] = @api_client.prepare_for_query(dest_folder) unless dest_folder.nil?
         
     | 
| 
      
 596 
     | 
    
         
            +
                  query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
         
     | 
| 
      
 597 
     | 
    
         
            +
                  query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
         
     | 
| 
      
 598 
     | 
    
         
            +
                  query_params[:'fontsFolder'] = @api_client.prepare_for_query(fonts_folder) unless fonts_folder.nil?
         
     | 
| 
      
 599 
     | 
    
         
            +
             
     | 
| 
      
 600 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 601 
     | 
    
         
            +
                  header_params = {}
         
     | 
| 
      
 602 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 603 
     | 
    
         
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
         
     | 
| 
      
 604 
     | 
    
         
            +
                  # HTTP header 'Content-Type'
         
     | 
| 
      
 605 
     | 
    
         
            +
                  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
         
     | 
| 
      
 606 
     | 
    
         
            +
                  header_params[:'password'] = password unless password.nil?
         
     | 
| 
      
 607 
     | 
    
         
            +
             
     | 
| 
      
 608 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 609 
     | 
    
         
            +
                  post_body = @api_client.object_to_http_body(options)
         
     | 
| 
      
 610 
     | 
    
         
            +
             
     | 
| 
      
 611 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 612 
     | 
    
         
            +
                  post_files = []
         
     | 
| 
      
 613 
     | 
    
         
            +
             
     | 
| 
      
 614 
     | 
    
         
            +
                  auth_names = ['JWT']
         
     | 
| 
      
 615 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
      
 616 
     | 
    
         
            +
                    :header_params => header_params,
         
     | 
| 
      
 617 
     | 
    
         
            +
                    :query_params => query_params,
         
     | 
| 
      
 618 
     | 
    
         
            +
                    :body => post_body,
         
     | 
| 
      
 619 
     | 
    
         
            +
                    :files => post_files,
         
     | 
| 
      
 620 
     | 
    
         
            +
                    :auth_names => auth_names,
         
     | 
| 
      
 621 
     | 
    
         
            +
                    :return_type => 'String')
         
     | 
| 
      
 622 
     | 
    
         
            +
                  return data, status_code, headers
         
     | 
| 
      
 623 
     | 
    
         
            +
                end
         
     | 
| 
      
 624 
     | 
    
         
            +
                # @param document Document data.
         
     | 
| 
      
 625 
     | 
    
         
            +
                # @param format 
         
     | 
| 
      
 626 
     | 
    
         
            +
                # @param dest_folder 
         
     | 
| 
      
 627 
     | 
    
         
            +
                # @param width 
         
     | 
| 
      
 628 
     | 
    
         
            +
                # @param height 
         
     | 
| 
      
 629 
     | 
    
         
            +
                # @param from 
         
     | 
| 
      
 630 
     | 
    
         
            +
                # @param to 
         
     | 
| 
      
 631 
     | 
    
         
            +
                # @param password 
         
     | 
| 
      
 632 
     | 
    
         
            +
                # @param storage 
         
     | 
| 
      
 633 
     | 
    
         
            +
                # @param fonts_folder 
         
     | 
| 
      
 634 
     | 
    
         
            +
                # @param options 
         
     | 
| 
      
 635 
     | 
    
         
            +
                def start_upload_and_split(document, format, dest_folder = nil, width = nil, height = nil, from = nil, to = nil, password = nil, storage = nil, fonts_folder = nil, options = nil)
         
     | 
| 
      
 636 
     | 
    
         
            +
                  data, _status_code, _headers = start_upload_and_split_with_http_info(document, format, dest_folder, width, height, from, to, password, storage, fonts_folder, options)
         
     | 
| 
      
 637 
     | 
    
         
            +
                  data
         
     | 
| 
      
 638 
     | 
    
         
            +
                end
         
     | 
| 
      
 639 
     | 
    
         
            +
             
     | 
| 
      
 640 
     | 
    
         
            +
                # @param document Document data.
         
     | 
| 
      
 641 
     | 
    
         
            +
                # @param format 
         
     | 
| 
      
 642 
     | 
    
         
            +
                # @param dest_folder 
         
     | 
| 
      
 643 
     | 
    
         
            +
                # @param width 
         
     | 
| 
      
 644 
     | 
    
         
            +
                # @param height 
         
     | 
| 
      
 645 
     | 
    
         
            +
                # @param from 
         
     | 
| 
      
 646 
     | 
    
         
            +
                # @param to 
         
     | 
| 
      
 647 
     | 
    
         
            +
                # @param password 
         
     | 
| 
      
 648 
     | 
    
         
            +
                # @param storage 
         
     | 
| 
      
 649 
     | 
    
         
            +
                # @param fonts_folder 
         
     | 
| 
      
 650 
     | 
    
         
            +
                # @param options 
         
     | 
| 
      
 651 
     | 
    
         
            +
                def start_upload_and_split_with_http_info(document, format, dest_folder = nil, width = nil, height = nil, from = nil, to = nil, password = nil, storage = nil, fonts_folder = nil, options = nil)
         
     | 
| 
      
 652 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 653 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: SlidesAsyncApi.start_upload_and_split ...'
         
     | 
| 
      
 654 
     | 
    
         
            +
                  end
         
     | 
| 
      
 655 
     | 
    
         
            +
             
     | 
| 
      
 656 
     | 
    
         
            +
                  # verify the required parameter 'document' is set
         
     | 
| 
      
 657 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && document.nil?
         
     | 
| 
      
 658 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'document' when calling SlidesAsyncApi.start_upload_and_split"
         
     | 
| 
      
 659 
     | 
    
         
            +
                  end
         
     | 
| 
      
 660 
     | 
    
         
            +
                  # verify the required parameter 'format' is set
         
     | 
| 
      
 661 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && format.nil?
         
     | 
| 
      
 662 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_upload_and_split"
         
     | 
| 
      
 663 
     | 
    
         
            +
                  end
         
     | 
| 
      
 664 
     | 
    
         
            +
                  # verify enum value
         
     | 
| 
      
 665 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
         
     | 
| 
      
 666 
     | 
    
         
            +
                    fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md, Xml"
         
     | 
| 
      
 667 
     | 
    
         
            +
                  end
         
     | 
| 
      
 668 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 669 
     | 
    
         
            +
                  local_var_path = '/slides/async/split/{format}'
         
     | 
| 
      
 670 
     | 
    
         
            +
                  local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', format)
         
     | 
| 
      
 671 
     | 
    
         
            +
             
     | 
| 
      
 672 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 673 
     | 
    
         
            +
                  query_params = {}
         
     | 
| 
      
 674 
     | 
    
         
            +
                  query_params[:'destFolder'] = @api_client.prepare_for_query(dest_folder) unless dest_folder.nil?
         
     | 
| 
      
 675 
     | 
    
         
            +
                  query_params[:'width'] = @api_client.prepare_for_query(width) unless width.nil?
         
     | 
| 
      
 676 
     | 
    
         
            +
                  query_params[:'height'] = @api_client.prepare_for_query(height) unless height.nil?
         
     | 
| 
      
 677 
     | 
    
         
            +
                  query_params[:'from'] = @api_client.prepare_for_query(from) unless from.nil?
         
     | 
| 
      
 678 
     | 
    
         
            +
                  query_params[:'to'] = @api_client.prepare_for_query(to) unless to.nil?
         
     | 
| 
      
 679 
     | 
    
         
            +
                  query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
         
     | 
| 
      
 680 
     | 
    
         
            +
                  query_params[:'fontsFolder'] = @api_client.prepare_for_query(fonts_folder) unless fonts_folder.nil?
         
     | 
| 
      
 681 
     | 
    
         
            +
             
     | 
| 
      
 682 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 683 
     | 
    
         
            +
                  header_params = {}
         
     | 
| 
      
 684 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 685 
     | 
    
         
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
         
     | 
| 
      
 686 
     | 
    
         
            +
                  # HTTP header 'Content-Type'
         
     | 
| 
      
 687 
     | 
    
         
            +
                  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
         
     | 
| 
      
 688 
     | 
    
         
            +
                  header_params[:'password'] = password unless password.nil?
         
     | 
| 
      
 689 
     | 
    
         
            +
             
     | 
| 
      
 690 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 691 
     | 
    
         
            +
                  post_body = @api_client.object_to_http_body(options)
         
     | 
| 
      
 692 
     | 
    
         
            +
             
     | 
| 
      
 693 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 694 
     | 
    
         
            +
                  post_files = []
         
     | 
| 
      
 695 
     | 
    
         
            +
                  if document
         
     | 
| 
      
 696 
     | 
    
         
            +
                    post_files = post_files.push(document)
         
     | 
| 
      
 697 
     | 
    
         
            +
                  end
         
     | 
| 
      
 698 
     | 
    
         
            +
             
     | 
| 
      
 699 
     | 
    
         
            +
                  auth_names = ['JWT']
         
     | 
| 
      
 700 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
      
 701 
     | 
    
         
            +
                    :header_params => header_params,
         
     | 
| 
      
 702 
     | 
    
         
            +
                    :query_params => query_params,
         
     | 
| 
      
 703 
     | 
    
         
            +
                    :body => post_body,
         
     | 
| 
      
 704 
     | 
    
         
            +
                    :files => post_files,
         
     | 
| 
      
 705 
     | 
    
         
            +
                    :auth_names => auth_names,
         
     | 
| 
      
 706 
     | 
    
         
            +
                    :return_type => 'String')
         
     | 
| 
      
 707 
     | 
    
         
            +
                  return data, status_code, headers
         
     | 
| 
      
 708 
     | 
    
         
            +
                end
         
     | 
| 
       538 
709 
     | 
    
         
             
              end
         
     | 
| 
       539 
710 
     | 
    
         
             
            end
         
     | 
| 
         @@ -27,8 +27,11 @@ require 'tempfile' 
     | 
|
| 
       27 
27 
     | 
    
         
             
            require 'faraday'
         
     | 
| 
       28 
28 
     | 
    
         
             
            require 'faraday/httpclient'
         
     | 
| 
       29 
29 
     | 
    
         
             
            require 'uri'
         
     | 
| 
      
 30 
     | 
    
         
            +
            require 'warning'
         
     | 
| 
       30 
31 
     | 
    
         | 
| 
       31 
32 
     | 
    
         
             
            Faraday.default_adapter = :httpclient
         
     | 
| 
      
 33 
     | 
    
         
            +
            # Suppress warning on unknown cookie from httpclient.webagent-cookie
         
     | 
| 
      
 34 
     | 
    
         
            +
            Warning.ignore(/Unknown key: SameSite =/)
         
     | 
| 
       32 
35 
     | 
    
         | 
| 
       33 
36 
     | 
    
         
             
            module AsposeSlidesCloud
         
     | 
| 
       34 
37 
     | 
    
         
             
              class ApiClient
         
     | 
| 
         @@ -74,10 +74,6 @@ module AsposeSlidesCloud 
     | 
|
| 
       74 
74 
     | 
    
         
             
                # @return Array for valid properties with the reasons
         
     | 
| 
       75 
75 
     | 
    
         
             
                def list_invalid_properties
         
     | 
| 
       76 
76 
     | 
    
         
             
                  invalid_properties = super
         
     | 
| 
       77 
     | 
    
         
            -
                  if @built_in.nil?
         
     | 
| 
       78 
     | 
    
         
            -
                    invalid_properties.push('invalid value for "built_in", built_in cannot be nil.')
         
     | 
| 
       79 
     | 
    
         
            -
                  end
         
     | 
| 
       80 
     | 
    
         
            -
             
     | 
| 
       81 
77 
     | 
    
         
             
                  invalid_properties
         
     | 
| 
       82 
78 
     | 
    
         
             
                end
         
     | 
| 
       83 
79 
     | 
    
         | 
| 
         @@ -85,7 +81,6 @@ module AsposeSlidesCloud 
     | 
|
| 
       85 
81 
     | 
    
         
             
                # @return true if the model is valid
         
     | 
| 
       86 
82 
     | 
    
         
             
                def valid?
         
     | 
| 
       87 
83 
     | 
    
         
             
                  return false if !super
         
     | 
| 
       88 
     | 
    
         
            -
                  return false if @built_in.nil?
         
     | 
| 
       89 
84 
     | 
    
         
             
                  true
         
     | 
| 
       90 
85 
     | 
    
         
             
                end
         
     | 
| 
       91 
86 
     | 
    
         | 
| 
         @@ -28,6 +28,9 @@ module AsposeSlidesCloud 
     | 
|
| 
       28 
28 
     | 
    
         
             
                # Default regular font for rendering the presentation. 
         
     | 
| 
       29 
29 
     | 
    
         
             
                attr_accessor :default_regular_font
         
     | 
| 
       30 
30 
     | 
    
         | 
| 
      
 31 
     | 
    
         
            +
                # Default regular font for rendering the presentation. 
         
     | 
| 
      
 32 
     | 
    
         
            +
                attr_accessor :gradient_style
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
       31 
34 
     | 
    
         
             
                # Gets of sets list of font fallback rules.
         
     | 
| 
       32 
35 
     | 
    
         
             
                attr_accessor :font_fallback_rules
         
     | 
| 
       33 
36 
     | 
    
         | 
| 
         @@ -40,6 +43,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       40 
43 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       41 
44 
     | 
    
         
             
                  {
         
     | 
| 
       42 
45 
     | 
    
         
             
                    :'default_regular_font' => :'DefaultRegularFont',
         
     | 
| 
      
 46 
     | 
    
         
            +
                    :'gradient_style' => :'GradientStyle',
         
     | 
| 
       43 
47 
     | 
    
         
             
                    :'font_fallback_rules' => :'FontFallbackRules',
         
     | 
| 
       44 
48 
     | 
    
         
             
                    :'font_subst_rules' => :'FontSubstRules',
         
     | 
| 
       45 
49 
     | 
    
         
             
                    :'format' => :'Format',
         
     | 
| 
         @@ -50,6 +54,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       50 
54 
     | 
    
         
             
                def self.swagger_types
         
     | 
| 
       51 
55 
     | 
    
         
             
                  {
         
     | 
| 
       52 
56 
     | 
    
         
             
                    :'default_regular_font' => :'String',
         
     | 
| 
      
 57 
     | 
    
         
            +
                    :'gradient_style' => :'String',
         
     | 
| 
       53 
58 
     | 
    
         
             
                    :'font_fallback_rules' => :'Array<FontFallbackRule>',
         
     | 
| 
       54 
59 
     | 
    
         
             
                    :'font_subst_rules' => :'Array<FontSubstRule>',
         
     | 
| 
       55 
60 
     | 
    
         
             
                    :'format' => :'String',
         
     | 
| 
         @@ -68,6 +73,10 @@ module AsposeSlidesCloud 
     | 
|
| 
       68 
73 
     | 
    
         
             
                    self.default_regular_font = attributes[:'DefaultRegularFont']
         
     | 
| 
       69 
74 
     | 
    
         
             
                  end
         
     | 
| 
       70 
75 
     | 
    
         | 
| 
      
 76 
     | 
    
         
            +
                  if attributes.has_key?(:'GradientStyle')
         
     | 
| 
      
 77 
     | 
    
         
            +
                    self.gradient_style = attributes[:'GradientStyle']
         
     | 
| 
      
 78 
     | 
    
         
            +
                  end
         
     | 
| 
      
 79 
     | 
    
         
            +
             
     | 
| 
       71 
80 
     | 
    
         
             
                  if attributes.has_key?(:'FontFallbackRules')
         
     | 
| 
       72 
81 
     | 
    
         
             
                    if (value = attributes[:'FontFallbackRules']).is_a?(Array)
         
     | 
| 
       73 
82 
     | 
    
         
             
                      self.font_fallback_rules = value
         
     | 
| 
         @@ -95,15 +104,28 @@ module AsposeSlidesCloud 
     | 
|
| 
       95 
104 
     | 
    
         
             
                # Check to see if the all the properties in the model are valid
         
     | 
| 
       96 
105 
     | 
    
         
             
                # @return true if the model is valid
         
     | 
| 
       97 
106 
     | 
    
         
             
                def valid?
         
     | 
| 
      
 107 
     | 
    
         
            +
                  gradient_style_validator = EnumAttributeValidator.new('String', ['Default', 'PowerPointUI'])
         
     | 
| 
      
 108 
     | 
    
         
            +
                  return false unless gradient_style_validator.valid?(@gradient_style)
         
     | 
| 
       98 
109 
     | 
    
         
             
                  true
         
     | 
| 
       99 
110 
     | 
    
         
             
                end
         
     | 
| 
       100 
111 
     | 
    
         | 
| 
      
 112 
     | 
    
         
            +
                # Custom attribute writer method checking allowed values (enum).
         
     | 
| 
      
 113 
     | 
    
         
            +
                # @param [Object] gradient_style Object to be assigned
         
     | 
| 
      
 114 
     | 
    
         
            +
                def gradient_style=(gradient_style)
         
     | 
| 
      
 115 
     | 
    
         
            +
                  validator = EnumAttributeValidator.new('String', ['Default', 'PowerPointUI'])
         
     | 
| 
      
 116 
     | 
    
         
            +
                  unless validator.valid?(gradient_style)
         
     | 
| 
      
 117 
     | 
    
         
            +
                    fail ArgumentError, 'invalid value for "gradient_style", must be one of #{validator.allowable_values}.'
         
     | 
| 
      
 118 
     | 
    
         
            +
                  end
         
     | 
| 
      
 119 
     | 
    
         
            +
                  @gradient_style = gradient_style
         
     | 
| 
      
 120 
     | 
    
         
            +
                end
         
     | 
| 
      
 121 
     | 
    
         
            +
             
     | 
| 
       101 
122 
     | 
    
         
             
                # Checks equality by comparing each attribute.
         
     | 
| 
       102 
123 
     | 
    
         
             
                # @param [Object] Object to be compared
         
     | 
| 
       103 
124 
     | 
    
         
             
                def ==(o)
         
     | 
| 
       104 
125 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       105 
126 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
       106 
127 
     | 
    
         
             
                      default_regular_font == o.default_regular_font &&
         
     | 
| 
      
 128 
     | 
    
         
            +
                      gradient_style == o.gradient_style &&
         
     | 
| 
       107 
129 
     | 
    
         
             
                      font_fallback_rules == o.font_fallback_rules &&
         
     | 
| 
       108 
130 
     | 
    
         
             
                      font_subst_rules == o.font_subst_rules &&
         
     | 
| 
       109 
131 
     | 
    
         
             
                      format == o.format
         
     | 
| 
         @@ -118,7 +140,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       118 
140 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       119 
141 
     | 
    
         
             
                # @return [Fixnum] Hash code
         
     | 
| 
       120 
142 
     | 
    
         
             
                def hash
         
     | 
| 
       121 
     | 
    
         
            -
                  [default_regular_font, font_fallback_rules, font_subst_rules, format].hash
         
     | 
| 
      
 143 
     | 
    
         
            +
                  [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format].hash
         
     | 
| 
       122 
144 
     | 
    
         
             
                end
         
     | 
| 
       123 
145 
     | 
    
         
             
              end
         
     | 
| 
       124 
146 
     | 
    
         
             
            end
         
     | 
| 
         @@ -91,6 +91,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       91 
91 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       92 
92 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
       93 
93 
     | 
    
         
             
                      default_regular_font == o.default_regular_font &&
         
     | 
| 
      
 94 
     | 
    
         
            +
                      gradient_style == o.gradient_style &&
         
     | 
| 
       94 
95 
     | 
    
         
             
                      font_fallback_rules == o.font_fallback_rules &&
         
     | 
| 
       95 
96 
     | 
    
         
             
                      font_subst_rules == o.font_subst_rules &&
         
     | 
| 
       96 
97 
     | 
    
         
             
                      format == o.format &&
         
     | 
| 
         @@ -110,7 +111,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       110 
111 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       111 
112 
     | 
    
         
             
                # @return [Fixnum] Hash code
         
     | 
| 
       112 
113 
     | 
    
         
             
                def hash
         
     | 
| 
       113 
     | 
    
         
            -
                  [default_regular_font, font_fallback_rules, font_subst_rules, format, height, width, export_hidden_slides, transition_fps, default_delay].hash
         
     | 
| 
      
 114 
     | 
    
         
            +
                  [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, height, width, export_hidden_slides, transition_fps, default_delay].hash
         
     | 
| 
       114 
115 
     | 
    
         
             
                end
         
     | 
| 
       115 
116 
     | 
    
         
             
              end
         
     | 
| 
       116 
117 
     | 
    
         
             
            end
         
     | 
| 
         @@ -104,26 +104,6 @@ module AsposeSlidesCloud 
     | 
|
| 
       104 
104 
     | 
    
         
             
                # @return Array for valid properties with the reasons
         
     | 
| 
       105 
105 
     | 
    
         
             
                def list_invalid_properties
         
     | 
| 
       106 
106 
     | 
    
         
             
                  invalid_properties = super
         
     | 
| 
       107 
     | 
    
         
            -
                  if @direction.nil?
         
     | 
| 
       108 
     | 
    
         
            -
                    invalid_properties.push('invalid value for "direction", direction cannot be nil.')
         
     | 
| 
       109 
     | 
    
         
            -
                  end
         
     | 
| 
       110 
     | 
    
         
            -
             
     | 
| 
       111 
     | 
    
         
            -
                  if @shape.nil?
         
     | 
| 
       112 
     | 
    
         
            -
                    invalid_properties.push('invalid value for "shape", shape cannot be nil.')
         
     | 
| 
       113 
     | 
    
         
            -
                  end
         
     | 
| 
       114 
     | 
    
         
            -
             
     | 
| 
       115 
     | 
    
         
            -
                  if @linear_angle.nil?
         
     | 
| 
       116 
     | 
    
         
            -
                    invalid_properties.push('invalid value for "linear_angle", linear_angle cannot be nil.')
         
     | 
| 
       117 
     | 
    
         
            -
                  end
         
     | 
| 
       118 
     | 
    
         
            -
             
     | 
| 
       119 
     | 
    
         
            -
                  if @is_scaled.nil?
         
     | 
| 
       120 
     | 
    
         
            -
                    invalid_properties.push('invalid value for "is_scaled", is_scaled cannot be nil.')
         
     | 
| 
       121 
     | 
    
         
            -
                  end
         
     | 
| 
       122 
     | 
    
         
            -
             
     | 
| 
       123 
     | 
    
         
            -
                  if @tile_flip.nil?
         
     | 
| 
       124 
     | 
    
         
            -
                    invalid_properties.push('invalid value for "tile_flip", tile_flip cannot be nil.')
         
     | 
| 
       125 
     | 
    
         
            -
                  end
         
     | 
| 
       126 
     | 
    
         
            -
             
     | 
| 
       127 
107 
     | 
    
         
             
                  invalid_properties
         
     | 
| 
       128 
108 
     | 
    
         
             
                end
         
     | 
| 
       129 
109 
     | 
    
         | 
| 
         @@ -131,15 +111,10 @@ module AsposeSlidesCloud 
     | 
|
| 
       131 
111 
     | 
    
         
             
                # @return true if the model is valid
         
     | 
| 
       132 
112 
     | 
    
         
             
                def valid?
         
     | 
| 
       133 
113 
     | 
    
         
             
                  return false if !super
         
     | 
| 
       134 
     | 
    
         
            -
                  return false if @direction.nil?
         
     | 
| 
       135 
114 
     | 
    
         
             
                  direction_validator = EnumAttributeValidator.new('String', ['FromCorner1', 'FromCorner2', 'FromCorner3', 'FromCorner4', 'FromCenter', 'NotDefined'])
         
     | 
| 
       136 
115 
     | 
    
         
             
                  return false unless direction_validator.valid?(@direction)
         
     | 
| 
       137 
     | 
    
         
            -
                  return false if @shape.nil?
         
     | 
| 
       138 
116 
     | 
    
         
             
                  shape_validator = EnumAttributeValidator.new('String', ['Linear', 'Rectangle', 'Radial', 'Path', 'NotDefined'])
         
     | 
| 
       139 
117 
     | 
    
         
             
                  return false unless shape_validator.valid?(@shape)
         
     | 
| 
       140 
     | 
    
         
            -
                  return false if @linear_angle.nil?
         
     | 
| 
       141 
     | 
    
         
            -
                  return false if @is_scaled.nil?
         
     | 
| 
       142 
     | 
    
         
            -
                  return false if @tile_flip.nil?
         
     | 
| 
       143 
118 
     | 
    
         
             
                  tile_flip_validator = EnumAttributeValidator.new('String', ['NoFlip', 'FlipX', 'FlipY', 'FlipBoth', 'NotDefined'])
         
     | 
| 
       144 
119 
     | 
    
         
             
                  return false unless tile_flip_validator.valid?(@tile_flip)
         
     | 
| 
       145 
120 
     | 
    
         
             
                  true
         
     | 
| 
         @@ -37,6 +37,9 @@ module AsposeSlidesCloud 
     | 
|
| 
       37 
37 
     | 
    
         
             
                # Slides layouting options
         
     | 
| 
       38 
38 
     | 
    
         
             
                attr_accessor :notes_comments_layouting
         
     | 
| 
       39 
39 
     | 
    
         | 
| 
      
 40 
     | 
    
         
            +
                # Path to custom templates
         
     | 
| 
      
 41 
     | 
    
         
            +
                attr_accessor :templates_path
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
       40 
43 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       41 
44 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       42 
45 
     | 
    
         
             
                  super.merge({
         
     | 
| 
         @@ -44,6 +47,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       44 
47 
     | 
    
         
             
                    :'animate_shapes' => :'AnimateShapes',
         
     | 
| 
       45 
48 
     | 
    
         
             
                    :'embed_images' => :'EmbedImages',
         
     | 
| 
       46 
49 
     | 
    
         
             
                    :'notes_comments_layouting' => :'NotesCommentsLayouting',
         
     | 
| 
      
 50 
     | 
    
         
            +
                    :'templates_path' => :'TemplatesPath',
         
     | 
| 
       47 
51 
     | 
    
         
             
                  })
         
     | 
| 
       48 
52 
     | 
    
         
             
                end
         
     | 
| 
       49 
53 
     | 
    
         | 
| 
         @@ -54,6 +58,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       54 
58 
     | 
    
         
             
                    :'animate_shapes' => :'BOOLEAN',
         
     | 
| 
       55 
59 
     | 
    
         
             
                    :'embed_images' => :'BOOLEAN',
         
     | 
| 
       56 
60 
     | 
    
         
             
                    :'notes_comments_layouting' => :'NotesCommentsLayoutingOptions',
         
     | 
| 
      
 61 
     | 
    
         
            +
                    :'templates_path' => :'String',
         
     | 
| 
       57 
62 
     | 
    
         
             
                  })
         
     | 
| 
       58 
63 
     | 
    
         
             
                end
         
     | 
| 
       59 
64 
     | 
    
         | 
| 
         @@ -77,6 +82,10 @@ module AsposeSlidesCloud 
     | 
|
| 
       77 
82 
     | 
    
         
             
                  if attributes.has_key?(:'NotesCommentsLayouting')
         
     | 
| 
       78 
83 
     | 
    
         
             
                    self.notes_comments_layouting = attributes[:'NotesCommentsLayouting']
         
     | 
| 
       79 
84 
     | 
    
         
             
                  end
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
                  if attributes.has_key?(:'TemplatesPath')
         
     | 
| 
      
 87 
     | 
    
         
            +
                    self.templates_path = attributes[:'TemplatesPath']
         
     | 
| 
      
 88 
     | 
    
         
            +
                  end
         
     | 
| 
       80 
89 
     | 
    
         
             
                  self.format = 'html5'
         
     | 
| 
       81 
90 
     | 
    
         
             
                end
         
     | 
| 
       82 
91 
     | 
    
         | 
| 
         @@ -100,13 +109,15 @@ module AsposeSlidesCloud 
     | 
|
| 
       100 
109 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       101 
110 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
       102 
111 
     | 
    
         
             
                      default_regular_font == o.default_regular_font &&
         
     | 
| 
      
 112 
     | 
    
         
            +
                      gradient_style == o.gradient_style &&
         
     | 
| 
       103 
113 
     | 
    
         
             
                      font_fallback_rules == o.font_fallback_rules &&
         
     | 
| 
       104 
114 
     | 
    
         
             
                      font_subst_rules == o.font_subst_rules &&
         
     | 
| 
       105 
115 
     | 
    
         
             
                      format == o.format &&
         
     | 
| 
       106 
116 
     | 
    
         
             
                      animate_transitions == o.animate_transitions &&
         
     | 
| 
       107 
117 
     | 
    
         
             
                      animate_shapes == o.animate_shapes &&
         
     | 
| 
       108 
118 
     | 
    
         
             
                      embed_images == o.embed_images &&
         
     | 
| 
       109 
     | 
    
         
            -
                      notes_comments_layouting == o.notes_comments_layouting
         
     | 
| 
      
 119 
     | 
    
         
            +
                      notes_comments_layouting == o.notes_comments_layouting &&
         
     | 
| 
      
 120 
     | 
    
         
            +
                      templates_path == o.templates_path
         
     | 
| 
       110 
121 
     | 
    
         
             
                end
         
     | 
| 
       111 
122 
     | 
    
         | 
| 
       112 
123 
     | 
    
         
             
                # @see the `==` method
         
     | 
| 
         @@ -118,7 +129,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       118 
129 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       119 
130 
     | 
    
         
             
                # @return [Fixnum] Hash code
         
     | 
| 
       120 
131 
     | 
    
         
             
                def hash
         
     | 
| 
       121 
     | 
    
         
            -
                  [default_regular_font, font_fallback_rules, font_subst_rules, format, animate_transitions, animate_shapes, embed_images, notes_comments_layouting].hash
         
     | 
| 
      
 132 
     | 
    
         
            +
                  [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, animate_transitions, animate_shapes, embed_images, notes_comments_layouting, templates_path].hash
         
     | 
| 
       122 
133 
     | 
    
         
             
                end
         
     | 
| 
       123 
134 
     | 
    
         
             
              end
         
     | 
| 
       124 
135 
     | 
    
         
             
            end
         
     | 
| 
         @@ -148,6 +148,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       148 
148 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       149 
149 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
       150 
150 
     | 
    
         
             
                      default_regular_font == o.default_regular_font &&
         
     | 
| 
      
 151 
     | 
    
         
            +
                      gradient_style == o.gradient_style &&
         
     | 
| 
       151 
152 
     | 
    
         
             
                      font_fallback_rules == o.font_fallback_rules &&
         
     | 
| 
       152 
153 
     | 
    
         
             
                      font_subst_rules == o.font_subst_rules &&
         
     | 
| 
       153 
154 
     | 
    
         
             
                      format == o.format &&
         
     | 
| 
         @@ -170,7 +171,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       170 
171 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       171 
172 
     | 
    
         
             
                # @return [Fixnum] Hash code
         
     | 
| 
       172 
173 
     | 
    
         
             
                def hash
         
     | 
| 
       173 
     | 
    
         
            -
                  [default_regular_font, font_fallback_rules, font_subst_rules, format, save_as_zip, sub_directory_name, show_hidden_slides, svg_responsive_layout, jpeg_quality, pictures_compression, delete_pictures_cropped_areas, slides_layout_options].hash
         
     | 
| 
      
 174 
     | 
    
         
            +
                  [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, save_as_zip, sub_directory_name, show_hidden_slides, svg_responsive_layout, jpeg_quality, pictures_compression, delete_pictures_cropped_areas, slides_layout_options].hash
         
     | 
| 
       174 
175 
     | 
    
         
             
                end
         
     | 
| 
       175 
176 
     | 
    
         
             
              end
         
     | 
| 
       176 
177 
     | 
    
         
             
            end
         
     | 
| 
         @@ -82,6 +82,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       82 
82 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       83 
83 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
       84 
84 
     | 
    
         
             
                      default_regular_font == o.default_regular_font &&
         
     | 
| 
      
 85 
     | 
    
         
            +
                      gradient_style == o.gradient_style &&
         
     | 
| 
       85 
86 
     | 
    
         
             
                      font_fallback_rules == o.font_fallback_rules &&
         
     | 
| 
       86 
87 
     | 
    
         
             
                      font_subst_rules == o.font_subst_rules &&
         
     | 
| 
       87 
88 
     | 
    
         
             
                      format == o.format &&
         
     | 
| 
         @@ -100,7 +101,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       100 
101 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       101 
102 
     | 
    
         
             
                # @return [Fixnum] Hash code
         
     | 
| 
       102 
103 
     | 
    
         
             
                def hash
         
     | 
| 
       103 
     | 
    
         
            -
                  [default_regular_font, font_fallback_rules, font_subst_rules, format, height, width, show_hidden_slides, slides_layout_options].hash
         
     | 
| 
      
 104 
     | 
    
         
            +
                  [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, height, width, show_hidden_slides, slides_layout_options].hash
         
     | 
| 
       104 
105 
     | 
    
         
             
                end
         
     | 
| 
       105 
106 
     | 
    
         
             
              end
         
     | 
| 
       106 
107 
     | 
    
         
             
            end
         
     | 
| 
         @@ -81,6 +81,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       81 
81 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       82 
82 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
       83 
83 
     | 
    
         
             
                      default_regular_font == o.default_regular_font &&
         
     | 
| 
      
 84 
     | 
    
         
            +
                      gradient_style == o.gradient_style &&
         
     | 
| 
       84 
85 
     | 
    
         
             
                      font_fallback_rules == o.font_fallback_rules &&
         
     | 
| 
       85 
86 
     | 
    
         
             
                      font_subst_rules == o.font_subst_rules &&
         
     | 
| 
       86 
87 
     | 
    
         
             
                      format == o.format &&
         
     | 
| 
         @@ -97,7 +98,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       97 
98 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       98 
99 
     | 
    
         
             
                # @return [Fixnum] Hash code
         
     | 
| 
       99 
100 
     | 
    
         
             
                def hash
         
     | 
| 
       100 
     | 
    
         
            -
                  [default_regular_font, font_fallback_rules, font_subst_rules, format, height, width].hash
         
     | 
| 
      
 101 
     | 
    
         
            +
                  [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, height, width].hash
         
     | 
| 
       101 
102 
     | 
    
         
             
                end
         
     | 
| 
       102 
103 
     | 
    
         
             
              end
         
     | 
| 
       103 
104 
     | 
    
         
             
            end
         
     | 
| 
         @@ -163,6 +163,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       163 
163 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       164 
164 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
       165 
165 
     | 
    
         
             
                      default_regular_font == o.default_regular_font &&
         
     | 
| 
      
 166 
     | 
    
         
            +
                      gradient_style == o.gradient_style &&
         
     | 
| 
       166 
167 
     | 
    
         
             
                      font_fallback_rules == o.font_fallback_rules &&
         
     | 
| 
       167 
168 
     | 
    
         
             
                      font_subst_rules == o.font_subst_rules &&
         
     | 
| 
       168 
169 
     | 
    
         
             
                      format == o.format &&
         
     | 
| 
         @@ -184,7 +185,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       184 
185 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       185 
186 
     | 
    
         
             
                # @return [Fixnum] Hash code
         
     | 
| 
       186 
187 
     | 
    
         
             
                def hash
         
     | 
| 
       187 
     | 
    
         
            -
                  [default_regular_font, font_fallback_rules, font_subst_rules, format, export_type, flavor, new_line_type, images_save_folder_name, show_slide_number, show_comments, show_hidden_slides].hash
         
     | 
| 
      
 188 
     | 
    
         
            +
                  [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, export_type, flavor, new_line_type, images_save_folder_name, show_slide_number, show_comments, show_hidden_slides].hash
         
     | 
| 
       188 
189 
     | 
    
         
             
                end
         
     | 
| 
       189 
190 
     | 
    
         
             
              end
         
     | 
| 
       190 
191 
     | 
    
         
             
            end
         
     | 
| 
         @@ -129,10 +129,6 @@ module AsposeSlidesCloud 
     | 
|
| 
       129 
129 
     | 
    
         
             
                # @return Array for valid properties with the reasons
         
     | 
| 
       130 
130 
     | 
    
         
             
                def list_invalid_properties
         
     | 
| 
       131 
131 
     | 
    
         
             
                  invalid_properties = super
         
     | 
| 
       132 
     | 
    
         
            -
                  if @is_object_icon.nil?
         
     | 
| 
       133 
     | 
    
         
            -
                    invalid_properties.push('invalid value for "is_object_icon", is_object_icon cannot be nil.')
         
     | 
| 
       134 
     | 
    
         
            -
                  end
         
     | 
| 
       135 
     | 
    
         
            -
             
     | 
| 
       136 
132 
     | 
    
         
             
                  invalid_properties
         
     | 
| 
       137 
133 
     | 
    
         
             
                end
         
     | 
| 
       138 
134 
     | 
    
         | 
| 
         @@ -140,7 +136,6 @@ module AsposeSlidesCloud 
     | 
|
| 
       140 
136 
     | 
    
         
             
                # @return true if the model is valid
         
     | 
| 
       141 
137 
     | 
    
         
             
                def valid?
         
     | 
| 
       142 
138 
     | 
    
         
             
                  return false if !super
         
     | 
| 
       143 
     | 
    
         
            -
                  return false if @is_object_icon.nil?
         
     | 
| 
       144 
139 
     | 
    
         
             
                  true
         
     | 
| 
       145 
140 
     | 
    
         
             
                end
         
     | 
| 
       146 
141 
     | 
    
         | 
| 
         @@ -72,7 +72,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       72 
72 
     | 
    
         
             
                    :'failed' => :'DateTime',
         
     | 
| 
       73 
73 
     | 
    
         
             
                    :'canceled' => :'DateTime',
         
     | 
| 
       74 
74 
     | 
    
         
             
                    :'finished' => :'DateTime',
         
     | 
| 
       75 
     | 
    
         
            -
                    :'error' => :' 
     | 
| 
      
 75 
     | 
    
         
            +
                    :'error' => :'OperationError',
         
     | 
| 
       76 
76 
     | 
    
         
             
                  }
         
     | 
| 
       77 
77 
     | 
    
         
             
                end
         
     | 
| 
       78 
78 
     | 
    
         | 
| 
         @@ -149,7 +149,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       149 
149 
     | 
    
         
             
                def valid?
         
     | 
| 
       150 
150 
     | 
    
         
             
                  return false if @id.nil?
         
     | 
| 
       151 
151 
     | 
    
         
             
                  return false if @method.nil?
         
     | 
| 
       152 
     | 
    
         
            -
                  method_validator = EnumAttributeValidator.new('String', ['Convert', 'DownloadPresentation', 'ConvertAndSave', 'SavePresentation', 'Merge', 'MergeAndSave'])
         
     | 
| 
      
 152 
     | 
    
         
            +
                  method_validator = EnumAttributeValidator.new('String', ['Convert', 'DownloadPresentation', 'ConvertAndSave', 'SavePresentation', 'Merge', 'MergeAndSave', 'Split', 'UploadAndSplit'])
         
     | 
| 
       153 
153 
     | 
    
         
             
                  return false unless method_validator.valid?(@method)
         
     | 
| 
       154 
154 
     | 
    
         
             
                  return false if @status.nil?
         
     | 
| 
       155 
155 
     | 
    
         
             
                  status_validator = EnumAttributeValidator.new('String', ['Created', 'Enqueued', 'Started', 'Failed', 'Canceled', 'Finished'])
         
     | 
| 
         @@ -160,7 +160,7 @@ module AsposeSlidesCloud 
     | 
|
| 
       160 
160 
     | 
    
         
             
                # Custom attribute writer method checking allowed values (enum).
         
     | 
| 
       161 
161 
     | 
    
         
             
                # @param [Object] method Object to be assigned
         
     | 
| 
       162 
162 
     | 
    
         
             
                def method=(method)
         
     | 
| 
       163 
     | 
    
         
            -
                  validator = EnumAttributeValidator.new('String', ['Convert', 'DownloadPresentation', 'ConvertAndSave', 'SavePresentation', 'Merge', 'MergeAndSave'])
         
     | 
| 
      
 163 
     | 
    
         
            +
                  validator = EnumAttributeValidator.new('String', ['Convert', 'DownloadPresentation', 'ConvertAndSave', 'SavePresentation', 'Merge', 'MergeAndSave', 'Split', 'UploadAndSplit'])
         
     | 
| 
       164 
164 
     | 
    
         
             
                  unless validator.valid?(method)
         
     | 
| 
       165 
165 
     | 
    
         
             
                    fail ArgumentError, 'invalid value for "method", must be one of #{validator.allowable_values}.'
         
     | 
| 
       166 
166 
     | 
    
         
             
                  end
         
     |