File Coverage

blib/lib/AsposeSlidesCloud/SlidesApi.pm
Criterion Covered Total %
statement 27 2352 1.1
branch 0 1132 0.0
condition n/a
subroutine 9 65 13.8
pod 0 56 0.0
total 36 3605 1.0


line stmt bran cond sub pod time code
1             package AsposeSlidesCloud::SlidesApi;
2              
3             require 5.6.0;
4 1     1   248145 use strict;
  1         2  
  1         70  
5 1     1   7 use warnings;
  1         2  
  1         53  
6 1     1   7 use utf8;
  1         8  
  1         11  
7 1     1   38 use Exporter;
  1         1  
  1         57  
8 1     1   4 use Carp qw( croak );
  1         1  
  1         73  
9 1     1   7 use Log::Any qw($log);
  1         2  
  1         13  
10 1     1   250 use File::Slurp;
  1         3  
  1         133  
11              
12 1     1   702 use AsposeSlidesCloud::ApiClient;
  1         3  
  1         47  
13 1     1   9 use AsposeSlidesCloud::Configuration;
  1         2  
  1         41604  
14              
15             my $VERSION = '1.01';
16              
17             sub new {
18 0     0 0   my $class = shift;
19 0 0         my $default_api_client = $AsposeSlidesCloud::Configuration::api_client ? $AsposeSlidesCloud::Configuration::api_client :
20             AsposeSlidesCloud::ApiClient->new;
21 0           my (%self) = (
22             'api_client' => $default_api_client,
23             @_
24             );
25              
26             #my $self = {
27             # #api_client => $options->{api_client}
28             # api_client => $default_api_client
29             #};
30              
31 0           bless \%self, $class;
32              
33             }
34              
35             #
36             # PutSlidesConvert
37             #
38             #
39             #
40             # @param String $password (optional)
41             # @param String $format (optional)
42             # @param String $outPath (optional)
43             # @param File $file (required)
44             # @return ResponseMessage
45             #
46             sub PutSlidesConvert {
47 0     0 0   my ($self, %args) = @_;
48              
49            
50             # verify the required parameter 'file' is set
51 0 0         unless (exists $args{'file'}) {
52 0           croak("Missing the required parameter 'file' when calling PutSlidesConvert");
53             }
54            
55              
56             # parse inputs
57 0           my $_resource_path = '/slides/convert/?appSid={appSid}&password={password}&toFormat={toFormat}&outPath={outPath}';
58            
59 0           $_resource_path =~ s/\Q&\E/&/g;
60 0           $_resource_path =~ s/\Q\/?\E/?/g;
61 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
62 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
63            
64 0           my $_method = 'PUT';
65 0           my $query_params = {};
66 0           my $header_params = {};
67 0           my $form_params = {};
68              
69             # 'Accept' and 'Content-Type' header
70 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/octet-stream');
71 0 0         if ($_header_accept) {
72 0           $header_params->{'Accept'} = $_header_accept;
73             }
74 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('multipart/form-data');
75              
76             # query params
77 0 0         if ( exists $args{'password'}) {
78 0           $_resource_path =~ s/\Q{password}\E/$args{'password'}/g;
79             }else{
80 0           $_resource_path =~ s/[?&]password.*?(?=&|\?|$)//g;
81             }# query params
82 0 0         if ( exists $args{'format'}) {
83 0           $_resource_path =~ s/\Q{format}\E/$args{'format'}/g;
84             }else{
85 0           $_resource_path =~ s/[?&]format.*?(?=&|\?|$)//g;
86             }# query params
87 0 0         if ( exists $args{'outPath'}) {
88 0           $_resource_path =~ s/\Q{outPath}\E/$args{'outPath'}/g;
89             }else{
90 0           $_resource_path =~ s/[?&]outPath.*?(?=&|\?|$)//g;
91             }
92            
93            
94 0           my $_body_data;
95             # form params
96 0 0         if ( exists $args{'file'} ) {
97            
98 0           $_body_data = read_file( $args{'file'} , binmode => ':raw' );
99            
100            
101             }
102            
103            
104              
105             # authentication setting, if any
106 0           my $auth_settings = [];
107              
108             # make the API Call
109 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
110             $query_params, $form_params,
111             $header_params, $_body_data, $auth_settings);
112 0 0         if (!$response) {
113 0           return;
114             }
115              
116 0 0         if($AsposeSlidesCloud::Configuration::debug){
117 0           print "\nResponse Content: ".$response->content;
118             }
119            
120 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
121 0           return $_response_object;
122            
123             }
124             #
125             # GetSlidesDocument
126             #
127             #
128             #
129             # @param String $name (required)
130             # @param String $password (optional)
131             # @param String $storage (optional)
132             # @param String $folder (optional)
133             # @return DocumentResponse
134             #
135             sub GetSlidesDocument {
136 0     0 0   my ($self, %args) = @_;
137              
138            
139             # verify the required parameter 'name' is set
140 0 0         unless (exists $args{'name'}) {
141 0           croak("Missing the required parameter 'name' when calling GetSlidesDocument");
142             }
143            
144              
145             # parse inputs
146 0           my $_resource_path = '/slides/{name}/?appSid={appSid}&password={password}&storage={storage}&folder={folder}';
147            
148 0           $_resource_path =~ s/\Q&\E/&/g;
149 0           $_resource_path =~ s/\Q\/?\E/?/g;
150 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
151 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
152            
153 0           my $_method = 'GET';
154 0           my $query_params = {};
155 0           my $header_params = {};
156 0           my $form_params = {};
157              
158             # 'Accept' and 'Content-Type' header
159 0           my $_header_accept = $self->{api_client}->select_header_accept('application/json');
160 0 0         if ($_header_accept) {
161 0           $header_params->{'Accept'} = $_header_accept;
162             }
163 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
164              
165             # query params
166 0 0         if ( exists $args{'name'}) {
167 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
168             }else{
169 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
170             }# query params
171 0 0         if ( exists $args{'password'}) {
172 0           $_resource_path =~ s/\Q{password}\E/$args{'password'}/g;
173             }else{
174 0           $_resource_path =~ s/[?&]password.*?(?=&|\?|$)//g;
175             }# query params
176 0 0         if ( exists $args{'storage'}) {
177 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
178             }else{
179 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
180             }# query params
181 0 0         if ( exists $args{'folder'}) {
182 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
183             }else{
184 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
185             }
186            
187            
188 0           my $_body_data;
189            
190            
191            
192              
193             # authentication setting, if any
194 0           my $auth_settings = [];
195              
196             # make the API Call
197 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
198             $query_params, $form_params,
199             $header_params, $_body_data, $auth_settings);
200 0 0         if (!$response) {
201 0           return;
202             }
203              
204 0 0         if($AsposeSlidesCloud::Configuration::debug){
205 0           print "\nResponse Content: ".$response->content;
206             }
207            
208 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentResponse', $response->header('content-type'));
209 0           return $_response_object;
210            
211             }
212             #
213             # PutNewPresentation
214             #
215             #
216             #
217             # @param String $name (required)
218             # @param String $password (optional)
219             # @param String $storage (optional)
220             # @param String $folder (optional)
221             # @param File $file (required)
222             # @return DocumentResponse
223             #
224             sub PutNewPresentation {
225 0     0 0   my ($self, %args) = @_;
226              
227            
228             # verify the required parameter 'name' is set
229 0 0         unless (exists $args{'name'}) {
230 0           croak("Missing the required parameter 'name' when calling PutNewPresentation");
231             }
232            
233             # verify the required parameter 'file' is set
234 0 0         unless (exists $args{'file'}) {
235 0           croak("Missing the required parameter 'file' when calling PutNewPresentation");
236             }
237            
238              
239             # parse inputs
240 0           my $_resource_path = '/slides/{name}/?appSid={appSid}&password={password}&storage={storage}&folder={folder}';
241            
242 0           $_resource_path =~ s/\Q&\E/&/g;
243 0           $_resource_path =~ s/\Q\/?\E/?/g;
244 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
245 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
246            
247 0           my $_method = 'PUT';
248 0           my $query_params = {};
249 0           my $header_params = {};
250 0           my $form_params = {};
251              
252             # 'Accept' and 'Content-Type' header
253 0           my $_header_accept = $self->{api_client}->select_header_accept( 'application/json');
254 0 0         if ($_header_accept) {
255 0           $header_params->{'Accept'} = $_header_accept;
256             }
257 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('multipart/form-data');
258              
259             # query params
260 0 0         if ( exists $args{'name'}) {
261 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
262             }else{
263 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
264             }# query params
265 0 0         if ( exists $args{'password'}) {
266 0           $_resource_path =~ s/\Q{password}\E/$args{'password'}/g;
267             }else{
268 0           $_resource_path =~ s/[?&]password.*?(?=&|\?|$)//g;
269             }# query params
270 0 0         if ( exists $args{'storage'}) {
271 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
272             }else{
273 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
274             }# query params
275 0 0         if ( exists $args{'folder'}) {
276 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
277             }else{
278 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
279             }
280            
281            
282 0           my $_body_data;
283             # form params
284 0 0         if ( exists $args{'file'} ) {
285            
286 0           $_body_data = read_file( $args{'file'} , binmode => ':raw' );
287            
288            
289             }
290            
291            
292              
293             # authentication setting, if any
294 0           my $auth_settings = [];
295              
296             # make the API Call
297 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
298             $query_params, $form_params,
299             $header_params, $_body_data, $auth_settings);
300 0 0         if (!$response) {
301 0           return;
302             }
303              
304 0 0         if($AsposeSlidesCloud::Configuration::debug){
305 0           print "\nResponse Content: ".$response->content;
306             }
307            
308 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentResponse', $response->header('content-type'));
309 0           return $_response_object;
310            
311             }
312             #
313             # PostSlidesDocument
314             #
315             #
316             #
317             # @param String $name (required)
318             # @param String $templatePath (required)
319             # @param String $templateStorage (optional)
320             # @param Boolean $isImageDataEmbeeded (optional)
321             # @param String $password (optional)
322             # @param String $storage (optional)
323             # @param String $folder (optional)
324             # @param File $file (required)
325             # @return DocumentResponse
326             #
327             sub PostSlidesDocument {
328 0     0 0   my ($self, %args) = @_;
329              
330            
331             # verify the required parameter 'name' is set
332 0 0         unless (exists $args{'name'}) {
333 0           croak("Missing the required parameter 'name' when calling PostSlidesDocument");
334             }
335            
336             # verify the required parameter 'templatePath' is set
337 0 0         unless (exists $args{'templatePath'}) {
338 0           croak("Missing the required parameter 'templatePath' when calling PostSlidesDocument");
339             }
340            
341             # verify the required parameter 'file' is set
342 0 0         unless (exists $args{'file'}) {
343 0           croak("Missing the required parameter 'file' when calling PostSlidesDocument");
344             }
345            
346              
347             # parse inputs
348 0           my $_resource_path = '/slides/{name}/?appSid={appSid}&templatePath={templatePath}&templateStorage={templateStorage}&isImageDataEmbeeded={isImageDataEmbeeded}&password={password}&storage={storage}&folder={folder}';
349            
350 0           $_resource_path =~ s/\Q&\E/&/g;
351 0           $_resource_path =~ s/\Q\/?\E/?/g;
352 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
353 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
354            
355 0           my $_method = 'POST';
356 0           my $query_params = {};
357 0           my $header_params = {};
358 0           my $form_params = {};
359              
360             # 'Accept' and 'Content-Type' header
361 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
362 0 0         if ($_header_accept) {
363 0           $header_params->{'Accept'} = $_header_accept;
364             }
365 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('multipart/form-data');
366              
367             # query params
368 0 0         if ( exists $args{'name'}) {
369 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
370             }else{
371 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
372             }# query params
373 0 0         if ( exists $args{'templatePath'}) {
374 0           $_resource_path =~ s/\Q{templatePath}\E/$args{'templatePath'}/g;
375             }else{
376 0           $_resource_path =~ s/[?&]templatePath.*?(?=&|\?|$)//g;
377             }# query params
378 0 0         if ( exists $args{'templateStorage'}) {
379 0           $_resource_path =~ s/\Q{templateStorage}\E/$args{'templateStorage'}/g;
380             }else{
381 0           $_resource_path =~ s/[?&]templateStorage.*?(?=&|\?|$)//g;
382             }# query params
383 0 0         if ( exists $args{'isImageDataEmbeeded'}) {
384 0           $_resource_path =~ s/\Q{isImageDataEmbeeded}\E/$args{'isImageDataEmbeeded'}/g;
385             }else{
386 0           $_resource_path =~ s/[?&]isImageDataEmbeeded.*?(?=&|\?|$)//g;
387             }# query params
388 0 0         if ( exists $args{'password'}) {
389 0           $_resource_path =~ s/\Q{password}\E/$args{'password'}/g;
390             }else{
391 0           $_resource_path =~ s/[?&]password.*?(?=&|\?|$)//g;
392             }# query params
393 0 0         if ( exists $args{'storage'}) {
394 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
395             }else{
396 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
397             }# query params
398 0 0         if ( exists $args{'folder'}) {
399 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
400             }else{
401 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
402             }
403            
404            
405 0           my $_body_data;
406             # form params
407 0 0         if ( exists $args{'file'} ) {
408            
409 0           $_body_data = read_file( $args{'file'} , binmode => ':raw' );
410            
411            
412             }
413            
414            
415              
416             # authentication setting, if any
417 0           my $auth_settings = [];
418              
419             # make the API Call
420 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
421             $query_params, $form_params,
422             $header_params, $_body_data, $auth_settings);
423 0 0         if (!$response) {
424 0           return;
425             }
426              
427 0 0         if($AsposeSlidesCloud::Configuration::debug){
428 0           print "\nResponse Content: ".$response->content;
429             }
430            
431 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentResponse', $response->header('content-type'));
432 0           return $_response_object;
433            
434             }
435             #
436             # PutNewPresentationFromStoredTemplate
437             #
438             #
439             #
440             # @param String $name (required)
441             # @param String $templatePath (required)
442             # @param String $templateStorage (optional)
443             # @param String $password (optional)
444             # @param String $storage (optional)
445             # @param String $folder (optional)
446             # @param File $file (required)
447             # @return DocumentResponse
448             #
449             sub PutNewPresentationFromStoredTemplate {
450 0     0 0   my ($self, %args) = @_;
451              
452            
453             # verify the required parameter 'name' is set
454 0 0         unless (exists $args{'name'}) {
455 0           croak("Missing the required parameter 'name' when calling PutNewPresentationFromStoredTemplate");
456             }
457            
458             # verify the required parameter 'templatePath' is set
459 0 0         unless (exists $args{'templatePath'}) {
460 0           croak("Missing the required parameter 'templatePath' when calling PutNewPresentationFromStoredTemplate");
461             }
462            
463             # verify the required parameter 'file' is set
464             #unless (exists $args{'file'}) {
465             # croak("Missing the required parameter 'file' when calling PutNewPresentationFromStoredTemplate");
466             #}
467            
468              
469             # parse inputs
470 0           my $_resource_path = '/slides/{name}/?appSid={appSid}&templatePath={templatePath}&templateStorage={templateStorage}&password={password}&storage={storage}&folder={folder}';
471            
472 0           $_resource_path =~ s/\Q&\E/&/g;
473 0           $_resource_path =~ s/\Q\/?\E/?/g;
474 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
475 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
476            
477 0           my $_method = 'PUT';
478 0           my $query_params = {};
479 0           my $header_params = {};
480 0           my $form_params = {};
481              
482             # 'Accept' and 'Content-Type' header
483 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
484 0 0         if ($_header_accept) {
485 0           $header_params->{'Accept'} = $_header_accept;
486             }
487 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('multipart/form-data');
488              
489             # query params
490 0 0         if ( exists $args{'name'}) {
491 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
492             }else{
493 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
494             }# query params
495 0 0         if ( exists $args{'templatePath'}) {
496 0           $_resource_path =~ s/\Q{templatePath}\E/$args{'templatePath'}/g;
497             }else{
498 0           $_resource_path =~ s/[?&]templatePath.*?(?=&|\?|$)//g;
499             }# query params
500 0 0         if ( exists $args{'templateStorage'}) {
501 0           $_resource_path =~ s/\Q{templateStorage}\E/$args{'templateStorage'}/g;
502             }else{
503 0           $_resource_path =~ s/[?&]templateStorage.*?(?=&|\?|$)//g;
504             }# query params
505 0 0         if ( exists $args{'password'}) {
506 0           $_resource_path =~ s/\Q{password}\E/$args{'password'}/g;
507             }else{
508 0           $_resource_path =~ s/[?&]password.*?(?=&|\?|$)//g;
509             }# query params
510 0 0         if ( exists $args{'storage'}) {
511 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
512             }else{
513 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
514             }# query params
515 0 0         if ( exists $args{'folder'}) {
516 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
517             }else{
518 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
519             }
520            
521            
522 0           my $_body_data;
523             # form params
524 0 0         if ( exists $args{'file'} ) {
525            
526 0           $_body_data = read_file( $args{'file'} , binmode => ':raw' );
527            
528            
529             }
530            
531            
532              
533             # authentication setting, if any
534 0           my $auth_settings = [];
535              
536             # make the API Call
537 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
538             $query_params, $form_params,
539             $header_params, $_body_data, $auth_settings);
540 0 0         if (!$response) {
541 0           return;
542             }
543              
544 0 0         if($AsposeSlidesCloud::Configuration::debug){
545 0           print "\nResponse Content: ".$response->content;
546             }
547            
548 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentResponse', $response->header('content-type'));
549 0           return $_response_object;
550            
551             }
552             #
553             # GetSlidesDocumentWithFormat
554             #
555             #
556             #
557             # @param String $name (required)
558             # @param String $format (required)
559             # @param String $jpegQuality (optional)
560             # @param String $password (optional)
561             # @param String $storage (optional)
562             # @param String $folder (optional)
563             # @param String $outPath (optional)
564             # @return ResponseMessage
565             #
566             sub GetSlidesDocumentWithFormat {
567 0     0 0   my ($self, %args) = @_;
568              
569            
570             # verify the required parameter 'name' is set
571 0 0         unless (exists $args{'name'}) {
572 0           croak("Missing the required parameter 'name' when calling GetSlidesDocumentWithFormat");
573             }
574            
575             # verify the required parameter 'format' is set
576 0 0         unless (exists $args{'format'}) {
577 0           croak("Missing the required parameter 'format' when calling GetSlidesDocumentWithFormat");
578             }
579            
580              
581             # parse inputs
582 0           my $_resource_path = '/slides/{name}/?appSid={appSid}&toFormat={toFormat}&jpegQuality={jpegQuality}&password={password}&storage={storage}&folder={folder}&outPath={outPath}';
583            
584 0           $_resource_path =~ s/\Q&\E/&/g;
585 0           $_resource_path =~ s/\Q\/?\E/?/g;
586 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
587 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
588            
589 0           my $_method = 'GET';
590 0           my $query_params = {};
591 0           my $header_params = {};
592 0           my $form_params = {};
593              
594             # 'Accept' and 'Content-Type' header
595 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/octet-stream');
596 0 0         if ($_header_accept) {
597 0           $header_params->{'Accept'} = $_header_accept;
598             }
599 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
600              
601             # query params
602 0 0         if ( exists $args{'name'}) {
603 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
604             }else{
605 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
606             }# query params
607 0 0         if ( exists $args{'format'}) {
608 0           $_resource_path =~ s/\Q{format}\E/$args{'format'}/g;
609             }else{
610 0           $_resource_path =~ s/[?&]format.*?(?=&|\?|$)//g;
611             }# query params
612 0 0         if ( exists $args{'jpegQuality'}) {
613 0           $_resource_path =~ s/\Q{jpegQuality}\E/$args{'jpegQuality'}/g;
614             }else{
615 0           $_resource_path =~ s/[?&]jpegQuality.*?(?=&|\?|$)//g;
616             }# query params
617 0 0         if ( exists $args{'password'}) {
618 0           $_resource_path =~ s/\Q{password}\E/$args{'password'}/g;
619             }else{
620 0           $_resource_path =~ s/[?&]password.*?(?=&|\?|$)//g;
621             }# query params
622 0 0         if ( exists $args{'storage'}) {
623 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
624             }else{
625 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
626             }# query params
627 0 0         if ( exists $args{'folder'}) {
628 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
629             }else{
630 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
631             }# query params
632 0 0         if ( exists $args{'outPath'}) {
633 0           $_resource_path =~ s/\Q{outPath}\E/$args{'outPath'}/g;
634             }else{
635 0           $_resource_path =~ s/[?&]outPath.*?(?=&|\?|$)//g;
636             }
637            
638            
639 0           my $_body_data;
640            
641            
642            
643              
644             # authentication setting, if any
645 0           my $auth_settings = [];
646              
647             # make the API Call
648 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
649             $query_params, $form_params,
650             $header_params, $_body_data, $auth_settings);
651 0 0         if (!$response) {
652 0           return;
653             }
654              
655 0 0         if($AsposeSlidesCloud::Configuration::debug){
656 0           print "\nResponse Content: ".$response->content;
657             }
658            
659 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
660 0           return $_response_object;
661            
662             }
663             #
664             # GetSlidesDocumentProperties
665             #
666             #
667             #
668             # @param String $name (required)
669             # @param String $folder (optional)
670             # @param String $storage (optional)
671             # @return DocumentPropertiesResponse
672             #
673             sub GetSlidesDocumentProperties {
674 0     0 0   my ($self, %args) = @_;
675              
676            
677             # verify the required parameter 'name' is set
678 0 0         unless (exists $args{'name'}) {
679 0           croak("Missing the required parameter 'name' when calling GetSlidesDocumentProperties");
680             }
681            
682              
683             # parse inputs
684 0           my $_resource_path = '/slides/{name}/documentproperties/?appSid={appSid}&folder={folder}&storage={storage}';
685            
686 0           $_resource_path =~ s/\Q&\E/&/g;
687 0           $_resource_path =~ s/\Q\/?\E/?/g;
688 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
689 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
690            
691 0           my $_method = 'GET';
692 0           my $query_params = {};
693 0           my $header_params = {};
694 0           my $form_params = {};
695              
696             # 'Accept' and 'Content-Type' header
697 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
698 0 0         if ($_header_accept) {
699 0           $header_params->{'Accept'} = $_header_accept;
700             }
701 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
702              
703             # query params
704 0 0         if ( exists $args{'name'}) {
705 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
706             }else{
707 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
708             }# query params
709 0 0         if ( exists $args{'folder'}) {
710 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
711             }else{
712 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
713             }# query params
714 0 0         if ( exists $args{'storage'}) {
715 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
716             }else{
717 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
718             }
719            
720            
721 0           my $_body_data;
722            
723            
724            
725              
726             # authentication setting, if any
727 0           my $auth_settings = [];
728              
729             # make the API Call
730 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
731             $query_params, $form_params,
732             $header_params, $_body_data, $auth_settings);
733 0 0         if (!$response) {
734 0           return;
735             }
736              
737 0 0         if($AsposeSlidesCloud::Configuration::debug){
738 0           print "\nResponse Content: ".$response->content;
739             }
740            
741 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentPropertiesResponse', $response->header('content-type'));
742 0           return $_response_object;
743            
744             }
745             #
746             # PostSlidesSetDocumentProperties
747             #
748             #
749             #
750             # @param String $name (required)
751             # @param String $folder (optional)
752             # @param String $storage (optional)
753             # @param DocumentProperties $body (required)
754             # @return DocumentPropertiesResponse
755             #
756             sub PostSlidesSetDocumentProperties {
757 0     0 0   my ($self, %args) = @_;
758              
759            
760             # verify the required parameter 'name' is set
761 0 0         unless (exists $args{'name'}) {
762 0           croak("Missing the required parameter 'name' when calling PostSlidesSetDocumentProperties");
763             }
764            
765             # verify the required parameter 'body' is set
766 0 0         unless (exists $args{'body'}) {
767 0           croak("Missing the required parameter 'body' when calling PostSlidesSetDocumentProperties");
768             }
769            
770              
771             # parse inputs
772 0           my $_resource_path = '/slides/{name}/documentproperties/?appSid={appSid}&folder={folder}&storage={storage}';
773            
774 0           $_resource_path =~ s/\Q&\E/&/g;
775 0           $_resource_path =~ s/\Q\/?\E/?/g;
776 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
777 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
778            
779 0           my $_method = 'POST';
780 0           my $query_params = {};
781 0           my $header_params = {};
782 0           my $form_params = {};
783              
784             # 'Accept' and 'Content-Type' header
785 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
786 0 0         if ($_header_accept) {
787 0           $header_params->{'Accept'} = $_header_accept;
788             }
789 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
790              
791             # query params
792 0 0         if ( exists $args{'name'}) {
793 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
794             }else{
795 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
796             }# query params
797 0 0         if ( exists $args{'folder'}) {
798 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
799             }else{
800 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
801             }# query params
802 0 0         if ( exists $args{'storage'}) {
803 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
804             }else{
805 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
806             }
807            
808            
809 0           my $_body_data;
810            
811            
812             # body params
813 0 0         if ( exists $args{'body'}) {
814 0           $_body_data = $args{'body'};
815             }
816              
817             # authentication setting, if any
818 0           my $auth_settings = [];
819              
820             # make the API Call
821 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
822             $query_params, $form_params,
823             $header_params, $_body_data, $auth_settings);
824 0 0         if (!$response) {
825 0           return;
826             }
827              
828 0 0         if($AsposeSlidesCloud::Configuration::debug){
829 0           print "\nResponse Content: ".$response->content;
830             }
831            
832 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentPropertiesResponse', $response->header('content-type'));
833 0           return $_response_object;
834            
835             }
836             #
837             # DeleteSlidesDocumentProperties
838             #
839             #
840             #
841             # @param String $name (required)
842             # @param String $folder (optional)
843             # @param String $storage (optional)
844             # @return DocumentPropertiesResponse
845             #
846             sub DeleteSlidesDocumentProperties {
847 0     0 0   my ($self, %args) = @_;
848              
849            
850             # verify the required parameter 'name' is set
851 0 0         unless (exists $args{'name'}) {
852 0           croak("Missing the required parameter 'name' when calling DeleteSlidesDocumentProperties");
853             }
854            
855              
856             # parse inputs
857 0           my $_resource_path = '/slides/{name}/documentproperties/?appSid={appSid}&folder={folder}&storage={storage}';
858            
859 0           $_resource_path =~ s/\Q&\E/&/g;
860 0           $_resource_path =~ s/\Q\/?\E/?/g;
861 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
862 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
863            
864 0           my $_method = 'DELETE';
865 0           my $query_params = {};
866 0           my $header_params = {};
867 0           my $form_params = {};
868              
869             # 'Accept' and 'Content-Type' header
870 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
871 0 0         if ($_header_accept) {
872 0           $header_params->{'Accept'} = $_header_accept;
873             }
874 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
875              
876             # query params
877 0 0         if ( exists $args{'name'}) {
878 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
879             }else{
880 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
881             }# query params
882 0 0         if ( exists $args{'folder'}) {
883 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
884             }else{
885 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
886             }# query params
887 0 0         if ( exists $args{'storage'}) {
888 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
889             }else{
890 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
891             }
892            
893            
894 0           my $_body_data;
895            
896            
897            
898              
899             # authentication setting, if any
900 0           my $auth_settings = [];
901              
902             # make the API Call
903 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
904             $query_params, $form_params,
905             $header_params, $_body_data, $auth_settings);
906 0 0         if (!$response) {
907 0           return;
908             }
909              
910 0 0         if($AsposeSlidesCloud::Configuration::debug){
911 0           print "\nResponse Content: ".$response->content;
912             }
913            
914 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentPropertiesResponse', $response->header('content-type'));
915 0           return $_response_object;
916            
917             }
918             #
919             # GetSlidesDocumentProperty
920             #
921             #
922             #
923             # @param String $name (required)
924             # @param String $propertyName (required)
925             # @param String $folder (optional)
926             # @param String $storage (optional)
927             # @return DocumentPropertyResponse
928             #
929             sub GetSlidesDocumentProperty {
930 0     0 0   my ($self, %args) = @_;
931              
932            
933             # verify the required parameter 'name' is set
934 0 0         unless (exists $args{'name'}) {
935 0           croak("Missing the required parameter 'name' when calling GetSlidesDocumentProperty");
936             }
937            
938             # verify the required parameter 'propertyName' is set
939 0 0         unless (exists $args{'propertyName'}) {
940 0           croak("Missing the required parameter 'propertyName' when calling GetSlidesDocumentProperty");
941             }
942            
943              
944             # parse inputs
945 0           my $_resource_path = '/slides/{name}/documentproperties/{propertyName}/?appSid={appSid}&folder={folder}&storage={storage}';
946            
947 0           $_resource_path =~ s/\Q&\E/&/g;
948 0           $_resource_path =~ s/\Q\/?\E/?/g;
949 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
950 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
951            
952 0           my $_method = 'GET';
953 0           my $query_params = {};
954 0           my $header_params = {};
955 0           my $form_params = {};
956              
957             # 'Accept' and 'Content-Type' header
958 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
959 0 0         if ($_header_accept) {
960 0           $header_params->{'Accept'} = $_header_accept;
961             }
962 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
963              
964             # query params
965 0 0         if ( exists $args{'name'}) {
966 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
967             }else{
968 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
969             }# query params
970 0 0         if ( exists $args{'propertyName'}) {
971 0           $_resource_path =~ s/\Q{propertyName}\E/$args{'propertyName'}/g;
972             }else{
973 0           $_resource_path =~ s/[?&]propertyName.*?(?=&|\?|$)//g;
974             }# query params
975 0 0         if ( exists $args{'folder'}) {
976 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
977             }else{
978 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
979             }# query params
980 0 0         if ( exists $args{'storage'}) {
981 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
982             }else{
983 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
984             }
985            
986            
987 0           my $_body_data;
988            
989            
990            
991              
992             # authentication setting, if any
993 0           my $auth_settings = [];
994              
995             # make the API Call
996 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
997             $query_params, $form_params,
998             $header_params, $_body_data, $auth_settings);
999 0 0         if (!$response) {
1000 0           return;
1001             }
1002              
1003 0 0         if($AsposeSlidesCloud::Configuration::debug){
1004 0           print "\nResponse Content: ".$response->content;
1005             }
1006            
1007 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentPropertyResponse', $response->header('content-type'));
1008 0           return $_response_object;
1009            
1010             }
1011             #
1012             # PutSlidesSetDocumentProperty
1013             #
1014             #
1015             #
1016             # @param String $name (required)
1017             # @param String $propertyName (required)
1018             # @param String $folder (optional)
1019             # @param String $storage (optional)
1020             # @param DocumentProperty $body (required)
1021             # @return DocumentPropertyResponse
1022             #
1023             sub PutSlidesSetDocumentProperty {
1024 0     0 0   my ($self, %args) = @_;
1025              
1026            
1027             # verify the required parameter 'name' is set
1028 0 0         unless (exists $args{'name'}) {
1029 0           croak("Missing the required parameter 'name' when calling PutSlidesSetDocumentProperty");
1030             }
1031            
1032             # verify the required parameter 'propertyName' is set
1033 0 0         unless (exists $args{'propertyName'}) {
1034 0           croak("Missing the required parameter 'propertyName' when calling PutSlidesSetDocumentProperty");
1035             }
1036            
1037             # verify the required parameter 'body' is set
1038 0 0         unless (exists $args{'body'}) {
1039 0           croak("Missing the required parameter 'body' when calling PutSlidesSetDocumentProperty");
1040             }
1041            
1042              
1043             # parse inputs
1044 0           my $_resource_path = '/slides/{name}/documentproperties/{propertyName}/?appSid={appSid}&folder={folder}&storage={storage}';
1045            
1046 0           $_resource_path =~ s/\Q&\E/&/g;
1047 0           $_resource_path =~ s/\Q\/?\E/?/g;
1048 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
1049 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
1050            
1051 0           my $_method = 'PUT';
1052 0           my $query_params = {};
1053 0           my $header_params = {};
1054 0           my $form_params = {};
1055              
1056             # 'Accept' and 'Content-Type' header
1057 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
1058 0 0         if ($_header_accept) {
1059 0           $header_params->{'Accept'} = $_header_accept;
1060             }
1061 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
1062              
1063             # query params
1064 0 0         if ( exists $args{'name'}) {
1065 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
1066             }else{
1067 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
1068             }# query params
1069 0 0         if ( exists $args{'propertyName'}) {
1070 0           $_resource_path =~ s/\Q{propertyName}\E/$args{'propertyName'}/g;
1071             }else{
1072 0           $_resource_path =~ s/[?&]propertyName.*?(?=&|\?|$)//g;
1073             }# query params
1074 0 0         if ( exists $args{'folder'}) {
1075 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
1076             }else{
1077 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
1078             }# query params
1079 0 0         if ( exists $args{'storage'}) {
1080 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
1081             }else{
1082 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
1083             }
1084            
1085            
1086 0           my $_body_data;
1087            
1088            
1089             # body params
1090 0 0         if ( exists $args{'body'}) {
1091 0           $_body_data = $args{'body'};
1092             }
1093              
1094             # authentication setting, if any
1095 0           my $auth_settings = [];
1096              
1097             # make the API Call
1098 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
1099             $query_params, $form_params,
1100             $header_params, $_body_data, $auth_settings);
1101 0 0         if (!$response) {
1102 0           return;
1103             }
1104              
1105 0 0         if($AsposeSlidesCloud::Configuration::debug){
1106 0           print "\nResponse Content: ".$response->content;
1107             }
1108            
1109 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentPropertyResponse', $response->header('content-type'));
1110 0           return $_response_object;
1111            
1112             }
1113             #
1114             # DeleteSlidesDocumentProperty
1115             #
1116             #
1117             #
1118             # @param String $name (required)
1119             # @param String $propertyName (required)
1120             # @param String $folder (optional)
1121             # @param String $storage (optional)
1122             # @return CommonResponse
1123             #
1124             sub DeleteSlidesDocumentProperty {
1125 0     0 0   my ($self, %args) = @_;
1126              
1127            
1128             # verify the required parameter 'name' is set
1129 0 0         unless (exists $args{'name'}) {
1130 0           croak("Missing the required parameter 'name' when calling DeleteSlidesDocumentProperty");
1131             }
1132            
1133             # verify the required parameter 'propertyName' is set
1134 0 0         unless (exists $args{'propertyName'}) {
1135 0           croak("Missing the required parameter 'propertyName' when calling DeleteSlidesDocumentProperty");
1136             }
1137            
1138              
1139             # parse inputs
1140 0           my $_resource_path = '/slides/{name}/documentproperties/{propertyName}/?appSid={appSid}&folder={folder}&storage={storage}';
1141            
1142 0           $_resource_path =~ s/\Q&\E/&/g;
1143 0           $_resource_path =~ s/\Q\/?\E/?/g;
1144 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
1145 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
1146            
1147 0           my $_method = 'DELETE';
1148 0           my $query_params = {};
1149 0           my $header_params = {};
1150 0           my $form_params = {};
1151              
1152             # 'Accept' and 'Content-Type' header
1153 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
1154 0 0         if ($_header_accept) {
1155 0           $header_params->{'Accept'} = $_header_accept;
1156             }
1157 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
1158              
1159             # query params
1160 0 0         if ( exists $args{'name'}) {
1161 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
1162             }else{
1163 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
1164             }# query params
1165 0 0         if ( exists $args{'propertyName'}) {
1166 0           $_resource_path =~ s/\Q{propertyName}\E/$args{'propertyName'}/g;
1167             }else{
1168 0           $_resource_path =~ s/[?&]propertyName.*?(?=&|\?|$)//g;
1169             }# query params
1170 0 0         if ( exists $args{'folder'}) {
1171 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
1172             }else{
1173 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
1174             }# query params
1175 0 0         if ( exists $args{'storage'}) {
1176 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
1177             }else{
1178 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
1179             }
1180            
1181            
1182 0           my $_body_data;
1183            
1184            
1185            
1186              
1187             # authentication setting, if any
1188 0           my $auth_settings = [];
1189              
1190             # make the API Call
1191 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
1192             $query_params, $form_params,
1193             $header_params, $_body_data, $auth_settings);
1194 0 0         if (!$response) {
1195 0           return;
1196             }
1197              
1198 0 0         if($AsposeSlidesCloud::Configuration::debug){
1199 0           print "\nResponse Content: ".$response->content;
1200             }
1201            
1202 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'CommonResponse', $response->header('content-type'));
1203 0           return $_response_object;
1204            
1205             }
1206             #
1207             # PutSlidesDocumentFromHtml
1208             #
1209             #
1210             #
1211             # @param String $name (required)
1212             # @param String $password (optional)
1213             # @param String $storage (optional)
1214             # @param String $folder (optional)
1215             # @param File $file (required)
1216             # @return DocumentResponse
1217             #
1218             sub PutSlidesDocumentFromHtml {
1219 0     0 0   my ($self, %args) = @_;
1220              
1221            
1222             # verify the required parameter 'name' is set
1223 0 0         unless (exists $args{'name'}) {
1224 0           croak("Missing the required parameter 'name' when calling PutSlidesDocumentFromHtml");
1225             }
1226            
1227             # verify the required parameter 'file' is set
1228 0 0         unless (exists $args{'file'}) {
1229 0           croak("Missing the required parameter 'file' when calling PutSlidesDocumentFromHtml");
1230             }
1231            
1232              
1233             # parse inputs
1234 0           my $_resource_path = '/slides/{name}/fromHtml/?appSid={appSid}&password={password}&storage={storage}&folder={folder}';
1235            
1236 0           $_resource_path =~ s/\Q&\E/&/g;
1237 0           $_resource_path =~ s/\Q\/?\E/?/g;
1238 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
1239 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
1240            
1241 0           my $_method = 'PUT';
1242 0           my $query_params = {};
1243 0           my $header_params = {};
1244 0           my $form_params = {};
1245              
1246             # 'Accept' and 'Content-Type' header
1247 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
1248 0 0         if ($_header_accept) {
1249 0           $header_params->{'Accept'} = $_header_accept;
1250             }
1251 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('multipart/form-data');
1252              
1253             # query params
1254 0 0         if ( exists $args{'name'}) {
1255 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
1256             }else{
1257 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
1258             }# query params
1259 0 0         if ( exists $args{'password'}) {
1260 0           $_resource_path =~ s/\Q{password}\E/$args{'password'}/g;
1261             }else{
1262 0           $_resource_path =~ s/[?&]password.*?(?=&|\?|$)//g;
1263             }# query params
1264 0 0         if ( exists $args{'storage'}) {
1265 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
1266             }else{
1267 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
1268             }# query params
1269 0 0         if ( exists $args{'folder'}) {
1270 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
1271             }else{
1272 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
1273             }
1274            
1275            
1276 0           my $_body_data;
1277             # form params
1278 0 0         if ( exists $args{'file'} ) {
1279            
1280 0           $_body_data = read_file( $args{'file'} , binmode => ':raw' );
1281            
1282            
1283             }
1284            
1285            
1286              
1287             # authentication setting, if any
1288 0           my $auth_settings = [];
1289              
1290             # make the API Call
1291 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
1292             $query_params, $form_params,
1293             $header_params, $_body_data, $auth_settings);
1294 0 0         if (!$response) {
1295 0           return;
1296             }
1297              
1298 0 0         if($AsposeSlidesCloud::Configuration::debug){
1299 0           print "\nResponse Content: ".$response->content;
1300             }
1301            
1302 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentResponse', $response->header('content-type'));
1303 0           return $_response_object;
1304            
1305             }
1306             #
1307             # GetSlidesImages
1308             #
1309             #
1310             #
1311             # @param String $name (required)
1312             # @param String $folder (optional)
1313             # @param String $storage (optional)
1314             # @return ImagesResponse
1315             #
1316             sub GetSlidesImages {
1317 0     0 0   my ($self, %args) = @_;
1318              
1319            
1320             # verify the required parameter 'name' is set
1321 0 0         unless (exists $args{'name'}) {
1322 0           croak("Missing the required parameter 'name' when calling GetSlidesImages");
1323             }
1324            
1325              
1326             # parse inputs
1327 0           my $_resource_path = '/slides/{name}/images/?appSid={appSid}&folder={folder}&storage={storage}';
1328            
1329 0           $_resource_path =~ s/\Q&\E/&/g;
1330 0           $_resource_path =~ s/\Q\/?\E/?/g;
1331 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
1332 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
1333            
1334 0           my $_method = 'GET';
1335 0           my $query_params = {};
1336 0           my $header_params = {};
1337 0           my $form_params = {};
1338              
1339             # 'Accept' and 'Content-Type' header
1340 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
1341 0 0         if ($_header_accept) {
1342 0           $header_params->{'Accept'} = $_header_accept;
1343             }
1344 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
1345              
1346             # query params
1347 0 0         if ( exists $args{'name'}) {
1348 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
1349             }else{
1350 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
1351             }# query params
1352 0 0         if ( exists $args{'folder'}) {
1353 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
1354             }else{
1355 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
1356             }# query params
1357 0 0         if ( exists $args{'storage'}) {
1358 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
1359             }else{
1360 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
1361             }
1362            
1363            
1364 0           my $_body_data;
1365            
1366            
1367            
1368              
1369             # authentication setting, if any
1370 0           my $auth_settings = [];
1371              
1372             # make the API Call
1373 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
1374             $query_params, $form_params,
1375             $header_params, $_body_data, $auth_settings);
1376 0 0         if (!$response) {
1377 0           return;
1378             }
1379              
1380 0 0         if($AsposeSlidesCloud::Configuration::debug){
1381 0           print "\nResponse Content: ".$response->content;
1382             }
1383            
1384 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ImagesResponse', $response->header('content-type'));
1385 0           return $_response_object;
1386            
1387             }
1388             #
1389             # PutPresentationMerge
1390             #
1391             #
1392             #
1393             # @param String $name (required)
1394             # @param String $storage (optional)
1395             # @param String $folder (optional)
1396             # @param OrderedMergeRequest $body (required)
1397             # @return DocumentResponse
1398             #
1399             sub PutPresentationMerge {
1400 0     0 0   my ($self, %args) = @_;
1401              
1402            
1403             # verify the required parameter 'name' is set
1404 0 0         unless (exists $args{'name'}) {
1405 0           croak("Missing the required parameter 'name' when calling PutPresentationMerge");
1406             }
1407            
1408             # verify the required parameter 'body' is set
1409 0 0         unless (exists $args{'body'}) {
1410 0           croak("Missing the required parameter 'body' when calling PutPresentationMerge");
1411             }
1412            
1413              
1414             # parse inputs
1415 0           my $_resource_path = '/slides/{name}/merge/?appSid={appSid}&storage={storage}&folder={folder}';
1416            
1417 0           $_resource_path =~ s/\Q&\E/&/g;
1418 0           $_resource_path =~ s/\Q\/?\E/?/g;
1419 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
1420 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
1421            
1422 0           my $_method = 'PUT';
1423 0           my $query_params = {};
1424 0           my $header_params = {};
1425 0           my $form_params = {};
1426              
1427             # 'Accept' and 'Content-Type' header
1428 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
1429 0 0         if ($_header_accept) {
1430 0           $header_params->{'Accept'} = $_header_accept;
1431             }
1432 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
1433              
1434             # query params
1435 0 0         if ( exists $args{'name'}) {
1436 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
1437             }else{
1438 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
1439             }# query params
1440 0 0         if ( exists $args{'storage'}) {
1441 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
1442             }else{
1443 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
1444             }# query params
1445 0 0         if ( exists $args{'folder'}) {
1446 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
1447             }else{
1448 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
1449             }
1450            
1451            
1452 0           my $_body_data;
1453            
1454            
1455             # body params
1456 0 0         if ( exists $args{'body'}) {
1457 0           $_body_data = $args{'body'};
1458             }
1459              
1460             # authentication setting, if any
1461 0           my $auth_settings = [];
1462              
1463             # make the API Call
1464 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
1465             $query_params, $form_params,
1466             $header_params, $_body_data, $auth_settings);
1467 0 0         if (!$response) {
1468 0           return;
1469             }
1470              
1471 0 0         if($AsposeSlidesCloud::Configuration::debug){
1472 0           print "\nResponse Content: ".$response->content;
1473             }
1474            
1475 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentResponse', $response->header('content-type'));
1476 0           return $_response_object;
1477            
1478             }
1479             #
1480             # PostPresentationMerge
1481             #
1482             #
1483             #
1484             # @param String $name (required)
1485             # @param String $storage (optional)
1486             # @param String $folder (optional)
1487             # @param PresentationsMergeRequest $body (required)
1488             # @return DocumentResponse
1489             #
1490             sub PostPresentationMerge {
1491 0     0 0   my ($self, %args) = @_;
1492              
1493            
1494             # verify the required parameter 'name' is set
1495 0 0         unless (exists $args{'name'}) {
1496 0           croak("Missing the required parameter 'name' when calling PostPresentationMerge");
1497             }
1498            
1499             # verify the required parameter 'body' is set
1500 0 0         unless (exists $args{'body'}) {
1501 0           croak("Missing the required parameter 'body' when calling PostPresentationMerge");
1502             }
1503            
1504              
1505             # parse inputs
1506 0           my $_resource_path = '/slides/{name}/merge/?appSid={appSid}&storage={storage}&folder={folder}';
1507            
1508 0           $_resource_path =~ s/\Q&\E/&/g;
1509 0           $_resource_path =~ s/\Q\/?\E/?/g;
1510 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
1511 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
1512            
1513 0           my $_method = 'POST';
1514 0           my $query_params = {};
1515 0           my $header_params = {};
1516 0           my $form_params = {};
1517              
1518             # 'Accept' and 'Content-Type' header
1519 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
1520 0 0         if ($_header_accept) {
1521 0           $header_params->{'Accept'} = $_header_accept;
1522             }
1523 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
1524              
1525             # query params
1526 0 0         if ( exists $args{'name'}) {
1527 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
1528             }else{
1529 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
1530             }# query params
1531 0 0         if ( exists $args{'storage'}) {
1532 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
1533             }else{
1534 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
1535             }# query params
1536 0 0         if ( exists $args{'folder'}) {
1537 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
1538             }else{
1539 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
1540             }
1541            
1542            
1543 0           my $_body_data;
1544            
1545            
1546             # body params
1547 0 0         if ( exists $args{'body'}) {
1548 0           $_body_data = $args{'body'};
1549             }
1550              
1551             # authentication setting, if any
1552 0           my $auth_settings = [];
1553              
1554             # make the API Call
1555 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
1556             $query_params, $form_params,
1557             $header_params, $_body_data, $auth_settings);
1558 0 0         if (!$response) {
1559 0           return;
1560             }
1561              
1562 0 0         if($AsposeSlidesCloud::Configuration::debug){
1563 0           print "\nResponse Content: ".$response->content;
1564             }
1565            
1566 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentResponse', $response->header('content-type'));
1567 0           return $_response_object;
1568            
1569             }
1570             #
1571             # PostSlidesPresentationReplaceText
1572             #
1573             #
1574             #
1575             # @param String $name (required)
1576             # @param String $oldValue (required)
1577             # @param String $newValue (required)
1578             # @param Boolean $ignoreCase (optional)
1579             # @param String $folder (optional)
1580             # @param String $storage (optional)
1581             # @return PresentationStringReplaceResponse
1582             #
1583             sub PostSlidesPresentationReplaceText {
1584 0     0 0   my ($self, %args) = @_;
1585              
1586            
1587             # verify the required parameter 'name' is set
1588 0 0         unless (exists $args{'name'}) {
1589 0           croak("Missing the required parameter 'name' when calling PostSlidesPresentationReplaceText");
1590             }
1591            
1592             # verify the required parameter 'oldValue' is set
1593 0 0         unless (exists $args{'oldValue'}) {
1594 0           croak("Missing the required parameter 'oldValue' when calling PostSlidesPresentationReplaceText");
1595             }
1596            
1597             # verify the required parameter 'newValue' is set
1598 0 0         unless (exists $args{'newValue'}) {
1599 0           croak("Missing the required parameter 'newValue' when calling PostSlidesPresentationReplaceText");
1600             }
1601            
1602              
1603             # parse inputs
1604 0           my $_resource_path = '/slides/{name}/replaceText/?oldValue={oldValue}&newValue={newValue}&appSid={appSid}&ignoreCase={ignoreCase}&folder={folder}&storage={storage}';
1605            
1606 0           $_resource_path =~ s/\Q&\E/&/g;
1607 0           $_resource_path =~ s/\Q\/?\E/?/g;
1608 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
1609 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
1610            
1611 0           my $_method = 'POST';
1612 0           my $query_params = {};
1613 0           my $header_params = {};
1614 0           my $form_params = {};
1615              
1616             # 'Accept' and 'Content-Type' header
1617 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
1618 0 0         if ($_header_accept) {
1619 0           $header_params->{'Accept'} = $_header_accept;
1620             }
1621 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
1622              
1623             # query params
1624 0 0         if ( exists $args{'name'}) {
1625 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
1626             }else{
1627 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
1628             }# query params
1629 0 0         if ( exists $args{'oldValue'}) {
1630 0           $_resource_path =~ s/\Q{oldValue}\E/$args{'oldValue'}/g;
1631             }else{
1632 0           $_resource_path =~ s/[?&]oldValue.*?(?=&|\?|$)//g;
1633             }# query params
1634 0 0         if ( exists $args{'newValue'}) {
1635 0           $_resource_path =~ s/\Q{newValue}\E/$args{'newValue'}/g;
1636             }else{
1637 0           $_resource_path =~ s/[?&]newValue.*?(?=&|\?|$)//g;
1638             }# query params
1639 0 0         if ( exists $args{'ignoreCase'}) {
1640 0           $_resource_path =~ s/\Q{ignoreCase}\E/$args{'ignoreCase'}/g;
1641             }else{
1642 0           $_resource_path =~ s/[?&]ignoreCase.*?(?=&|\?|$)//g;
1643             }# query params
1644 0 0         if ( exists $args{'folder'}) {
1645 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
1646             }else{
1647 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
1648             }# query params
1649 0 0         if ( exists $args{'storage'}) {
1650 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
1651             }else{
1652 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
1653             }
1654            
1655            
1656 0           my $_body_data;
1657            
1658            
1659            
1660              
1661             # authentication setting, if any
1662 0           my $auth_settings = [];
1663              
1664             # make the API Call
1665 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
1666             $query_params, $form_params,
1667             $header_params, $_body_data, $auth_settings);
1668 0 0         if (!$response) {
1669 0           return;
1670             }
1671              
1672 0 0         if($AsposeSlidesCloud::Configuration::debug){
1673 0           print "\nResponse Content: ".$response->content;
1674             }
1675            
1676 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'PresentationStringReplaceResponse', $response->header('content-type'));
1677 0           return $_response_object;
1678            
1679             }
1680             #
1681             # PostSlidesSaveAsHtml
1682             #
1683             #
1684             #
1685             # @param String $name (required)
1686             # @param String $password (optional)
1687             # @param String $storage (optional)
1688             # @param String $folder (optional)
1689             # @param String $outPath (optional)
1690             # @param HtmlExportOptions $body (required)
1691             # @return ResponseMessage
1692             #
1693             sub PostSlidesSaveAsHtml {
1694 0     0 0   my ($self, %args) = @_;
1695              
1696            
1697             # verify the required parameter 'name' is set
1698 0 0         unless (exists $args{'name'}) {
1699 0           croak("Missing the required parameter 'name' when calling PostSlidesSaveAsHtml");
1700             }
1701            
1702             # verify the required parameter 'body' is set
1703 0 0         unless (exists $args{'body'}) {
1704 0           croak("Missing the required parameter 'body' when calling PostSlidesSaveAsHtml");
1705             }
1706            
1707              
1708             # parse inputs
1709 0           my $_resource_path = '/slides/{name}/saveAs/html/?appSid={appSid}&password={password}&storage={storage}&folder={folder}&outPath={outPath}';
1710            
1711 0           $_resource_path =~ s/\Q&\E/&/g;
1712 0           $_resource_path =~ s/\Q\/?\E/?/g;
1713 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
1714 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
1715            
1716 0           my $_method = 'POST';
1717 0           my $query_params = {};
1718 0           my $header_params = {};
1719 0           my $form_params = {};
1720              
1721             # 'Accept' and 'Content-Type' header
1722 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/octet-stream');
1723 0 0         if ($_header_accept) {
1724 0           $header_params->{'Accept'} = $_header_accept;
1725             }
1726 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
1727              
1728             # query params
1729 0 0         if ( exists $args{'name'}) {
1730 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
1731             }else{
1732 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
1733             }# query params
1734 0 0         if ( exists $args{'password'}) {
1735 0           $_resource_path =~ s/\Q{password}\E/$args{'password'}/g;
1736             }else{
1737 0           $_resource_path =~ s/[?&]password.*?(?=&|\?|$)//g;
1738             }# query params
1739 0 0         if ( exists $args{'storage'}) {
1740 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
1741             }else{
1742 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
1743             }# query params
1744 0 0         if ( exists $args{'folder'}) {
1745 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
1746             }else{
1747 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
1748             }# query params
1749 0 0         if ( exists $args{'outPath'}) {
1750 0           $_resource_path =~ s/\Q{outPath}\E/$args{'outPath'}/g;
1751             }else{
1752 0           $_resource_path =~ s/[?&]outPath.*?(?=&|\?|$)//g;
1753             }
1754            
1755            
1756 0           my $_body_data;
1757            
1758            
1759             # body params
1760 0 0         if ( exists $args{'body'}) {
1761 0           $_body_data = $args{'body'};
1762             }
1763              
1764             # authentication setting, if any
1765 0           my $auth_settings = [];
1766              
1767             # make the API Call
1768 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
1769             $query_params, $form_params,
1770             $header_params, $_body_data, $auth_settings);
1771 0 0         if (!$response) {
1772 0           return;
1773             }
1774              
1775 0 0         if($AsposeSlidesCloud::Configuration::debug){
1776 0           print "\nResponse Content: ".$response->content;
1777             }
1778            
1779 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
1780 0           return $_response_object;
1781            
1782             }
1783             #
1784             # PostSlidesSaveAsPdf
1785             #
1786             #
1787             #
1788             # @param String $name (required)
1789             # @param String $password (optional)
1790             # @param String $storage (optional)
1791             # @param String $folder (optional)
1792             # @param String $outPath (optional)
1793             # @param PdfExportOptions $body (required)
1794             # @return ResponseMessage
1795             #
1796             sub PostSlidesSaveAsPdf {
1797 0     0 0   my ($self, %args) = @_;
1798              
1799            
1800             # verify the required parameter 'name' is set
1801 0 0         unless (exists $args{'name'}) {
1802 0           croak("Missing the required parameter 'name' when calling PostSlidesSaveAsPdf");
1803             }
1804            
1805             # verify the required parameter 'body' is set
1806 0 0         unless (exists $args{'body'}) {
1807 0           croak("Missing the required parameter 'body' when calling PostSlidesSaveAsPdf");
1808             }
1809            
1810              
1811             # parse inputs
1812 0           my $_resource_path = '/slides/{name}/saveAs/pdf/?appSid={appSid}&password={password}&storage={storage}&folder={folder}&outPath={outPath}';
1813            
1814 0           $_resource_path =~ s/\Q&\E/&/g;
1815 0           $_resource_path =~ s/\Q\/?\E/?/g;
1816 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
1817 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
1818            
1819 0           my $_method = 'POST';
1820 0           my $query_params = {};
1821 0           my $header_params = {};
1822 0           my $form_params = {};
1823              
1824             # 'Accept' and 'Content-Type' header
1825 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/octet-stream');
1826 0 0         if ($_header_accept) {
1827 0           $header_params->{'Accept'} = $_header_accept;
1828             }
1829 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
1830              
1831             # query params
1832 0 0         if ( exists $args{'name'}) {
1833 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
1834             }else{
1835 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
1836             }# query params
1837 0 0         if ( exists $args{'password'}) {
1838 0           $_resource_path =~ s/\Q{password}\E/$args{'password'}/g;
1839             }else{
1840 0           $_resource_path =~ s/[?&]password.*?(?=&|\?|$)//g;
1841             }# query params
1842 0 0         if ( exists $args{'storage'}) {
1843 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
1844             }else{
1845 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
1846             }# query params
1847 0 0         if ( exists $args{'folder'}) {
1848 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
1849             }else{
1850 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
1851             }# query params
1852 0 0         if ( exists $args{'outPath'}) {
1853 0           $_resource_path =~ s/\Q{outPath}\E/$args{'outPath'}/g;
1854             }else{
1855 0           $_resource_path =~ s/[?&]outPath.*?(?=&|\?|$)//g;
1856             }
1857            
1858            
1859 0           my $_body_data;
1860            
1861            
1862             # body params
1863 0 0         if ( exists $args{'body'}) {
1864 0           $_body_data = $args{'body'};
1865             }
1866              
1867             # authentication setting, if any
1868 0           my $auth_settings = [];
1869              
1870             # make the API Call
1871 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
1872             $query_params, $form_params,
1873             $header_params, $_body_data, $auth_settings);
1874 0 0         if (!$response) {
1875 0           return;
1876             }
1877              
1878 0 0         if($AsposeSlidesCloud::Configuration::debug){
1879 0           print "\nResponse Content: ".$response->content;
1880             }
1881            
1882 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
1883 0           return $_response_object;
1884            
1885             }
1886             #
1887             # PostSlidesSaveAsTiff
1888             #
1889             #
1890             #
1891             # @param String $name (required)
1892             # @param String $password (optional)
1893             # @param String $storage (optional)
1894             # @param String $folder (optional)
1895             # @param String $outPath (optional)
1896             # @param TiffExportOptions $body (required)
1897             # @return ResponseMessage
1898             #
1899             sub PostSlidesSaveAsTiff {
1900 0     0 0   my ($self, %args) = @_;
1901              
1902            
1903             # verify the required parameter 'name' is set
1904 0 0         unless (exists $args{'name'}) {
1905 0           croak("Missing the required parameter 'name' when calling PostSlidesSaveAsTiff");
1906             }
1907            
1908             # verify the required parameter 'body' is set
1909 0 0         unless (exists $args{'body'}) {
1910 0           croak("Missing the required parameter 'body' when calling PostSlidesSaveAsTiff");
1911             }
1912            
1913              
1914             # parse inputs
1915 0           my $_resource_path = '/slides/{name}/saveAs/tiff/?appSid={appSid}&password={password}&storage={storage}&folder={folder}&outPath={outPath}';
1916            
1917 0           $_resource_path =~ s/\Q&\E/&/g;
1918 0           $_resource_path =~ s/\Q\/?\E/?/g;
1919 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
1920 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
1921            
1922 0           my $_method = 'POST';
1923 0           my $query_params = {};
1924 0           my $header_params = {};
1925 0           my $form_params = {};
1926              
1927             # 'Accept' and 'Content-Type' header
1928 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/octet-stream');
1929 0 0         if ($_header_accept) {
1930 0           $header_params->{'Accept'} = $_header_accept;
1931             }
1932 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
1933              
1934             # query params
1935 0 0         if ( exists $args{'name'}) {
1936 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
1937             }else{
1938 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
1939             }# query params
1940 0 0         if ( exists $args{'password'}) {
1941 0           $_resource_path =~ s/\Q{password}\E/$args{'password'}/g;
1942             }else{
1943 0           $_resource_path =~ s/[?&]password.*?(?=&|\?|$)//g;
1944             }# query params
1945 0 0         if ( exists $args{'storage'}) {
1946 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
1947             }else{
1948 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
1949             }# query params
1950 0 0         if ( exists $args{'folder'}) {
1951 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
1952             }else{
1953 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
1954             }# query params
1955 0 0         if ( exists $args{'outPath'}) {
1956 0           $_resource_path =~ s/\Q{outPath}\E/$args{'outPath'}/g;
1957             }else{
1958 0           $_resource_path =~ s/[?&]outPath.*?(?=&|\?|$)//g;
1959             }
1960            
1961            
1962 0           my $_body_data;
1963            
1964            
1965             # body params
1966 0 0         if ( exists $args{'body'}) {
1967 0           $_body_data = $args{'body'};
1968             }
1969              
1970             # authentication setting, if any
1971 0           my $auth_settings = [];
1972              
1973             # make the API Call
1974 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
1975             $query_params, $form_params,
1976             $header_params, $_body_data, $auth_settings);
1977 0 0         if (!$response) {
1978 0           return;
1979             }
1980              
1981 0 0         if($AsposeSlidesCloud::Configuration::debug){
1982 0           print "\nResponse Content: ".$response->content;
1983             }
1984            
1985 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
1986 0           return $_response_object;
1987            
1988             }
1989             #
1990             # GetSlidesSlidesList
1991             #
1992             #
1993             #
1994             # @param String $name (required)
1995             # @param String $folder (optional)
1996             # @param String $storage (optional)
1997             # @return SlideListResponse
1998             #
1999             sub GetSlidesSlidesList {
2000 0     0 0   my ($self, %args) = @_;
2001              
2002            
2003             # verify the required parameter 'name' is set
2004 0 0         unless (exists $args{'name'}) {
2005 0           croak("Missing the required parameter 'name' when calling GetSlidesSlidesList");
2006             }
2007            
2008              
2009             # parse inputs
2010 0           my $_resource_path = '/slides/{name}/slides/?appSid={appSid}&folder={folder}&storage={storage}';
2011            
2012 0           $_resource_path =~ s/\Q&\E/&/g;
2013 0           $_resource_path =~ s/\Q\/?\E/?/g;
2014 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
2015 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
2016            
2017 0           my $_method = 'GET';
2018 0           my $query_params = {};
2019 0           my $header_params = {};
2020 0           my $form_params = {};
2021              
2022             # 'Accept' and 'Content-Type' header
2023 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
2024 0 0         if ($_header_accept) {
2025 0           $header_params->{'Accept'} = $_header_accept;
2026             }
2027 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
2028              
2029             # query params
2030 0 0         if ( exists $args{'name'}) {
2031 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
2032             }else{
2033 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
2034             }# query params
2035 0 0         if ( exists $args{'folder'}) {
2036 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
2037             }else{
2038 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
2039             }# query params
2040 0 0         if ( exists $args{'storage'}) {
2041 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
2042             }else{
2043 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
2044             }
2045            
2046            
2047 0           my $_body_data;
2048            
2049            
2050            
2051              
2052             # authentication setting, if any
2053 0           my $auth_settings = [];
2054              
2055             # make the API Call
2056 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
2057             $query_params, $form_params,
2058             $header_params, $_body_data, $auth_settings);
2059 0 0         if (!$response) {
2060 0           return;
2061             }
2062              
2063 0 0         if($AsposeSlidesCloud::Configuration::debug){
2064 0           print "\nResponse Content: ".$response->content;
2065             }
2066            
2067 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideListResponse', $response->header('content-type'));
2068 0           return $_response_object;
2069            
2070             }
2071             #
2072             # PostAddEmptySlide
2073             #
2074             #
2075             #
2076             # @param String $name (required)
2077             # @param String $folder (optional)
2078             # @param String $storage (optional)
2079             # @return SlideListResponse
2080             #
2081             sub PostAddEmptySlide {
2082 0     0 0   my ($self, %args) = @_;
2083              
2084            
2085             # verify the required parameter 'name' is set
2086 0 0         unless (exists $args{'name'}) {
2087 0           croak("Missing the required parameter 'name' when calling PostAddEmptySlide");
2088             }
2089            
2090              
2091             # parse inputs
2092 0           my $_resource_path = '/slides/{name}/slides/?appSid={appSid}&folder={folder}&storage={storage}';
2093            
2094 0           $_resource_path =~ s/\Q&\E/&/g;
2095 0           $_resource_path =~ s/\Q\/?\E/?/g;
2096 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
2097 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
2098            
2099 0           my $_method = 'POST';
2100 0           my $query_params = {};
2101 0           my $header_params = {};
2102 0           my $form_params = {};
2103              
2104             # 'Accept' and 'Content-Type' header
2105 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
2106 0 0         if ($_header_accept) {
2107 0           $header_params->{'Accept'} = $_header_accept;
2108             }
2109 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
2110              
2111             # query params
2112 0 0         if ( exists $args{'name'}) {
2113 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
2114             }else{
2115 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
2116             }# query params
2117 0 0         if ( exists $args{'folder'}) {
2118 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
2119             }else{
2120 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
2121             }# query params
2122 0 0         if ( exists $args{'storage'}) {
2123 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
2124             }else{
2125 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
2126             }
2127            
2128            
2129 0           my $_body_data;
2130            
2131            
2132            
2133              
2134             # authentication setting, if any
2135 0           my $auth_settings = [];
2136              
2137             # make the API Call
2138 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
2139             $query_params, $form_params,
2140             $header_params, $_body_data, $auth_settings);
2141 0 0         if (!$response) {
2142 0           return;
2143             }
2144              
2145 0 0         if($AsposeSlidesCloud::Configuration::debug){
2146 0           print "\nResponse Content: ".$response->content;
2147             }
2148            
2149 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideListResponse', $response->header('content-type'));
2150 0           return $_response_object;
2151            
2152             }
2153             #
2154             # DeleteSlidesCleanSlidesList
2155             #
2156             #
2157             #
2158             # @param String $name (required)
2159             # @param String $folder (optional)
2160             # @param String $storage (optional)
2161             # @return SlideListResponse
2162             #
2163             sub DeleteSlidesCleanSlidesList {
2164 0     0 0   my ($self, %args) = @_;
2165              
2166            
2167             # verify the required parameter 'name' is set
2168 0 0         unless (exists $args{'name'}) {
2169 0           croak("Missing the required parameter 'name' when calling DeleteSlidesCleanSlidesList");
2170             }
2171            
2172              
2173             # parse inputs
2174 0           my $_resource_path = '/slides/{name}/slides/?appSid={appSid}&folder={folder}&storage={storage}';
2175            
2176 0           $_resource_path =~ s/\Q&\E/&/g;
2177 0           $_resource_path =~ s/\Q\/?\E/?/g;
2178 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
2179 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
2180            
2181 0           my $_method = 'DELETE';
2182 0           my $query_params = {};
2183 0           my $header_params = {};
2184 0           my $form_params = {};
2185              
2186             # 'Accept' and 'Content-Type' header
2187 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
2188 0 0         if ($_header_accept) {
2189 0           $header_params->{'Accept'} = $_header_accept;
2190             }
2191 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
2192              
2193             # query params
2194 0 0         if ( exists $args{'name'}) {
2195 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
2196             }else{
2197 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
2198             }# query params
2199 0 0         if ( exists $args{'folder'}) {
2200 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
2201             }else{
2202 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
2203             }# query params
2204 0 0         if ( exists $args{'storage'}) {
2205 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
2206             }else{
2207 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
2208             }
2209            
2210            
2211 0           my $_body_data;
2212            
2213            
2214            
2215              
2216             # authentication setting, if any
2217 0           my $auth_settings = [];
2218              
2219             # make the API Call
2220 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
2221             $query_params, $form_params,
2222             $header_params, $_body_data, $auth_settings);
2223 0 0         if (!$response) {
2224 0           return;
2225             }
2226              
2227 0 0         if($AsposeSlidesCloud::Configuration::debug){
2228 0           print "\nResponse Content: ".$response->content;
2229             }
2230            
2231 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideListResponse', $response->header('content-type'));
2232 0           return $_response_object;
2233            
2234             }
2235             #
2236             # PostSlidesReorderPosition
2237             #
2238             #
2239             #
2240             # @param String $name (required)
2241             # @param String $oldPosition (required)
2242             # @param String $newPosition (required)
2243             # @param String $folder (optional)
2244             # @param String $storage (optional)
2245             # @return SlideListResponse
2246             #
2247             sub PostSlidesReorderPosition {
2248 0     0 0   my ($self, %args) = @_;
2249              
2250            
2251             # verify the required parameter 'name' is set
2252 0 0         unless (exists $args{'name'}) {
2253 0           croak("Missing the required parameter 'name' when calling PostSlidesReorderPosition");
2254             }
2255            
2256             # verify the required parameter 'oldPosition' is set
2257 0 0         unless (exists $args{'oldPosition'}) {
2258 0           croak("Missing the required parameter 'oldPosition' when calling PostSlidesReorderPosition");
2259             }
2260            
2261             # verify the required parameter 'newPosition' is set
2262 0 0         unless (exists $args{'newPosition'}) {
2263 0           croak("Missing the required parameter 'newPosition' when calling PostSlidesReorderPosition");
2264             }
2265            
2266              
2267             # parse inputs
2268 0           my $_resource_path = '/slides/{name}/slides/?appSid={appSid}&oldPosition={oldPosition}&newPosition={newPosition}&folder={folder}&storage={storage}';
2269            
2270 0           $_resource_path =~ s/\Q&\E/&/g;
2271 0           $_resource_path =~ s/\Q\/?\E/?/g;
2272 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
2273 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
2274            
2275 0           my $_method = 'POST';
2276 0           my $query_params = {};
2277 0           my $header_params = {};
2278 0           my $form_params = {};
2279              
2280             # 'Accept' and 'Content-Type' header
2281 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
2282 0 0         if ($_header_accept) {
2283 0           $header_params->{'Accept'} = $_header_accept;
2284             }
2285 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
2286              
2287             # query params
2288 0 0         if ( exists $args{'name'}) {
2289 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
2290             }else{
2291 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
2292             }# query params
2293 0 0         if ( exists $args{'oldPosition'}) {
2294 0           $_resource_path =~ s/\Q{oldPosition}\E/$args{'oldPosition'}/g;
2295             }else{
2296 0           $_resource_path =~ s/[?&]oldPosition.*?(?=&|\?|$)//g;
2297             }# query params
2298 0 0         if ( exists $args{'newPosition'}) {
2299 0           $_resource_path =~ s/\Q{newPosition}\E/$args{'newPosition'}/g;
2300             }else{
2301 0           $_resource_path =~ s/[?&]newPosition.*?(?=&|\?|$)//g;
2302             }# query params
2303 0 0         if ( exists $args{'folder'}) {
2304 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
2305             }else{
2306 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
2307             }# query params
2308 0 0         if ( exists $args{'storage'}) {
2309 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
2310             }else{
2311 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
2312             }
2313            
2314            
2315 0           my $_body_data;
2316            
2317            
2318            
2319              
2320             # authentication setting, if any
2321 0           my $auth_settings = [];
2322              
2323             # make the API Call
2324 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
2325             $query_params, $form_params,
2326             $header_params, $_body_data, $auth_settings);
2327 0 0         if (!$response) {
2328 0           return;
2329             }
2330              
2331 0 0         if($AsposeSlidesCloud::Configuration::debug){
2332 0           print "\nResponse Content: ".$response->content;
2333             }
2334            
2335 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideListResponse', $response->header('content-type'));
2336 0           return $_response_object;
2337            
2338             }
2339             #
2340             # PostAddEmptySlideAtPosition
2341             #
2342             #
2343             #
2344             # @param String $name (required)
2345             # @param String $position (required)
2346             # @param String $folder (optional)
2347             # @param String $storage (optional)
2348             # @return SlideListResponse
2349             #
2350             sub PostAddEmptySlideAtPosition {
2351 0     0 0   my ($self, %args) = @_;
2352              
2353            
2354             # verify the required parameter 'name' is set
2355 0 0         unless (exists $args{'name'}) {
2356 0           croak("Missing the required parameter 'name' when calling PostAddEmptySlideAtPosition");
2357             }
2358            
2359             # verify the required parameter 'position' is set
2360 0 0         unless (exists $args{'position'}) {
2361 0           croak("Missing the required parameter 'position' when calling PostAddEmptySlideAtPosition");
2362             }
2363            
2364              
2365             # parse inputs
2366 0           my $_resource_path = '/slides/{name}/slides/?appSid={appSid}&position={position}&folder={folder}&storage={storage}';
2367            
2368 0           $_resource_path =~ s/\Q&\E/&/g;
2369 0           $_resource_path =~ s/\Q\/?\E/?/g;
2370 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
2371 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
2372            
2373 0           my $_method = 'POST';
2374 0           my $query_params = {};
2375 0           my $header_params = {};
2376 0           my $form_params = {};
2377              
2378             # 'Accept' and 'Content-Type' header
2379 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
2380 0 0         if ($_header_accept) {
2381 0           $header_params->{'Accept'} = $_header_accept;
2382             }
2383 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
2384              
2385             # query params
2386 0 0         if ( exists $args{'name'}) {
2387 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
2388             }else{
2389 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
2390             }# query params
2391 0 0         if ( exists $args{'position'}) {
2392 0           $_resource_path =~ s/\Q{position}\E/$args{'position'}/g;
2393             }else{
2394 0           $_resource_path =~ s/[?&]position.*?(?=&|\?|$)//g;
2395             }# query params
2396 0 0         if ( exists $args{'folder'}) {
2397 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
2398             }else{
2399 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
2400             }# query params
2401 0 0         if ( exists $args{'storage'}) {
2402 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
2403             }else{
2404 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
2405             }
2406            
2407            
2408 0           my $_body_data;
2409            
2410            
2411            
2412              
2413             # authentication setting, if any
2414 0           my $auth_settings = [];
2415              
2416             # make the API Call
2417 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
2418             $query_params, $form_params,
2419             $header_params, $_body_data, $auth_settings);
2420 0 0         if (!$response) {
2421 0           return;
2422             }
2423              
2424 0 0         if($AsposeSlidesCloud::Configuration::debug){
2425 0           print "\nResponse Content: ".$response->content;
2426             }
2427            
2428 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideListResponse', $response->header('content-type'));
2429 0           return $_response_object;
2430            
2431             }
2432             #
2433             # PostClonePresentationSlide
2434             #
2435             #
2436             #
2437             # @param String $name (required)
2438             # @param String $position (required)
2439             # @param String $slideToClone (required)
2440             # @param String $folder (optional)
2441             # @param String $storage (optional)
2442             # @return SlideListResponse
2443             #
2444             sub PostClonePresentationSlide {
2445 0     0 0   my ($self, %args) = @_;
2446              
2447            
2448             # verify the required parameter 'name' is set
2449 0 0         unless (exists $args{'name'}) {
2450 0           croak("Missing the required parameter 'name' when calling PostClonePresentationSlide");
2451             }
2452            
2453             # verify the required parameter 'position' is set
2454 0 0         unless (exists $args{'position'}) {
2455 0           croak("Missing the required parameter 'position' when calling PostClonePresentationSlide");
2456             }
2457            
2458             # verify the required parameter 'slideToClone' is set
2459 0 0         unless (exists $args{'slideToClone'}) {
2460 0           croak("Missing the required parameter 'slideToClone' when calling PostClonePresentationSlide");
2461             }
2462            
2463              
2464             # parse inputs
2465 0           my $_resource_path = '/slides/{name}/slides/?appSid={appSid}&position={position}&slideToClone={slideToClone}&folder={folder}&storage={storage}';
2466            
2467 0           $_resource_path =~ s/\Q&\E/&/g;
2468 0           $_resource_path =~ s/\Q\/?\E/?/g;
2469 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
2470 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
2471            
2472 0           my $_method = 'POST';
2473 0           my $query_params = {};
2474 0           my $header_params = {};
2475 0           my $form_params = {};
2476              
2477             # 'Accept' and 'Content-Type' header
2478 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
2479 0 0         if ($_header_accept) {
2480 0           $header_params->{'Accept'} = $_header_accept;
2481             }
2482 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
2483              
2484             # query params
2485 0 0         if ( exists $args{'name'}) {
2486 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
2487             }else{
2488 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
2489             }# query params
2490 0 0         if ( exists $args{'position'}) {
2491 0           $_resource_path =~ s/\Q{position}\E/$args{'position'}/g;
2492             }else{
2493 0           $_resource_path =~ s/[?&]position.*?(?=&|\?|$)//g;
2494             }# query params
2495 0 0         if ( exists $args{'slideToClone'}) {
2496 0           $_resource_path =~ s/\Q{slideToClone}\E/$args{'slideToClone'}/g;
2497             }else{
2498 0           $_resource_path =~ s/[?&]slideToClone.*?(?=&|\?|$)//g;
2499             }# query params
2500 0 0         if ( exists $args{'folder'}) {
2501 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
2502             }else{
2503 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
2504             }# query params
2505 0 0         if ( exists $args{'storage'}) {
2506 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
2507             }else{
2508 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
2509             }
2510            
2511            
2512 0           my $_body_data;
2513            
2514            
2515            
2516              
2517             # authentication setting, if any
2518 0           my $auth_settings = [];
2519              
2520             # make the API Call
2521 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
2522             $query_params, $form_params,
2523             $header_params, $_body_data, $auth_settings);
2524 0 0         if (!$response) {
2525 0           return;
2526             }
2527              
2528 0 0         if($AsposeSlidesCloud::Configuration::debug){
2529 0           print "\nResponse Content: ".$response->content;
2530             }
2531            
2532 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideListResponse', $response->header('content-type'));
2533 0           return $_response_object;
2534            
2535             }
2536             #
2537             # PostAddSlideCopy
2538             #
2539             #
2540             #
2541             # @param String $name (required)
2542             # @param String $slideToClone (required)
2543             # @param String $folder (optional)
2544             # @param String $storage (optional)
2545             # @return SlideListResponse
2546             #
2547             sub PostAddSlideCopy {
2548 0     0 0   my ($self, %args) = @_;
2549              
2550            
2551             # verify the required parameter 'name' is set
2552 0 0         unless (exists $args{'name'}) {
2553 0           croak("Missing the required parameter 'name' when calling PostAddSlideCopy");
2554             }
2555            
2556             # verify the required parameter 'slideToClone' is set
2557 0 0         unless (exists $args{'slideToClone'}) {
2558 0           croak("Missing the required parameter 'slideToClone' when calling PostAddSlideCopy");
2559             }
2560            
2561              
2562             # parse inputs
2563 0           my $_resource_path = '/slides/{name}/slides/?appSid={appSid}&slideToClone={slideToClone}&folder={folder}&storage={storage}';
2564            
2565 0           $_resource_path =~ s/\Q&\E/&/g;
2566 0           $_resource_path =~ s/\Q\/?\E/?/g;
2567 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
2568 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
2569            
2570 0           my $_method = 'POST';
2571 0           my $query_params = {};
2572 0           my $header_params = {};
2573 0           my $form_params = {};
2574              
2575             # 'Accept' and 'Content-Type' header
2576 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
2577 0 0         if ($_header_accept) {
2578 0           $header_params->{'Accept'} = $_header_accept;
2579             }
2580 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
2581              
2582             # query params
2583 0 0         if ( exists $args{'name'}) {
2584 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
2585             }else{
2586 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
2587             }# query params
2588 0 0         if ( exists $args{'slideToClone'}) {
2589 0           $_resource_path =~ s/\Q{slideToClone}\E/$args{'slideToClone'}/g;
2590             }else{
2591 0           $_resource_path =~ s/[?&]slideToClone.*?(?=&|\?|$)//g;
2592             }# query params
2593 0 0         if ( exists $args{'folder'}) {
2594 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
2595             }else{
2596 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
2597             }# query params
2598 0 0         if ( exists $args{'storage'}) {
2599 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
2600             }else{
2601 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
2602             }
2603            
2604            
2605 0           my $_body_data;
2606            
2607            
2608            
2609              
2610             # authentication setting, if any
2611 0           my $auth_settings = [];
2612              
2613             # make the API Call
2614 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
2615             $query_params, $form_params,
2616             $header_params, $_body_data, $auth_settings);
2617 0 0         if (!$response) {
2618 0           return;
2619             }
2620              
2621 0 0         if($AsposeSlidesCloud::Configuration::debug){
2622 0           print "\nResponse Content: ".$response->content;
2623             }
2624            
2625 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideListResponse', $response->header('content-type'));
2626 0           return $_response_object;
2627            
2628             }
2629             #
2630             # PostCopySlideFromSourcePresentation
2631             #
2632             #
2633             #
2634             # @param String $name (required)
2635             # @param String $slideToCopy (required)
2636             # @param String $source (required)
2637             # @param String $position (required)
2638             # @param String $folder (optional)
2639             # @param String $storage (optional)
2640             # @return SlideListResponse
2641             #
2642             sub PostCopySlideFromSourcePresentation {
2643 0     0 0   my ($self, %args) = @_;
2644              
2645            
2646             # verify the required parameter 'name' is set
2647 0 0         unless (exists $args{'name'}) {
2648 0           croak("Missing the required parameter 'name' when calling PostCopySlideFromSourcePresentation");
2649             }
2650            
2651             # verify the required parameter 'slideToCopy' is set
2652 0 0         unless (exists $args{'slideToCopy'}) {
2653 0           croak("Missing the required parameter 'slideToCopy' when calling PostCopySlideFromSourcePresentation");
2654             }
2655            
2656             # verify the required parameter 'source' is set
2657 0 0         unless (exists $args{'source'}) {
2658 0           croak("Missing the required parameter 'source' when calling PostCopySlideFromSourcePresentation");
2659             }
2660            
2661             # verify the required parameter 'position' is set
2662 0 0         unless (exists $args{'position'}) {
2663 0           croak("Missing the required parameter 'position' when calling PostCopySlideFromSourcePresentation");
2664             }
2665            
2666              
2667             # parse inputs
2668 0           my $_resource_path = '/slides/{name}/slides/?appSid={appSid}&slideToCopy={slideToCopy}&source={source}&position={position}&folder={folder}&storage={storage}';
2669            
2670 0           $_resource_path =~ s/\Q&\E/&/g;
2671 0           $_resource_path =~ s/\Q\/?\E/?/g;
2672 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
2673 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
2674            
2675 0           my $_method = 'POST';
2676 0           my $query_params = {};
2677 0           my $header_params = {};
2678 0           my $form_params = {};
2679              
2680             # 'Accept' and 'Content-Type' header
2681 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
2682 0 0         if ($_header_accept) {
2683 0           $header_params->{'Accept'} = $_header_accept;
2684             }
2685 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
2686              
2687             # query params
2688 0 0         if ( exists $args{'name'}) {
2689 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
2690             }else{
2691 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
2692             }# query params
2693 0 0         if ( exists $args{'slideToCopy'}) {
2694 0           $_resource_path =~ s/\Q{slideToCopy}\E/$args{'slideToCopy'}/g;
2695             }else{
2696 0           $_resource_path =~ s/[?&]slideToCopy.*?(?=&|\?|$)//g;
2697             }# query params
2698 0 0         if ( exists $args{'source'}) {
2699 0           $_resource_path =~ s/\Q{source}\E/$args{'source'}/g;
2700             }else{
2701 0           $_resource_path =~ s/[?&]source.*?(?=&|\?|$)//g;
2702             }# query params
2703 0 0         if ( exists $args{'position'}) {
2704 0           $_resource_path =~ s/\Q{position}\E/$args{'position'}/g;
2705             }else{
2706 0           $_resource_path =~ s/[?&]position.*?(?=&|\?|$)//g;
2707             }# query params
2708 0 0         if ( exists $args{'folder'}) {
2709 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
2710             }else{
2711 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
2712             }# query params
2713 0 0         if ( exists $args{'storage'}) {
2714 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
2715             }else{
2716 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
2717             }
2718            
2719            
2720 0           my $_body_data;
2721            
2722            
2723            
2724              
2725             # authentication setting, if any
2726 0           my $auth_settings = [];
2727              
2728             # make the API Call
2729 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
2730             $query_params, $form_params,
2731             $header_params, $_body_data, $auth_settings);
2732 0 0         if (!$response) {
2733 0           return;
2734             }
2735              
2736 0 0         if($AsposeSlidesCloud::Configuration::debug){
2737 0           print "\nResponse Content: ".$response->content;
2738             }
2739            
2740 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideListResponse', $response->header('content-type'));
2741 0           return $_response_object;
2742            
2743             }
2744             #
2745             # GetSlidesSlide
2746             #
2747             #
2748             #
2749             # @param String $name (required)
2750             # @param String $slideIndex (required)
2751             # @param String $folder (optional)
2752             # @param String $storage (optional)
2753             # @return SlideResponse
2754             #
2755             sub GetSlidesSlide {
2756 0     0 0   my ($self, %args) = @_;
2757              
2758            
2759             # verify the required parameter 'name' is set
2760 0 0         unless (exists $args{'name'}) {
2761 0           croak("Missing the required parameter 'name' when calling GetSlidesSlide");
2762             }
2763            
2764             # verify the required parameter 'slideIndex' is set
2765 0 0         unless (exists $args{'slideIndex'}) {
2766 0           croak("Missing the required parameter 'slideIndex' when calling GetSlidesSlide");
2767             }
2768            
2769              
2770             # parse inputs
2771 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/?appSid={appSid}&folder={folder}&storage={storage}';
2772            
2773 0           $_resource_path =~ s/\Q&\E/&/g;
2774 0           $_resource_path =~ s/\Q\/?\E/?/g;
2775 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
2776 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
2777            
2778 0           my $_method = 'GET';
2779 0           my $query_params = {};
2780 0           my $header_params = {};
2781 0           my $form_params = {};
2782              
2783             # 'Accept' and 'Content-Type' header
2784 0           my $_header_accept = $self->{api_client}->select_header_accept('application/json');
2785 0 0         if ($_header_accept) {
2786 0           $header_params->{'Accept'} = $_header_accept;
2787             }
2788 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
2789              
2790             # query params
2791 0 0         if ( exists $args{'name'}) {
2792 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
2793             }else{
2794 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
2795             }# query params
2796 0 0         if ( exists $args{'slideIndex'}) {
2797 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
2798             }else{
2799 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
2800             }# query params
2801 0 0         if ( exists $args{'folder'}) {
2802 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
2803             }else{
2804 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
2805             }# query params
2806 0 0         if ( exists $args{'storage'}) {
2807 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
2808             }else{
2809 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
2810             }
2811            
2812            
2813 0           my $_body_data;
2814            
2815            
2816            
2817              
2818             # authentication setting, if any
2819 0           my $auth_settings = [];
2820              
2821             # make the API Call
2822 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
2823             $query_params, $form_params,
2824             $header_params, $_body_data, $auth_settings);
2825 0 0         if (!$response) {
2826 0           return;
2827             }
2828              
2829 0 0         if($AsposeSlidesCloud::Configuration::debug){
2830 0           print "\nResponse Content: ".$response->content;
2831             }
2832            
2833 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideResponse', $response->header('content-type'));
2834 0           return $_response_object;
2835            
2836             }
2837             #
2838             # DeleteSlideByIndex
2839             #
2840             #
2841             #
2842             # @param String $name (required)
2843             # @param String $slideIndex (required)
2844             # @param String $folder (optional)
2845             # @param String $storage (optional)
2846             # @return SlideListResponse
2847             #
2848             sub DeleteSlideByIndex {
2849 0     0 0   my ($self, %args) = @_;
2850              
2851            
2852             # verify the required parameter 'name' is set
2853 0 0         unless (exists $args{'name'}) {
2854 0           croak("Missing the required parameter 'name' when calling DeleteSlideByIndex");
2855             }
2856            
2857             # verify the required parameter 'slideIndex' is set
2858 0 0         unless (exists $args{'slideIndex'}) {
2859 0           croak("Missing the required parameter 'slideIndex' when calling DeleteSlideByIndex");
2860             }
2861            
2862              
2863             # parse inputs
2864 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/?appSid={appSid}&folder={folder}&storage={storage}';
2865            
2866 0           $_resource_path =~ s/\Q&\E/&/g;
2867 0           $_resource_path =~ s/\Q\/?\E/?/g;
2868 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
2869 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
2870            
2871 0           my $_method = 'DELETE';
2872 0           my $query_params = {};
2873 0           my $header_params = {};
2874 0           my $form_params = {};
2875              
2876             # 'Accept' and 'Content-Type' header
2877 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
2878 0 0         if ($_header_accept) {
2879 0           $header_params->{'Accept'} = $_header_accept;
2880             }
2881 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
2882              
2883             # query params
2884 0 0         if ( exists $args{'name'}) {
2885 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
2886             }else{
2887 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
2888             }# query params
2889 0 0         if ( exists $args{'slideIndex'}) {
2890 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
2891             }else{
2892 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
2893             }# query params
2894 0 0         if ( exists $args{'folder'}) {
2895 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
2896             }else{
2897 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
2898             }# query params
2899 0 0         if ( exists $args{'storage'}) {
2900 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
2901             }else{
2902 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
2903             }
2904            
2905            
2906 0           my $_body_data;
2907            
2908            
2909            
2910              
2911             # authentication setting, if any
2912 0           my $auth_settings = [];
2913              
2914             # make the API Call
2915 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
2916             $query_params, $form_params,
2917             $header_params, $_body_data, $auth_settings);
2918 0 0         if (!$response) {
2919 0           return;
2920             }
2921              
2922 0 0         if($AsposeSlidesCloud::Configuration::debug){
2923 0           print "\nResponse Content: ".$response->content;
2924             }
2925            
2926 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideListResponse', $response->header('content-type'));
2927 0           return $_response_object;
2928            
2929             }
2930             #
2931             # GetSlideWithFormat
2932             #
2933             #
2934             #
2935             # @param String $name (required)
2936             # @param String $slideIndex (required)
2937             # @param String $format (required)
2938             # @param String $width (optional)
2939             # @param String $height (optional)
2940             # @param String $folder (optional)
2941             # @param String $storage (optional)
2942             # @return ResponseMessage
2943             #
2944             sub GetSlideWithFormat {
2945 0     0 0   my ($self, %args) = @_;
2946              
2947            
2948             # verify the required parameter 'name' is set
2949 0 0         unless (exists $args{'name'}) {
2950 0           croak("Missing the required parameter 'name' when calling GetSlideWithFormat");
2951             }
2952            
2953             # verify the required parameter 'slideIndex' is set
2954 0 0         unless (exists $args{'slideIndex'}) {
2955 0           croak("Missing the required parameter 'slideIndex' when calling GetSlideWithFormat");
2956             }
2957            
2958             # verify the required parameter 'format' is set
2959 0 0         unless (exists $args{'format'}) {
2960 0           croak("Missing the required parameter 'format' when calling GetSlideWithFormat");
2961             }
2962            
2963              
2964             # parse inputs
2965 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/?appSid={appSid}&toFormat={toFormat}&width={width}&height={height}&folder={folder}&storage={storage}';
2966            
2967 0           $_resource_path =~ s/\Q&\E/&/g;
2968 0           $_resource_path =~ s/\Q\/?\E/?/g;
2969 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
2970 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
2971            
2972 0           my $_method = 'GET';
2973 0           my $query_params = {};
2974 0           my $header_params = {};
2975 0           my $form_params = {};
2976              
2977             # 'Accept' and 'Content-Type' header
2978 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/octet-stream');
2979 0 0         if ($_header_accept) {
2980 0           $header_params->{'Accept'} = $_header_accept;
2981             }
2982 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
2983              
2984             # query params
2985 0 0         if ( exists $args{'name'}) {
2986 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
2987             }else{
2988 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
2989             }# query params
2990 0 0         if ( exists $args{'slideIndex'}) {
2991 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
2992             }else{
2993 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
2994             }# query params
2995 0 0         if ( exists $args{'format'}) {
2996 0           $_resource_path =~ s/\Q{format}\E/$args{'format'}/g;
2997             }else{
2998 0           $_resource_path =~ s/[?&]format.*?(?=&|\?|$)//g;
2999             }# query params
3000 0 0         if ( exists $args{'width'}) {
3001 0           $_resource_path =~ s/\Q{width}\E/$args{'width'}/g;
3002             }else{
3003 0           $_resource_path =~ s/[?&]width.*?(?=&|\?|$)//g;
3004             }# query params
3005 0 0         if ( exists $args{'height'}) {
3006 0           $_resource_path =~ s/\Q{height}\E/$args{'height'}/g;
3007             }else{
3008 0           $_resource_path =~ s/[?&]height.*?(?=&|\?|$)//g;
3009             }# query params
3010 0 0         if ( exists $args{'folder'}) {
3011 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
3012             }else{
3013 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
3014             }# query params
3015 0 0         if ( exists $args{'storage'}) {
3016 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
3017             }else{
3018 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
3019             }
3020            
3021            
3022 0           my $_body_data;
3023            
3024            
3025            
3026              
3027             # authentication setting, if any
3028 0           my $auth_settings = [];
3029              
3030             # make the API Call
3031 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
3032             $query_params, $form_params,
3033             $header_params, $_body_data, $auth_settings);
3034 0 0         if (!$response) {
3035 0           return;
3036             }
3037              
3038 0 0         if($AsposeSlidesCloud::Configuration::debug){
3039 0           print "\nResponse Content: ".$response->content;
3040             }
3041            
3042 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
3043 0           return $_response_object;
3044            
3045             }
3046             #
3047             # GetSlidesSlideBackground
3048             #
3049             #
3050             #
3051             # @param String $name (required)
3052             # @param String $slideIndex (required)
3053             # @param String $folder (optional)
3054             # @param String $storage (optional)
3055             # @return SlideBackgroundResponse
3056             #
3057             sub GetSlidesSlideBackground {
3058 0     0 0   my ($self, %args) = @_;
3059              
3060            
3061             # verify the required parameter 'name' is set
3062 0 0         unless (exists $args{'name'}) {
3063 0           croak("Missing the required parameter 'name' when calling GetSlidesSlideBackground");
3064             }
3065            
3066             # verify the required parameter 'slideIndex' is set
3067 0 0         unless (exists $args{'slideIndex'}) {
3068 0           croak("Missing the required parameter 'slideIndex' when calling GetSlidesSlideBackground");
3069             }
3070            
3071              
3072             # parse inputs
3073 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/background/?appSid={appSid}&folder={folder}&storage={storage}';
3074            
3075 0           $_resource_path =~ s/\Q&\E/&/g;
3076 0           $_resource_path =~ s/\Q\/?\E/?/g;
3077 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
3078 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
3079            
3080 0           my $_method = 'GET';
3081 0           my $query_params = {};
3082 0           my $header_params = {};
3083 0           my $form_params = {};
3084              
3085             # 'Accept' and 'Content-Type' header
3086 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
3087 0 0         if ($_header_accept) {
3088 0           $header_params->{'Accept'} = $_header_accept;
3089             }
3090 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
3091              
3092             # query params
3093 0 0         if ( exists $args{'name'}) {
3094 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
3095             }else{
3096 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
3097             }# query params
3098 0 0         if ( exists $args{'slideIndex'}) {
3099 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
3100             }else{
3101 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
3102             }# query params
3103 0 0         if ( exists $args{'folder'}) {
3104 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
3105             }else{
3106 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
3107             }# query params
3108 0 0         if ( exists $args{'storage'}) {
3109 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
3110             }else{
3111 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
3112             }
3113            
3114            
3115 0           my $_body_data;
3116            
3117            
3118            
3119              
3120             # authentication setting, if any
3121 0           my $auth_settings = [];
3122              
3123             # make the API Call
3124 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
3125             $query_params, $form_params,
3126             $header_params, $_body_data, $auth_settings);
3127 0 0         if (!$response) {
3128 0           return;
3129             }
3130              
3131 0 0         if($AsposeSlidesCloud::Configuration::debug){
3132 0           print "\nResponse Content: ".$response->content;
3133             }
3134            
3135 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideBackgroundResponse', $response->header('content-type'));
3136 0           return $_response_object;
3137            
3138             }
3139             #
3140             # PutSlidesSlideBackground
3141             #
3142             #
3143             #
3144             # @param String $name (required)
3145             # @param String $slideIndex (required)
3146             # @param String $folder (optional)
3147             # @param String $storage (optional)
3148             # @param $body (required)
3149             # @return SlideBackgroundResponse
3150             #
3151             sub PutSlidesSlideBackground {
3152 0     0 0   my ($self, %args) = @_;
3153              
3154            
3155             # verify the required parameter 'name' is set
3156 0 0         unless (exists $args{'name'}) {
3157 0           croak("Missing the required parameter 'name' when calling PutSlidesSlideBackground");
3158             }
3159            
3160             # verify the required parameter 'slideIndex' is set
3161 0 0         unless (exists $args{'slideIndex'}) {
3162 0           croak("Missing the required parameter 'slideIndex' when calling PutSlidesSlideBackground");
3163             }
3164            
3165             # verify the required parameter 'body' is set
3166 0 0         unless (exists $args{'body'}) {
3167 0           croak("Missing the required parameter 'body' when calling PutSlidesSlideBackground");
3168             }
3169            
3170              
3171             # parse inputs
3172 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/background/?appSid={appSid}&folder={folder}&storage={storage}';
3173            
3174 0           $_resource_path =~ s/\Q&\E/&/g;
3175 0           $_resource_path =~ s/\Q\/?\E/?/g;
3176 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
3177 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
3178            
3179 0           my $_method = 'PUT';
3180 0           my $query_params = {};
3181 0           my $header_params = {};
3182 0           my $form_params = {};
3183              
3184             # 'Accept' and 'Content-Type' header
3185 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
3186 0 0         if ($_header_accept) {
3187 0           $header_params->{'Accept'} = $_header_accept;
3188             }
3189 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
3190              
3191             # query params
3192 0 0         if ( exists $args{'name'}) {
3193 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
3194             }else{
3195 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
3196             }# query params
3197 0 0         if ( exists $args{'slideIndex'}) {
3198 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
3199             }else{
3200 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
3201             }# query params
3202 0 0         if ( exists $args{'folder'}) {
3203 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
3204             }else{
3205 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
3206             }# query params
3207 0 0         if ( exists $args{'storage'}) {
3208 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
3209             }else{
3210 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
3211             }
3212            
3213            
3214 0           my $_body_data;
3215            
3216            
3217             # body params
3218 0 0         if ( exists $args{'body'}) {
3219 0           $_body_data = $args{'body'};
3220             }
3221              
3222             # authentication setting, if any
3223 0           my $auth_settings = [];
3224              
3225             # make the API Call
3226 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
3227             $query_params, $form_params,
3228             $header_params, $_body_data, $auth_settings);
3229 0 0         if (!$response) {
3230 0           return;
3231             }
3232              
3233 0 0         if($AsposeSlidesCloud::Configuration::debug){
3234 0           print "\nResponse Content: ".$response->content;
3235             }
3236            
3237 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideBackgroundResponse', $response->header('content-type'));
3238 0           return $_response_object;
3239            
3240             }
3241             #
3242             # DeleteSlidesSlideBackground
3243             #
3244             #
3245             #
3246             # @param String $name (required)
3247             # @param String $slideIndex (required)
3248             # @param String $folder (optional)
3249             # @param String $storage (optional)
3250             # @return SlideBackgroundResponse
3251             #
3252             sub DeleteSlidesSlideBackground {
3253 0     0 0   my ($self, %args) = @_;
3254              
3255            
3256             # verify the required parameter 'name' is set
3257 0 0         unless (exists $args{'name'}) {
3258 0           croak("Missing the required parameter 'name' when calling DeleteSlidesSlideBackground");
3259             }
3260            
3261             # verify the required parameter 'slideIndex' is set
3262 0 0         unless (exists $args{'slideIndex'}) {
3263 0           croak("Missing the required parameter 'slideIndex' when calling DeleteSlidesSlideBackground");
3264             }
3265            
3266              
3267             # parse inputs
3268 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/background/?appSid={appSid}&folder={folder}&storage={storage}';
3269            
3270 0           $_resource_path =~ s/\Q&\E/&/g;
3271 0           $_resource_path =~ s/\Q\/?\E/?/g;
3272 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
3273 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
3274            
3275 0           my $_method = 'DELETE';
3276 0           my $query_params = {};
3277 0           my $header_params = {};
3278 0           my $form_params = {};
3279              
3280             # 'Accept' and 'Content-Type' header
3281 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
3282 0 0         if ($_header_accept) {
3283 0           $header_params->{'Accept'} = $_header_accept;
3284             }
3285 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
3286              
3287             # query params
3288 0 0         if ( exists $args{'name'}) {
3289 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
3290             }else{
3291 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
3292             }# query params
3293 0 0         if ( exists $args{'slideIndex'}) {
3294 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
3295             }else{
3296 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
3297             }# query params
3298 0 0         if ( exists $args{'folder'}) {
3299 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
3300             }else{
3301 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
3302             }# query params
3303 0 0         if ( exists $args{'storage'}) {
3304 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
3305             }else{
3306 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
3307             }
3308            
3309            
3310 0           my $_body_data;
3311            
3312            
3313            
3314              
3315             # authentication setting, if any
3316 0           my $auth_settings = [];
3317              
3318             # make the API Call
3319 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
3320             $query_params, $form_params,
3321             $header_params, $_body_data, $auth_settings);
3322 0 0         if (!$response) {
3323 0           return;
3324             }
3325              
3326 0 0         if($AsposeSlidesCloud::Configuration::debug){
3327 0           print "\nResponse Content: ".$response->content;
3328             }
3329            
3330 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideBackgroundResponse', $response->header('content-type'));
3331 0           return $_response_object;
3332            
3333             }
3334             #
3335             # GetSlidesSlideComments
3336             #
3337             #
3338             #
3339             # @param String $name (required)
3340             # @param String $slideIndex (required)
3341             # @param String $folder (optional)
3342             # @param String $storage (optional)
3343             # @return SlideCommentsResponse
3344             #
3345             sub GetSlidesSlideComments {
3346 0     0 0   my ($self, %args) = @_;
3347              
3348            
3349             # verify the required parameter 'name' is set
3350 0 0         unless (exists $args{'name'}) {
3351 0           croak("Missing the required parameter 'name' when calling GetSlidesSlideComments");
3352             }
3353            
3354             # verify the required parameter 'slideIndex' is set
3355 0 0         unless (exists $args{'slideIndex'}) {
3356 0           croak("Missing the required parameter 'slideIndex' when calling GetSlidesSlideComments");
3357             }
3358            
3359              
3360             # parse inputs
3361 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/comments/?appSid={appSid}&folder={folder}&storage={storage}';
3362            
3363 0           $_resource_path =~ s/\Q&\E/&/g;
3364 0           $_resource_path =~ s/\Q\/?\E/?/g;
3365 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
3366 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
3367            
3368 0           my $_method = 'GET';
3369 0           my $query_params = {};
3370 0           my $header_params = {};
3371 0           my $form_params = {};
3372              
3373             # 'Accept' and 'Content-Type' header
3374 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
3375 0 0         if ($_header_accept) {
3376 0           $header_params->{'Accept'} = $_header_accept;
3377             }
3378 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
3379              
3380             # query params
3381 0 0         if ( exists $args{'name'}) {
3382 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
3383             }else{
3384 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
3385             }# query params
3386 0 0         if ( exists $args{'slideIndex'}) {
3387 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
3388             }else{
3389 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
3390             }# query params
3391 0 0         if ( exists $args{'folder'}) {
3392 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
3393             }else{
3394 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
3395             }# query params
3396 0 0         if ( exists $args{'storage'}) {
3397 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
3398             }else{
3399 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
3400             }
3401            
3402            
3403 0           my $_body_data;
3404            
3405            
3406            
3407              
3408             # authentication setting, if any
3409 0           my $auth_settings = [];
3410              
3411             # make the API Call
3412 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
3413             $query_params, $form_params,
3414             $header_params, $_body_data, $auth_settings);
3415 0 0         if (!$response) {
3416 0           return;
3417             }
3418              
3419 0 0         if($AsposeSlidesCloud::Configuration::debug){
3420 0           print "\nResponse Content: ".$response->content;
3421             }
3422            
3423 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideCommentsResponse', $response->header('content-type'));
3424 0           return $_response_object;
3425            
3426             }
3427             #
3428             # GetSlidesSlideImages
3429             #
3430             #
3431             #
3432             # @param String $name (required)
3433             # @param String $slideIndex (required)
3434             # @param String $folder (optional)
3435             # @param String $storage (optional)
3436             # @return ImagesResponse
3437             #
3438             sub GetSlidesSlideImages {
3439 0     0 0   my ($self, %args) = @_;
3440              
3441            
3442             # verify the required parameter 'name' is set
3443 0 0         unless (exists $args{'name'}) {
3444 0           croak("Missing the required parameter 'name' when calling GetSlidesSlideImages");
3445             }
3446            
3447             # verify the required parameter 'slideIndex' is set
3448 0 0         unless (exists $args{'slideIndex'}) {
3449 0           croak("Missing the required parameter 'slideIndex' when calling GetSlidesSlideImages");
3450             }
3451            
3452              
3453             # parse inputs
3454 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/images/?appSid={appSid}&folder={folder}&storage={storage}';
3455            
3456 0           $_resource_path =~ s/\Q&\E/&/g;
3457 0           $_resource_path =~ s/\Q\/?\E/?/g;
3458 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
3459 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
3460            
3461 0           my $_method = 'GET';
3462 0           my $query_params = {};
3463 0           my $header_params = {};
3464 0           my $form_params = {};
3465              
3466             # 'Accept' and 'Content-Type' header
3467 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
3468 0 0         if ($_header_accept) {
3469 0           $header_params->{'Accept'} = $_header_accept;
3470             }
3471 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
3472              
3473             # query params
3474 0 0         if ( exists $args{'name'}) {
3475 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
3476             }else{
3477 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
3478             }# query params
3479 0 0         if ( exists $args{'slideIndex'}) {
3480 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
3481             }else{
3482 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
3483             }# query params
3484 0 0         if ( exists $args{'folder'}) {
3485 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
3486             }else{
3487 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
3488             }# query params
3489 0 0         if ( exists $args{'storage'}) {
3490 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
3491             }else{
3492 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
3493             }
3494            
3495            
3496 0           my $_body_data;
3497            
3498            
3499            
3500              
3501             # authentication setting, if any
3502 0           my $auth_settings = [];
3503              
3504             # make the API Call
3505 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
3506             $query_params, $form_params,
3507             $header_params, $_body_data, $auth_settings);
3508 0 0         if (!$response) {
3509 0           return;
3510             }
3511              
3512 0 0         if($AsposeSlidesCloud::Configuration::debug){
3513 0           print "\nResponse Content: ".$response->content;
3514             }
3515            
3516 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ImagesResponse', $response->header('content-type'));
3517 0           return $_response_object;
3518            
3519             }
3520             #
3521             # GetSlidesPlaceholders
3522             #
3523             #
3524             #
3525             # @param String $name (required)
3526             # @param String $slideIndex (required)
3527             # @param String $folder (optional)
3528             # @param String $storage (optional)
3529             # @return PlaceholdersResponse
3530             #
3531             sub GetSlidesPlaceholders {
3532 0     0 0   my ($self, %args) = @_;
3533              
3534            
3535             # verify the required parameter 'name' is set
3536 0 0         unless (exists $args{'name'}) {
3537 0           croak("Missing the required parameter 'name' when calling GetSlidesPlaceholders");
3538             }
3539            
3540             # verify the required parameter 'slideIndex' is set
3541 0 0         unless (exists $args{'slideIndex'}) {
3542 0           croak("Missing the required parameter 'slideIndex' when calling GetSlidesPlaceholders");
3543             }
3544            
3545              
3546             # parse inputs
3547 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/placeholders/?appSid={appSid}&folder={folder}&storage={storage}';
3548            
3549 0           $_resource_path =~ s/\Q&\E/&/g;
3550 0           $_resource_path =~ s/\Q\/?\E/?/g;
3551 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
3552 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
3553            
3554 0           my $_method = 'GET';
3555 0           my $query_params = {};
3556 0           my $header_params = {};
3557 0           my $form_params = {};
3558              
3559             # 'Accept' and 'Content-Type' header
3560 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
3561 0 0         if ($_header_accept) {
3562 0           $header_params->{'Accept'} = $_header_accept;
3563             }
3564 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
3565              
3566             # query params
3567 0 0         if ( exists $args{'name'}) {
3568 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
3569             }else{
3570 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
3571             }# query params
3572 0 0         if ( exists $args{'slideIndex'}) {
3573 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
3574             }else{
3575 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
3576             }# query params
3577 0 0         if ( exists $args{'folder'}) {
3578 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
3579             }else{
3580 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
3581             }# query params
3582 0 0         if ( exists $args{'storage'}) {
3583 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
3584             }else{
3585 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
3586             }
3587            
3588            
3589 0           my $_body_data;
3590            
3591            
3592            
3593              
3594             # authentication setting, if any
3595 0           my $auth_settings = [];
3596              
3597             # make the API Call
3598 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
3599             $query_params, $form_params,
3600             $header_params, $_body_data, $auth_settings);
3601 0 0         if (!$response) {
3602 0           return;
3603             }
3604              
3605 0 0         if($AsposeSlidesCloud::Configuration::debug){
3606 0           print "\nResponse Content: ".$response->content;
3607             }
3608            
3609 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'PlaceholdersResponse', $response->header('content-type'));
3610 0           return $_response_object;
3611            
3612             }
3613             #
3614             # GetSlidesPlaceholder
3615             #
3616             #
3617             #
3618             # @param String $name (required)
3619             # @param String $slideIndex (required)
3620             # @param String $placeholderIndex (required)
3621             # @param String $folder (optional)
3622             # @param String $storage (optional)
3623             # @return PlaceholderResponse
3624             #
3625             sub GetSlidesPlaceholder {
3626 0     0 0   my ($self, %args) = @_;
3627              
3628            
3629             # verify the required parameter 'name' is set
3630 0 0         unless (exists $args{'name'}) {
3631 0           croak("Missing the required parameter 'name' when calling GetSlidesPlaceholder");
3632             }
3633            
3634             # verify the required parameter 'slideIndex' is set
3635 0 0         unless (exists $args{'slideIndex'}) {
3636 0           croak("Missing the required parameter 'slideIndex' when calling GetSlidesPlaceholder");
3637             }
3638            
3639             # verify the required parameter 'placeholderIndex' is set
3640 0 0         unless (exists $args{'placeholderIndex'}) {
3641 0           croak("Missing the required parameter 'placeholderIndex' when calling GetSlidesPlaceholder");
3642             }
3643            
3644              
3645             # parse inputs
3646 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/placeholders/{placeholderIndex}/?appSid={appSid}&folder={folder}&storage={storage}';
3647            
3648 0           $_resource_path =~ s/\Q&\E/&/g;
3649 0           $_resource_path =~ s/\Q\/?\E/?/g;
3650 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
3651 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
3652            
3653 0           my $_method = 'GET';
3654 0           my $query_params = {};
3655 0           my $header_params = {};
3656 0           my $form_params = {};
3657              
3658             # 'Accept' and 'Content-Type' header
3659 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
3660 0 0         if ($_header_accept) {
3661 0           $header_params->{'Accept'} = $_header_accept;
3662             }
3663 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
3664              
3665             # query params
3666 0 0         if ( exists $args{'name'}) {
3667 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
3668             }else{
3669 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
3670             }# query params
3671 0 0         if ( exists $args{'slideIndex'}) {
3672 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
3673             }else{
3674 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
3675             }# query params
3676 0 0         if ( exists $args{'placeholderIndex'}) {
3677 0           $_resource_path =~ s/\Q{placeholderIndex}\E/$args{'placeholderIndex'}/g;
3678             }else{
3679 0           $_resource_path =~ s/[?&]placeholderIndex.*?(?=&|\?|$)//g;
3680             }# query params
3681 0 0         if ( exists $args{'folder'}) {
3682 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
3683             }else{
3684 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
3685             }# query params
3686 0 0         if ( exists $args{'storage'}) {
3687 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
3688             }else{
3689 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
3690             }
3691            
3692            
3693 0           my $_body_data;
3694            
3695            
3696            
3697              
3698             # authentication setting, if any
3699 0           my $auth_settings = [];
3700              
3701             # make the API Call
3702 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
3703             $query_params, $form_params,
3704             $header_params, $_body_data, $auth_settings);
3705 0 0         if (!$response) {
3706 0           return;
3707             }
3708              
3709 0 0         if($AsposeSlidesCloud::Configuration::debug){
3710 0           print "\nResponse Content: ".$response->content;
3711             }
3712            
3713 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'PlaceholderResponse', $response->header('content-type'));
3714 0           return $_response_object;
3715            
3716             }
3717             #
3718             # PostSlidesSlideReplaceText
3719             #
3720             #
3721             #
3722             # @param String $name (required)
3723             # @param String $slideIndex (required)
3724             # @param String $oldValue (required)
3725             # @param String $newValue (required)
3726             # @param Boolean $ignoreCase (optional)
3727             # @param String $folder (optional)
3728             # @param String $storage (optional)
3729             # @return SlideStringReplaceResponse
3730             #
3731             sub PostSlidesSlideReplaceText {
3732 0     0 0   my ($self, %args) = @_;
3733              
3734            
3735             # verify the required parameter 'name' is set
3736 0 0         unless (exists $args{'name'}) {
3737 0           croak("Missing the required parameter 'name' when calling PostSlidesSlideReplaceText");
3738             }
3739            
3740             # verify the required parameter 'slideIndex' is set
3741 0 0         unless (exists $args{'slideIndex'}) {
3742 0           croak("Missing the required parameter 'slideIndex' when calling PostSlidesSlideReplaceText");
3743             }
3744            
3745             # verify the required parameter 'oldValue' is set
3746 0 0         unless (exists $args{'oldValue'}) {
3747 0           croak("Missing the required parameter 'oldValue' when calling PostSlidesSlideReplaceText");
3748             }
3749            
3750             # verify the required parameter 'newValue' is set
3751 0 0         unless (exists $args{'newValue'}) {
3752 0           croak("Missing the required parameter 'newValue' when calling PostSlidesSlideReplaceText");
3753             }
3754            
3755              
3756             # parse inputs
3757 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/replaceText/?oldValue={oldValue}&newValue={newValue}&appSid={appSid}&ignoreCase={ignoreCase}&folder={folder}&storage={storage}';
3758            
3759 0           $_resource_path =~ s/\Q&\E/&/g;
3760 0           $_resource_path =~ s/\Q\/?\E/?/g;
3761 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
3762 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
3763            
3764 0           my $_method = 'POST';
3765 0           my $query_params = {};
3766 0           my $header_params = {};
3767 0           my $form_params = {};
3768              
3769             # 'Accept' and 'Content-Type' header
3770 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
3771 0 0         if ($_header_accept) {
3772 0           $header_params->{'Accept'} = $_header_accept;
3773             }
3774 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
3775              
3776             # query params
3777 0 0         if ( exists $args{'name'}) {
3778 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
3779             }else{
3780 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
3781             }# query params
3782 0 0         if ( exists $args{'slideIndex'}) {
3783 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
3784             }else{
3785 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
3786             }# query params
3787 0 0         if ( exists $args{'oldValue'}) {
3788 0           $_resource_path =~ s/\Q{oldValue}\E/$args{'oldValue'}/g;
3789             }else{
3790 0           $_resource_path =~ s/[?&]oldValue.*?(?=&|\?|$)//g;
3791             }# query params
3792 0 0         if ( exists $args{'newValue'}) {
3793 0           $_resource_path =~ s/\Q{newValue}\E/$args{'newValue'}/g;
3794             }else{
3795 0           $_resource_path =~ s/[?&]newValue.*?(?=&|\?|$)//g;
3796             }# query params
3797 0 0         if ( exists $args{'ignoreCase'}) {
3798 0           $_resource_path =~ s/\Q{ignoreCase}\E/$args{'ignoreCase'}/g;
3799             }else{
3800 0           $_resource_path =~ s/[?&]ignoreCase.*?(?=&|\?|$)//g;
3801             }# query params
3802 0 0         if ( exists $args{'folder'}) {
3803 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
3804             }else{
3805 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
3806             }# query params
3807 0 0         if ( exists $args{'storage'}) {
3808 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
3809             }else{
3810 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
3811             }
3812            
3813            
3814 0           my $_body_data;
3815            
3816            
3817            
3818              
3819             # authentication setting, if any
3820 0           my $auth_settings = [];
3821              
3822             # make the API Call
3823 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
3824             $query_params, $form_params,
3825             $header_params, $_body_data, $auth_settings);
3826 0 0         if (!$response) {
3827 0           return;
3828             }
3829              
3830 0 0         if($AsposeSlidesCloud::Configuration::debug){
3831 0           print "\nResponse Content: ".$response->content;
3832             }
3833            
3834 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SlideStringReplaceResponse', $response->header('content-type'));
3835 0           return $_response_object;
3836            
3837             }
3838             #
3839             # GetSlidesSlideShapes
3840             #
3841             #
3842             #
3843             # @param String $name (required)
3844             # @param String $slideIndex (required)
3845             # @param String $folder (optional)
3846             # @param String $storage (optional)
3847             # @return ShapesResponse
3848             #
3849             sub GetSlidesSlideShapes {
3850 0     0 0   my ($self, %args) = @_;
3851              
3852            
3853             # verify the required parameter 'name' is set
3854 0 0         unless (exists $args{'name'}) {
3855 0           croak("Missing the required parameter 'name' when calling GetSlidesSlideShapes");
3856             }
3857            
3858             # verify the required parameter 'slideIndex' is set
3859 0 0         unless (exists $args{'slideIndex'}) {
3860 0           croak("Missing the required parameter 'slideIndex' when calling GetSlidesSlideShapes");
3861             }
3862            
3863              
3864             # parse inputs
3865 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/shapes/?appSid={appSid}&folder={folder}&storage={storage}';
3866            
3867 0           $_resource_path =~ s/\Q&\E/&/g;
3868 0           $_resource_path =~ s/\Q\/?\E/?/g;
3869 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
3870 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
3871            
3872 0           my $_method = 'GET';
3873 0           my $query_params = {};
3874 0           my $header_params = {};
3875 0           my $form_params = {};
3876              
3877             # 'Accept' and 'Content-Type' header
3878 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
3879 0 0         if ($_header_accept) {
3880 0           $header_params->{'Accept'} = $_header_accept;
3881             }
3882 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
3883              
3884             # query params
3885 0 0         if ( exists $args{'name'}) {
3886 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
3887             }else{
3888 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
3889             }# query params
3890 0 0         if ( exists $args{'slideIndex'}) {
3891 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
3892             }else{
3893 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
3894             }# query params
3895 0 0         if ( exists $args{'folder'}) {
3896 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
3897             }else{
3898 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
3899             }# query params
3900 0 0         if ( exists $args{'storage'}) {
3901 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
3902             }else{
3903 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
3904             }
3905            
3906            
3907 0           my $_body_data;
3908            
3909            
3910            
3911              
3912             # authentication setting, if any
3913 0           my $auth_settings = [];
3914              
3915             # make the API Call
3916 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
3917             $query_params, $form_params,
3918             $header_params, $_body_data, $auth_settings);
3919 0 0         if (!$response) {
3920 0           return;
3921             }
3922              
3923 0 0         if($AsposeSlidesCloud::Configuration::debug){
3924 0           print "\nResponse Content: ".$response->content;
3925             }
3926            
3927 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ShapesResponse', $response->header('content-type'));
3928 0           return $_response_object;
3929            
3930             }
3931             #
3932             # PostAddNewShape
3933             #
3934             #
3935             #
3936             # @param String $name (required)
3937             # @param String $slideIndex (required)
3938             # @param String $folder (optional)
3939             # @param String $storage (optional)
3940             # @param Shape $body (required)
3941             # @return ShapeResponse
3942             #
3943             sub PostAddNewShape {
3944 0     0 0   my ($self, %args) = @_;
3945              
3946            
3947             # verify the required parameter 'name' is set
3948 0 0         unless (exists $args{'name'}) {
3949 0           croak("Missing the required parameter 'name' when calling PostAddNewShape");
3950             }
3951            
3952             # verify the required parameter 'slideIndex' is set
3953 0 0         unless (exists $args{'slideIndex'}) {
3954 0           croak("Missing the required parameter 'slideIndex' when calling PostAddNewShape");
3955             }
3956            
3957             # verify the required parameter 'body' is set
3958 0 0         unless (exists $args{'body'}) {
3959 0           croak("Missing the required parameter 'body' when calling PostAddNewShape");
3960             }
3961            
3962              
3963             # parse inputs
3964 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/shapes/?appSid={appSid}&folder={folder}&storage={storage}';
3965            
3966 0           $_resource_path =~ s/\Q&\E/&/g;
3967 0           $_resource_path =~ s/\Q\/?\E/?/g;
3968 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
3969 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
3970            
3971 0           my $_method = 'POST';
3972 0           my $query_params = {};
3973 0           my $header_params = {};
3974 0           my $form_params = {};
3975              
3976             # 'Accept' and 'Content-Type' header
3977 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
3978 0 0         if ($_header_accept) {
3979 0           $header_params->{'Accept'} = $_header_accept;
3980             }
3981 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
3982              
3983             # query params
3984 0 0         if ( exists $args{'name'}) {
3985 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
3986             }else{
3987 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
3988             }# query params
3989 0 0         if ( exists $args{'slideIndex'}) {
3990 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
3991             }else{
3992 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
3993             }# query params
3994 0 0         if ( exists $args{'folder'}) {
3995 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
3996             }else{
3997 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
3998             }# query params
3999 0 0         if ( exists $args{'storage'}) {
4000 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
4001             }else{
4002 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
4003             }
4004            
4005            
4006 0           my $_body_data;
4007            
4008            
4009             # body params
4010 0 0         if ( exists $args{'body'}) {
4011 0           $_body_data = $args{'body'};
4012             }
4013              
4014             # authentication setting, if any
4015 0           my $auth_settings = [];
4016              
4017             # make the API Call
4018 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
4019             $query_params, $form_params,
4020             $header_params, $_body_data, $auth_settings);
4021 0 0         if (!$response) {
4022 0           return;
4023             }
4024              
4025 0 0         if($AsposeSlidesCloud::Configuration::debug){
4026 0           print "\nResponse Content: ".$response->content;
4027             }
4028            
4029 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ShapeResponse', $response->header('content-type'));
4030 0           return $_response_object;
4031            
4032             }
4033             #
4034             # GetShapeWithFormat
4035             #
4036             #
4037             #
4038             # @param String $name (required)
4039             # @param String $slideIndex (required)
4040             # @param String $shapeIndex (required)
4041             # @param String $format (required)
4042             # @param String $folder (optional)
4043             # @param String $storage (optional)
4044             # @param String $scaleX (optional)
4045             # @param String $scaleY (optional)
4046             # @param String $bounds (optional)
4047             # @return ResponseMessage
4048             #
4049             sub GetShapeWithFormat {
4050 0     0 0   my ($self, %args) = @_;
4051              
4052            
4053             # verify the required parameter 'name' is set
4054 0 0         unless (exists $args{'name'}) {
4055 0           croak("Missing the required parameter 'name' when calling GetShapeWithFormat");
4056             }
4057            
4058             # verify the required parameter 'slideIndex' is set
4059 0 0         unless (exists $args{'slideIndex'}) {
4060 0           croak("Missing the required parameter 'slideIndex' when calling GetShapeWithFormat");
4061             }
4062            
4063             # verify the required parameter 'shapeIndex' is set
4064 0 0         unless (exists $args{'shapeIndex'}) {
4065 0           croak("Missing the required parameter 'shapeIndex' when calling GetShapeWithFormat");
4066             }
4067            
4068             # verify the required parameter 'format' is set
4069 0 0         unless (exists $args{'format'}) {
4070 0           croak("Missing the required parameter 'format' when calling GetShapeWithFormat");
4071             }
4072            
4073              
4074             # parse inputs
4075 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/?toFormat={toFormat}&appSid={appSid}&folder={folder}&storage={storage}&scaleX={scaleX}&scaleY={scaleY}&bounds={bounds}';
4076            
4077 0           $_resource_path =~ s/\Q&\E/&/g;
4078 0           $_resource_path =~ s/\Q\/?\E/?/g;
4079 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
4080 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
4081            
4082 0           my $_method = 'GET';
4083 0           my $query_params = {};
4084 0           my $header_params = {};
4085 0           my $form_params = {};
4086              
4087             # 'Accept' and 'Content-Type' header
4088 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/octet-stream');
4089 0 0         if ($_header_accept) {
4090 0           $header_params->{'Accept'} = $_header_accept;
4091             }
4092 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
4093              
4094             # query params
4095 0 0         if ( exists $args{'name'}) {
4096 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
4097             }else{
4098 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
4099             }# query params
4100 0 0         if ( exists $args{'slideIndex'}) {
4101 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
4102             }else{
4103 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
4104             }# query params
4105 0 0         if ( exists $args{'shapeIndex'}) {
4106 0           $_resource_path =~ s/\Q{shapeIndex}\E/$args{'shapeIndex'}/g;
4107             }else{
4108 0           $_resource_path =~ s/[?&]shapeIndex.*?(?=&|\?|$)//g;
4109             }# query params
4110 0 0         if ( exists $args{'format'}) {
4111 0           $_resource_path =~ s/\Q{format}\E/$args{'format'}/g;
4112             }else{
4113 0           $_resource_path =~ s/[?&]format.*?(?=&|\?|$)//g;
4114             }# query params
4115 0 0         if ( exists $args{'folder'}) {
4116 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
4117             }else{
4118 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
4119             }# query params
4120 0 0         if ( exists $args{'storage'}) {
4121 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
4122             }else{
4123 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
4124             }# query params
4125 0 0         if ( exists $args{'scaleX'}) {
4126 0           $_resource_path =~ s/\Q{scaleX}\E/$args{'scaleX'}/g;
4127             }else{
4128 0           $_resource_path =~ s/[?&]scaleX.*?(?=&|\?|$)//g;
4129             }# query params
4130 0 0         if ( exists $args{'scaleY'}) {
4131 0           $_resource_path =~ s/\Q{scaleY}\E/$args{'scaleY'}/g;
4132             }else{
4133 0           $_resource_path =~ s/[?&]scaleY.*?(?=&|\?|$)//g;
4134             }# query params
4135 0 0         if ( exists $args{'bounds'}) {
4136 0           $_resource_path =~ s/\Q{bounds}\E/$args{'bounds'}/g;
4137             }else{
4138 0           $_resource_path =~ s/[?&]bounds.*?(?=&|\?|$)//g;
4139             }
4140            
4141            
4142 0           my $_body_data;
4143            
4144            
4145            
4146              
4147             # authentication setting, if any
4148 0           my $auth_settings = [];
4149              
4150             # make the API Call
4151 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
4152             $query_params, $form_params,
4153             $header_params, $_body_data, $auth_settings);
4154 0 0         if (!$response) {
4155 0           return;
4156             }
4157              
4158 0 0         if($AsposeSlidesCloud::Configuration::debug){
4159 0           print "\nResponse Content: ".$response->content;
4160             }
4161            
4162 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
4163 0           return $_response_object;
4164            
4165             }
4166             #
4167             # GetSlideShapeParagraphs
4168             #
4169             #
4170             #
4171             # @param String $name (required)
4172             # @param String $slideIndex (required)
4173             # @param String $shapeIndex (required)
4174             # @param String $folder (optional)
4175             # @param String $storage (optional)
4176             # @return ShapesResponse
4177             #
4178             sub GetSlideShapeParagraphs {
4179 0     0 0   my ($self, %args) = @_;
4180              
4181            
4182             # verify the required parameter 'name' is set
4183 0 0         unless (exists $args{'name'}) {
4184 0           croak("Missing the required parameter 'name' when calling GetSlideShapeParagraphs");
4185             }
4186            
4187             # verify the required parameter 'slideIndex' is set
4188 0 0         unless (exists $args{'slideIndex'}) {
4189 0           croak("Missing the required parameter 'slideIndex' when calling GetSlideShapeParagraphs");
4190             }
4191            
4192             # verify the required parameter 'shapeIndex' is set
4193 0 0         unless (exists $args{'shapeIndex'}) {
4194 0           croak("Missing the required parameter 'shapeIndex' when calling GetSlideShapeParagraphs");
4195             }
4196            
4197              
4198             # parse inputs
4199 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/?appSid={appSid}&folder={folder}&storage={storage}';
4200            
4201 0           $_resource_path =~ s/\Q&\E/&/g;
4202 0           $_resource_path =~ s/\Q\/?\E/?/g;
4203 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
4204 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
4205            
4206 0           my $_method = 'GET';
4207 0           my $query_params = {};
4208 0           my $header_params = {};
4209 0           my $form_params = {};
4210              
4211             # 'Accept' and 'Content-Type' header
4212 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
4213 0 0         if ($_header_accept) {
4214 0           $header_params->{'Accept'} = $_header_accept;
4215             }
4216 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
4217              
4218             # query params
4219 0 0         if ( exists $args{'name'}) {
4220 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
4221             }else{
4222 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
4223             }# query params
4224 0 0         if ( exists $args{'slideIndex'}) {
4225 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
4226             }else{
4227 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
4228             }# query params
4229 0 0         if ( exists $args{'shapeIndex'}) {
4230 0           $_resource_path =~ s/\Q{shapeIndex}\E/$args{'shapeIndex'}/g;
4231             }else{
4232 0           $_resource_path =~ s/[?&]shapeIndex.*?(?=&|\?|$)//g;
4233             }# query params
4234 0 0         if ( exists $args{'folder'}) {
4235 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
4236             }else{
4237 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
4238             }# query params
4239 0 0         if ( exists $args{'storage'}) {
4240 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
4241             }else{
4242 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
4243             }
4244            
4245            
4246 0           my $_body_data;
4247            
4248            
4249            
4250              
4251             # authentication setting, if any
4252 0           my $auth_settings = [];
4253              
4254             # make the API Call
4255 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
4256             $query_params, $form_params,
4257             $header_params, $_body_data, $auth_settings);
4258 0 0         if (!$response) {
4259 0           return;
4260             }
4261              
4262 0 0         if($AsposeSlidesCloud::Configuration::debug){
4263 0           print "\nResponse Content: ".$response->content;
4264             }
4265            
4266 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ShapesResponse', $response->header('content-type'));
4267 0           return $_response_object;
4268            
4269             }
4270             #
4271             # GetShapeParagraph
4272             #
4273             #
4274             #
4275             # @param String $name (required)
4276             # @param String $slideIndex (required)
4277             # @param String $shapeIndex (required)
4278             # @param String $paragraphIndex (required)
4279             # @param String $folder (optional)
4280             # @param String $storage (optional)
4281             # @return ResponseMessage
4282             #
4283             sub GetShapeParagraph {
4284 0     0 0   my ($self, %args) = @_;
4285              
4286            
4287             # verify the required parameter 'name' is set
4288 0 0         unless (exists $args{'name'}) {
4289 0           croak("Missing the required parameter 'name' when calling GetShapeParagraph");
4290             }
4291            
4292             # verify the required parameter 'slideIndex' is set
4293 0 0         unless (exists $args{'slideIndex'}) {
4294 0           croak("Missing the required parameter 'slideIndex' when calling GetShapeParagraph");
4295             }
4296            
4297             # verify the required parameter 'shapeIndex' is set
4298 0 0         unless (exists $args{'shapeIndex'}) {
4299 0           croak("Missing the required parameter 'shapeIndex' when calling GetShapeParagraph");
4300             }
4301            
4302             # verify the required parameter 'paragraphIndex' is set
4303 0 0         unless (exists $args{'paragraphIndex'}) {
4304 0           croak("Missing the required parameter 'paragraphIndex' when calling GetShapeParagraph");
4305             }
4306            
4307              
4308             # parse inputs
4309 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/?appSid={appSid}&folder={folder}&storage={storage}';
4310            
4311 0           $_resource_path =~ s/\Q&\E/&/g;
4312 0           $_resource_path =~ s/\Q\/?\E/?/g;
4313 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
4314 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
4315            
4316 0           my $_method = 'GET';
4317 0           my $query_params = {};
4318 0           my $header_params = {};
4319 0           my $form_params = {};
4320              
4321             # 'Accept' and 'Content-Type' header
4322 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
4323 0 0         if ($_header_accept) {
4324 0           $header_params->{'Accept'} = $_header_accept;
4325             }
4326 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
4327              
4328             # query params
4329 0 0         if ( exists $args{'name'}) {
4330 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
4331             }else{
4332 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
4333             }# query params
4334 0 0         if ( exists $args{'slideIndex'}) {
4335 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
4336             }else{
4337 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
4338             }# query params
4339 0 0         if ( exists $args{'shapeIndex'}) {
4340 0           $_resource_path =~ s/\Q{shapeIndex}\E/$args{'shapeIndex'}/g;
4341             }else{
4342 0           $_resource_path =~ s/[?&]shapeIndex.*?(?=&|\?|$)//g;
4343             }# query params
4344 0 0         if ( exists $args{'paragraphIndex'}) {
4345 0           $_resource_path =~ s/\Q{paragraphIndex}\E/$args{'paragraphIndex'}/g;
4346             }else{
4347 0           $_resource_path =~ s/[?&]paragraphIndex.*?(?=&|\?|$)//g;
4348             }# query params
4349 0 0         if ( exists $args{'folder'}) {
4350 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
4351             }else{
4352 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
4353             }# query params
4354 0 0         if ( exists $args{'storage'}) {
4355 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
4356             }else{
4357 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
4358             }
4359            
4360            
4361 0           my $_body_data;
4362            
4363            
4364            
4365              
4366             # authentication setting, if any
4367 0           my $auth_settings = [];
4368              
4369             # make the API Call
4370 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
4371             $query_params, $form_params,
4372             $header_params, $_body_data, $auth_settings);
4373 0 0         if (!$response) {
4374 0           return;
4375             }
4376              
4377 0 0         if($AsposeSlidesCloud::Configuration::debug){
4378 0           print "\nResponse Content: ".$response->content;
4379             }
4380            
4381 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
4382 0           return $_response_object;
4383            
4384             }
4385             #
4386             # GetParagraphPortion
4387             #
4388             #
4389             #
4390             # @param String $name (required)
4391             # @param String $slideIndex (required)
4392             # @param String $shapeIndex (required)
4393             # @param String $paragraphIndex (required)
4394             # @param String $portionIndex (required)
4395             # @param String $folder (optional)
4396             # @param String $storage (optional)
4397             # @return PortionResponse
4398             #
4399             sub GetParagraphPortion {
4400 0     0 0   my ($self, %args) = @_;
4401              
4402            
4403             # verify the required parameter 'name' is set
4404 0 0         unless (exists $args{'name'}) {
4405 0           croak("Missing the required parameter 'name' when calling GetParagraphPortion");
4406             }
4407            
4408             # verify the required parameter 'slideIndex' is set
4409 0 0         unless (exists $args{'slideIndex'}) {
4410 0           croak("Missing the required parameter 'slideIndex' when calling GetParagraphPortion");
4411             }
4412            
4413             # verify the required parameter 'shapeIndex' is set
4414 0 0         unless (exists $args{'shapeIndex'}) {
4415 0           croak("Missing the required parameter 'shapeIndex' when calling GetParagraphPortion");
4416             }
4417            
4418             # verify the required parameter 'paragraphIndex' is set
4419 0 0         unless (exists $args{'paragraphIndex'}) {
4420 0           croak("Missing the required parameter 'paragraphIndex' when calling GetParagraphPortion");
4421             }
4422            
4423             # verify the required parameter 'portionIndex' is set
4424 0 0         unless (exists $args{'portionIndex'}) {
4425 0           croak("Missing the required parameter 'portionIndex' when calling GetParagraphPortion");
4426             }
4427            
4428              
4429             # parse inputs
4430 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/?appSid={appSid}&folder={folder}&storage={storage}';
4431            
4432 0           $_resource_path =~ s/\Q&\E/&/g;
4433 0           $_resource_path =~ s/\Q\/?\E/?/g;
4434 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
4435 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
4436            
4437 0           my $_method = 'GET';
4438 0           my $query_params = {};
4439 0           my $header_params = {};
4440 0           my $form_params = {};
4441              
4442             # 'Accept' and 'Content-Type' header
4443 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
4444 0 0         if ($_header_accept) {
4445 0           $header_params->{'Accept'} = $_header_accept;
4446             }
4447 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
4448              
4449             # query params
4450 0 0         if ( exists $args{'name'}) {
4451 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
4452             }else{
4453 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
4454             }# query params
4455 0 0         if ( exists $args{'slideIndex'}) {
4456 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
4457             }else{
4458 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
4459             }# query params
4460 0 0         if ( exists $args{'shapeIndex'}) {
4461 0           $_resource_path =~ s/\Q{shapeIndex}\E/$args{'shapeIndex'}/g;
4462             }else{
4463 0           $_resource_path =~ s/[?&]shapeIndex.*?(?=&|\?|$)//g;
4464             }# query params
4465 0 0         if ( exists $args{'paragraphIndex'}) {
4466 0           $_resource_path =~ s/\Q{paragraphIndex}\E/$args{'paragraphIndex'}/g;
4467             }else{
4468 0           $_resource_path =~ s/[?&]paragraphIndex.*?(?=&|\?|$)//g;
4469             }# query params
4470 0 0         if ( exists $args{'portionIndex'}) {
4471 0           $_resource_path =~ s/\Q{portionIndex}\E/$args{'portionIndex'}/g;
4472             }else{
4473 0           $_resource_path =~ s/[?&]portionIndex.*?(?=&|\?|$)//g;
4474             }# query params
4475 0 0         if ( exists $args{'folder'}) {
4476 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
4477             }else{
4478 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
4479             }# query params
4480 0 0         if ( exists $args{'storage'}) {
4481 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
4482             }else{
4483 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
4484             }
4485            
4486            
4487 0           my $_body_data;
4488            
4489            
4490            
4491              
4492             # authentication setting, if any
4493 0           my $auth_settings = [];
4494              
4495             # make the API Call
4496 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
4497             $query_params, $form_params,
4498             $header_params, $_body_data, $auth_settings);
4499 0 0         if (!$response) {
4500 0           return;
4501             }
4502              
4503 0 0         if($AsposeSlidesCloud::Configuration::debug){
4504 0           print "\nResponse Content: ".$response->content;
4505             }
4506            
4507 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'PortionResponse', $response->header('content-type'));
4508 0           return $_response_object;
4509            
4510             }
4511             #
4512             # PutSetParagraphPortionProperties
4513             #
4514             #
4515             #
4516             # @param String $name (required)
4517             # @param String $slideIndex (required)
4518             # @param String $shapeIndex (required)
4519             # @param String $paragraphIndex (required)
4520             # @param String $portionIndex (required)
4521             # @param String $folder (optional)
4522             # @param String $storage (optional)
4523             # @param Portion $body (required)
4524             # @return PortionResponse
4525             #
4526             sub PutSetParagraphPortionProperties {
4527 0     0 0   my ($self, %args) = @_;
4528              
4529            
4530             # verify the required parameter 'name' is set
4531 0 0         unless (exists $args{'name'}) {
4532 0           croak("Missing the required parameter 'name' when calling PutSetParagraphPortionProperties");
4533             }
4534            
4535             # verify the required parameter 'slideIndex' is set
4536 0 0         unless (exists $args{'slideIndex'}) {
4537 0           croak("Missing the required parameter 'slideIndex' when calling PutSetParagraphPortionProperties");
4538             }
4539            
4540             # verify the required parameter 'shapeIndex' is set
4541 0 0         unless (exists $args{'shapeIndex'}) {
4542 0           croak("Missing the required parameter 'shapeIndex' when calling PutSetParagraphPortionProperties");
4543             }
4544            
4545             # verify the required parameter 'paragraphIndex' is set
4546 0 0         unless (exists $args{'paragraphIndex'}) {
4547 0           croak("Missing the required parameter 'paragraphIndex' when calling PutSetParagraphPortionProperties");
4548             }
4549            
4550             # verify the required parameter 'portionIndex' is set
4551 0 0         unless (exists $args{'portionIndex'}) {
4552 0           croak("Missing the required parameter 'portionIndex' when calling PutSetParagraphPortionProperties");
4553             }
4554            
4555             # verify the required parameter 'body' is set
4556 0 0         unless (exists $args{'body'}) {
4557 0           croak("Missing the required parameter 'body' when calling PutSetParagraphPortionProperties");
4558             }
4559            
4560              
4561             # parse inputs
4562 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/?appSid={appSid}&folder={folder}&storage={storage}';
4563            
4564 0           $_resource_path =~ s/\Q&\E/&/g;
4565 0           $_resource_path =~ s/\Q\/?\E/?/g;
4566 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
4567 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
4568            
4569 0           my $_method = 'PUT';
4570 0           my $query_params = {};
4571 0           my $header_params = {};
4572 0           my $form_params = {};
4573              
4574             # 'Accept' and 'Content-Type' header
4575 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
4576 0 0         if ($_header_accept) {
4577 0           $header_params->{'Accept'} = $_header_accept;
4578             }
4579 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
4580              
4581             # query params
4582 0 0         if ( exists $args{'name'}) {
4583 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
4584             }else{
4585 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
4586             }# query params
4587 0 0         if ( exists $args{'slideIndex'}) {
4588 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
4589             }else{
4590 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
4591             }# query params
4592 0 0         if ( exists $args{'shapeIndex'}) {
4593 0           $_resource_path =~ s/\Q{shapeIndex}\E/$args{'shapeIndex'}/g;
4594             }else{
4595 0           $_resource_path =~ s/[?&]shapeIndex.*?(?=&|\?|$)//g;
4596             }# query params
4597 0 0         if ( exists $args{'paragraphIndex'}) {
4598 0           $_resource_path =~ s/\Q{paragraphIndex}\E/$args{'paragraphIndex'}/g;
4599             }else{
4600 0           $_resource_path =~ s/[?&]paragraphIndex.*?(?=&|\?|$)//g;
4601             }# query params
4602 0 0         if ( exists $args{'portionIndex'}) {
4603 0           $_resource_path =~ s/\Q{portionIndex}\E/$args{'portionIndex'}/g;
4604             }else{
4605 0           $_resource_path =~ s/[?&]portionIndex.*?(?=&|\?|$)//g;
4606             }# query params
4607 0 0         if ( exists $args{'folder'}) {
4608 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
4609             }else{
4610 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
4611             }# query params
4612 0 0         if ( exists $args{'storage'}) {
4613 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
4614             }else{
4615 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
4616             }
4617            
4618            
4619 0           my $_body_data;
4620            
4621            
4622             # body params
4623 0 0         if ( exists $args{'body'}) {
4624 0           $_body_data = $args{'body'};
4625             }
4626              
4627             # authentication setting, if any
4628 0           my $auth_settings = [];
4629              
4630             # make the API Call
4631 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
4632             $query_params, $form_params,
4633             $header_params, $_body_data, $auth_settings);
4634 0 0         if (!$response) {
4635 0           return;
4636             }
4637              
4638 0 0         if($AsposeSlidesCloud::Configuration::debug){
4639 0           print "\nResponse Content: ".$response->content;
4640             }
4641            
4642 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'PortionResponse', $response->header('content-type'));
4643 0           return $_response_object;
4644            
4645             }
4646             #
4647             # GetSlidesSlideShapesParent
4648             #
4649             #
4650             #
4651             # @param String $name (required)
4652             # @param String $slideIndex (required)
4653             # @param String $shapePath (required)
4654             # @param String $folder (optional)
4655             # @param String $storage (optional)
4656             # @return ShapeResponse
4657             #
4658             sub GetSlidesSlideShapesParent {
4659 0     0 0   my ($self, %args) = @_;
4660              
4661            
4662             # verify the required parameter 'name' is set
4663 0 0         unless (exists $args{'name'}) {
4664 0           croak("Missing the required parameter 'name' when calling GetSlidesSlideShapesParent");
4665             }
4666            
4667             # verify the required parameter 'slideIndex' is set
4668 0 0         unless (exists $args{'slideIndex'}) {
4669 0           croak("Missing the required parameter 'slideIndex' when calling GetSlidesSlideShapesParent");
4670             }
4671            
4672             # verify the required parameter 'shapePath' is set
4673 0 0         unless (exists $args{'shapePath'}) {
4674 0           croak("Missing the required parameter 'shapePath' when calling GetSlidesSlideShapesParent");
4675             }
4676            
4677              
4678             # parse inputs
4679 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapePath}/?appSid={appSid}&folder={folder}&storage={storage}';
4680            
4681 0           $_resource_path =~ s/\Q&\E/&/g;
4682 0           $_resource_path =~ s/\Q\/?\E/?/g;
4683 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
4684 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
4685            
4686 0           my $_method = 'GET';
4687 0           my $query_params = {};
4688 0           my $header_params = {};
4689 0           my $form_params = {};
4690              
4691             # 'Accept' and 'Content-Type' header
4692 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
4693 0 0         if ($_header_accept) {
4694 0           $header_params->{'Accept'} = $_header_accept;
4695             }
4696 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
4697              
4698             # query params
4699 0 0         if ( exists $args{'name'}) {
4700 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
4701             }else{
4702 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
4703             }# query params
4704 0 0         if ( exists $args{'slideIndex'}) {
4705 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
4706             }else{
4707 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
4708             }# query params
4709 0 0         if ( exists $args{'shapePath'}) {
4710 0           $_resource_path =~ s/\Q{shapePath}\E/$args{'shapePath'}/g;
4711             }else{
4712 0           $_resource_path =~ s/[?&]shapePath.*?(?=&|\?|$)//g;
4713             }# query params
4714 0 0         if ( exists $args{'folder'}) {
4715 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
4716             }else{
4717 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
4718             }# query params
4719 0 0         if ( exists $args{'storage'}) {
4720 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
4721             }else{
4722 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
4723             }
4724            
4725            
4726 0           my $_body_data;
4727            
4728            
4729            
4730              
4731             # authentication setting, if any
4732 0           my $auth_settings = [];
4733              
4734             # make the API Call
4735 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
4736             $query_params, $form_params,
4737             $header_params, $_body_data, $auth_settings);
4738 0 0         if (!$response) {
4739 0           return;
4740             }
4741              
4742 0 0         if($AsposeSlidesCloud::Configuration::debug){
4743 0           print "\nResponse Content: ".$response->content;
4744             }
4745            
4746 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ShapeResponse', $response->header('content-type'));
4747 0           return $_response_object;
4748            
4749             }
4750             #
4751             # PutSlideShapeInfo
4752             #
4753             #
4754             #
4755             # @param String $name (required)
4756             # @param String $slideIndex (required)
4757             # @param String $shapePath (required)
4758             # @param String $folder (optional)
4759             # @param String $storage (optional)
4760             # @param Shape $body (required)
4761             # @return ShapeResponse
4762             #
4763             sub PutSlideShapeInfo {
4764 0     0 0   my ($self, %args) = @_;
4765              
4766            
4767             # verify the required parameter 'name' is set
4768 0 0         unless (exists $args{'name'}) {
4769 0           croak("Missing the required parameter 'name' when calling PutSlideShapeInfo");
4770             }
4771            
4772             # verify the required parameter 'slideIndex' is set
4773 0 0         unless (exists $args{'slideIndex'}) {
4774 0           croak("Missing the required parameter 'slideIndex' when calling PutSlideShapeInfo");
4775             }
4776            
4777             # verify the required parameter 'shapePath' is set
4778 0 0         unless (exists $args{'shapePath'}) {
4779 0           croak("Missing the required parameter 'shapePath' when calling PutSlideShapeInfo");
4780             }
4781            
4782             # verify the required parameter 'body' is set
4783 0 0         unless (exists $args{'body'}) {
4784 0           croak("Missing the required parameter 'body' when calling PutSlideShapeInfo");
4785             }
4786            
4787              
4788             # parse inputs
4789 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapePath}/?appSid={appSid}&folder={folder}&storage={storage}';
4790            
4791 0           $_resource_path =~ s/\Q&\E/&/g;
4792 0           $_resource_path =~ s/\Q\/?\E/?/g;
4793 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
4794 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
4795            
4796 0           my $_method = 'PUT';
4797 0           my $query_params = {};
4798 0           my $header_params = {};
4799 0           my $form_params = {};
4800              
4801             # 'Accept' and 'Content-Type' header
4802 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
4803 0 0         if ($_header_accept) {
4804 0           $header_params->{'Accept'} = $_header_accept;
4805             }
4806 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
4807              
4808             # query params
4809 0 0         if ( exists $args{'name'}) {
4810 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
4811             }else{
4812 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
4813             }# query params
4814 0 0         if ( exists $args{'slideIndex'}) {
4815 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
4816             }else{
4817 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
4818             }# query params
4819 0 0         if ( exists $args{'shapePath'}) {
4820 0           $_resource_path =~ s/\Q{shapePath}\E/$args{'shapePath'}/g;
4821             }else{
4822 0           $_resource_path =~ s/[?&]shapePath.*?(?=&|\?|$)//g;
4823             }# query params
4824 0 0         if ( exists $args{'folder'}) {
4825 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
4826             }else{
4827 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
4828             }# query params
4829 0 0         if ( exists $args{'storage'}) {
4830 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
4831             }else{
4832 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
4833             }
4834            
4835            
4836 0           my $_body_data;
4837            
4838            
4839             # body params
4840 0 0         if ( exists $args{'body'}) {
4841 0           $_body_data = $args{'body'};
4842             }
4843              
4844             # authentication setting, if any
4845 0           my $auth_settings = [];
4846              
4847             # make the API Call
4848 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
4849             $query_params, $form_params,
4850             $header_params, $_body_data, $auth_settings);
4851 0 0         if (!$response) {
4852 0           return;
4853             }
4854              
4855 0 0         if($AsposeSlidesCloud::Configuration::debug){
4856 0           print "\nResponse Content: ".$response->content;
4857             }
4858            
4859 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ShapeResponse', $response->header('content-type'));
4860 0           return $_response_object;
4861            
4862             }
4863             #
4864             # GetSlidesSlideTextItems
4865             #
4866             #
4867             #
4868             # @param String $name (required)
4869             # @param String $slideIndex (required)
4870             # @param Boolean $withEmpty (optional)
4871             # @param String $folder (optional)
4872             # @param String $storage (optional)
4873             # @return TextItemsResponse
4874             #
4875             sub GetSlidesSlideTextItems {
4876 0     0 0   my ($self, %args) = @_;
4877              
4878            
4879             # verify the required parameter 'name' is set
4880 0 0         unless (exists $args{'name'}) {
4881 0           croak("Missing the required parameter 'name' when calling GetSlidesSlideTextItems");
4882             }
4883            
4884             # verify the required parameter 'slideIndex' is set
4885 0 0         unless (exists $args{'slideIndex'}) {
4886 0           croak("Missing the required parameter 'slideIndex' when calling GetSlidesSlideTextItems");
4887             }
4888            
4889              
4890             # parse inputs
4891 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/textItems/?appSid={appSid}&withEmpty={withEmpty}&folder={folder}&storage={storage}';
4892            
4893 0           $_resource_path =~ s/\Q&\E/&/g;
4894 0           $_resource_path =~ s/\Q\/?\E/?/g;
4895 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
4896 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
4897            
4898 0           my $_method = 'GET';
4899 0           my $query_params = {};
4900 0           my $header_params = {};
4901 0           my $form_params = {};
4902              
4903             # 'Accept' and 'Content-Type' header
4904 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
4905 0 0         if ($_header_accept) {
4906 0           $header_params->{'Accept'} = $_header_accept;
4907             }
4908 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
4909              
4910             # query params
4911 0 0         if ( exists $args{'name'}) {
4912 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
4913             }else{
4914 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
4915             }# query params
4916 0 0         if ( exists $args{'slideIndex'}) {
4917 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
4918             }else{
4919 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
4920             }# query params
4921 0 0         if ( exists $args{'withEmpty'}) {
4922 0           $_resource_path =~ s/\Q{withEmpty}\E/$args{'withEmpty'}/g;
4923             }else{
4924 0           $_resource_path =~ s/[?&]withEmpty.*?(?=&|\?|$)//g;
4925             }# query params
4926 0 0         if ( exists $args{'folder'}) {
4927 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
4928             }else{
4929 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
4930             }# query params
4931 0 0         if ( exists $args{'storage'}) {
4932 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
4933             }else{
4934 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
4935             }
4936            
4937            
4938 0           my $_body_data;
4939            
4940            
4941            
4942              
4943             # authentication setting, if any
4944 0           my $auth_settings = [];
4945              
4946             # make the API Call
4947 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
4948             $query_params, $form_params,
4949             $header_params, $_body_data, $auth_settings);
4950 0 0         if (!$response) {
4951 0           return;
4952             }
4953              
4954 0 0         if($AsposeSlidesCloud::Configuration::debug){
4955 0           print "\nResponse Content: ".$response->content;
4956             }
4957            
4958 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'TextItemsResponse', $response->header('content-type'));
4959 0           return $_response_object;
4960            
4961             }
4962             #
4963             # GetSlidesTheme
4964             #
4965             #
4966             #
4967             # @param String $name (required)
4968             # @param String $slideIndex (required)
4969             # @param String $folder (optional)
4970             # @param String $storage (optional)
4971             # @return ThemeResponse
4972             #
4973             sub GetSlidesTheme {
4974 0     0 0   my ($self, %args) = @_;
4975              
4976            
4977             # verify the required parameter 'name' is set
4978 0 0         unless (exists $args{'name'}) {
4979 0           croak("Missing the required parameter 'name' when calling GetSlidesTheme");
4980             }
4981            
4982             # verify the required parameter 'slideIndex' is set
4983 0 0         unless (exists $args{'slideIndex'}) {
4984 0           croak("Missing the required parameter 'slideIndex' when calling GetSlidesTheme");
4985             }
4986            
4987              
4988             # parse inputs
4989 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/theme/?appSid={appSid}&folder={folder}&storage={storage}';
4990            
4991 0           $_resource_path =~ s/\Q&\E/&/g;
4992 0           $_resource_path =~ s/\Q\/?\E/?/g;
4993 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
4994 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
4995            
4996 0           my $_method = 'GET';
4997 0           my $query_params = {};
4998 0           my $header_params = {};
4999 0           my $form_params = {};
5000              
5001             # 'Accept' and 'Content-Type' header
5002 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
5003 0 0         if ($_header_accept) {
5004 0           $header_params->{'Accept'} = $_header_accept;
5005             }
5006 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
5007              
5008             # query params
5009 0 0         if ( exists $args{'name'}) {
5010 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
5011             }else{
5012 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
5013             }# query params
5014 0 0         if ( exists $args{'slideIndex'}) {
5015 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
5016             }else{
5017 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
5018             }# query params
5019 0 0         if ( exists $args{'folder'}) {
5020 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
5021             }else{
5022 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
5023             }# query params
5024 0 0         if ( exists $args{'storage'}) {
5025 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
5026             }else{
5027 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
5028             }
5029            
5030            
5031 0           my $_body_data;
5032            
5033            
5034            
5035              
5036             # authentication setting, if any
5037 0           my $auth_settings = [];
5038              
5039             # make the API Call
5040 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
5041             $query_params, $form_params,
5042             $header_params, $_body_data, $auth_settings);
5043 0 0         if (!$response) {
5044 0           return;
5045             }
5046              
5047 0 0         if($AsposeSlidesCloud::Configuration::debug){
5048 0           print "\nResponse Content: ".$response->content;
5049             }
5050            
5051 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ThemeResponse', $response->header('content-type'));
5052 0           return $_response_object;
5053            
5054             }
5055             #
5056             # GetSlidesThemeColorScheme
5057             #
5058             #
5059             #
5060             # @param String $name (required)
5061             # @param String $slideIndex (required)
5062             # @param String $folder (optional)
5063             # @param String $storage (optional)
5064             # @return ColorSchemeResponse
5065             #
5066             sub GetSlidesThemeColorScheme {
5067 0     0 0   my ($self, %args) = @_;
5068              
5069            
5070             # verify the required parameter 'name' is set
5071 0 0         unless (exists $args{'name'}) {
5072 0           croak("Missing the required parameter 'name' when calling GetSlidesThemeColorScheme");
5073             }
5074            
5075             # verify the required parameter 'slideIndex' is set
5076 0 0         unless (exists $args{'slideIndex'}) {
5077 0           croak("Missing the required parameter 'slideIndex' when calling GetSlidesThemeColorScheme");
5078             }
5079            
5080              
5081             # parse inputs
5082 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/theme/colorScheme/?appSid={appSid}&folder={folder}&storage={storage}';
5083            
5084 0           $_resource_path =~ s/\Q&\E/&/g;
5085 0           $_resource_path =~ s/\Q\/?\E/?/g;
5086 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
5087 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
5088            
5089 0           my $_method = 'GET';
5090 0           my $query_params = {};
5091 0           my $header_params = {};
5092 0           my $form_params = {};
5093              
5094             # 'Accept' and 'Content-Type' header
5095 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
5096 0 0         if ($_header_accept) {
5097 0           $header_params->{'Accept'} = $_header_accept;
5098             }
5099 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
5100              
5101             # query params
5102 0 0         if ( exists $args{'name'}) {
5103 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
5104             }else{
5105 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
5106             }# query params
5107 0 0         if ( exists $args{'slideIndex'}) {
5108 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
5109             }else{
5110 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
5111             }# query params
5112 0 0         if ( exists $args{'folder'}) {
5113 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
5114             }else{
5115 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
5116             }# query params
5117 0 0         if ( exists $args{'storage'}) {
5118 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
5119             }else{
5120 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
5121             }
5122            
5123            
5124 0           my $_body_data;
5125            
5126            
5127            
5128              
5129             # authentication setting, if any
5130 0           my $auth_settings = [];
5131              
5132             # make the API Call
5133 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
5134             $query_params, $form_params,
5135             $header_params, $_body_data, $auth_settings);
5136 0 0         if (!$response) {
5137 0           return;
5138             }
5139              
5140 0 0         if($AsposeSlidesCloud::Configuration::debug){
5141 0           print "\nResponse Content: ".$response->content;
5142             }
5143            
5144 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ColorSchemeResponse', $response->header('content-type'));
5145 0           return $_response_object;
5146            
5147             }
5148             #
5149             # GetSlidesThemeFontScheme
5150             #
5151             #
5152             #
5153             # @param String $name (required)
5154             # @param String $slideIndex (required)
5155             # @param String $folder (optional)
5156             # @param String $storage (optional)
5157             # @return FontSchemeResponse
5158             #
5159             sub GetSlidesThemeFontScheme {
5160 0     0 0   my ($self, %args) = @_;
5161              
5162            
5163             # verify the required parameter 'name' is set
5164 0 0         unless (exists $args{'name'}) {
5165 0           croak("Missing the required parameter 'name' when calling GetSlidesThemeFontScheme");
5166             }
5167            
5168             # verify the required parameter 'slideIndex' is set
5169 0 0         unless (exists $args{'slideIndex'}) {
5170 0           croak("Missing the required parameter 'slideIndex' when calling GetSlidesThemeFontScheme");
5171             }
5172            
5173              
5174             # parse inputs
5175 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/theme/fontScheme/?appSid={appSid}&folder={folder}&storage={storage}';
5176            
5177 0           $_resource_path =~ s/\Q&\E/&/g;
5178 0           $_resource_path =~ s/\Q\/?\E/?/g;
5179 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
5180 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
5181            
5182 0           my $_method = 'GET';
5183 0           my $query_params = {};
5184 0           my $header_params = {};
5185 0           my $form_params = {};
5186              
5187             # 'Accept' and 'Content-Type' header
5188 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
5189 0 0         if ($_header_accept) {
5190 0           $header_params->{'Accept'} = $_header_accept;
5191             }
5192 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
5193              
5194             # query params
5195 0 0         if ( exists $args{'name'}) {
5196 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
5197             }else{
5198 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
5199             }# query params
5200 0 0         if ( exists $args{'slideIndex'}) {
5201 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
5202             }else{
5203 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
5204             }# query params
5205 0 0         if ( exists $args{'folder'}) {
5206 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
5207             }else{
5208 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
5209             }# query params
5210 0 0         if ( exists $args{'storage'}) {
5211 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
5212             }else{
5213 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
5214             }
5215            
5216            
5217 0           my $_body_data;
5218            
5219            
5220            
5221              
5222             # authentication setting, if any
5223 0           my $auth_settings = [];
5224              
5225             # make the API Call
5226 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
5227             $query_params, $form_params,
5228             $header_params, $_body_data, $auth_settings);
5229 0 0         if (!$response) {
5230 0           return;
5231             }
5232              
5233 0 0         if($AsposeSlidesCloud::Configuration::debug){
5234 0           print "\nResponse Content: ".$response->content;
5235             }
5236            
5237 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'FontSchemeResponse', $response->header('content-type'));
5238 0           return $_response_object;
5239            
5240             }
5241             #
5242             # GetSlidesThemeFormatScheme
5243             #
5244             #
5245             #
5246             # @param String $name (required)
5247             # @param String $slideIndex (required)
5248             # @param String $folder (optional)
5249             # @param String $storage (optional)
5250             # @return FormatSchemeResponse
5251             #
5252             sub GetSlidesThemeFormatScheme {
5253 0     0 0   my ($self, %args) = @_;
5254              
5255            
5256             # verify the required parameter 'name' is set
5257 0 0         unless (exists $args{'name'}) {
5258 0           croak("Missing the required parameter 'name' when calling GetSlidesThemeFormatScheme");
5259             }
5260            
5261             # verify the required parameter 'slideIndex' is set
5262 0 0         unless (exists $args{'slideIndex'}) {
5263 0           croak("Missing the required parameter 'slideIndex' when calling GetSlidesThemeFormatScheme");
5264             }
5265            
5266              
5267             # parse inputs
5268 0           my $_resource_path = '/slides/{name}/slides/{slideIndex}/theme/formatScheme/?appSid={appSid}&folder={folder}&storage={storage}';
5269            
5270 0           $_resource_path =~ s/\Q&\E/&/g;
5271 0           $_resource_path =~ s/\Q\/?\E/?/g;
5272 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
5273 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
5274            
5275 0           my $_method = 'GET';
5276 0           my $query_params = {};
5277 0           my $header_params = {};
5278 0           my $form_params = {};
5279              
5280             # 'Accept' and 'Content-Type' header
5281 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
5282 0 0         if ($_header_accept) {
5283 0           $header_params->{'Accept'} = $_header_accept;
5284             }
5285 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
5286              
5287             # query params
5288 0 0         if ( exists $args{'name'}) {
5289 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
5290             }else{
5291 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
5292             }# query params
5293 0 0         if ( exists $args{'slideIndex'}) {
5294 0           $_resource_path =~ s/\Q{slideIndex}\E/$args{'slideIndex'}/g;
5295             }else{
5296 0           $_resource_path =~ s/[?&]slideIndex.*?(?=&|\?|$)//g;
5297             }# query params
5298 0 0         if ( exists $args{'folder'}) {
5299 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
5300             }else{
5301 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
5302             }# query params
5303 0 0         if ( exists $args{'storage'}) {
5304 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
5305             }else{
5306 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
5307             }
5308            
5309            
5310 0           my $_body_data;
5311            
5312            
5313            
5314              
5315             # authentication setting, if any
5316 0           my $auth_settings = [];
5317              
5318             # make the API Call
5319 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
5320             $query_params, $form_params,
5321             $header_params, $_body_data, $auth_settings);
5322 0 0         if (!$response) {
5323 0           return;
5324             }
5325              
5326 0 0         if($AsposeSlidesCloud::Configuration::debug){
5327 0           print "\nResponse Content: ".$response->content;
5328             }
5329            
5330 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'FormatSchemeResponse', $response->header('content-type'));
5331 0           return $_response_object;
5332            
5333             }
5334             #
5335             # PostSlidesSplit
5336             #
5337             #
5338             #
5339             # @param String $name (required)
5340             # @param String $width (optional)
5341             # @param String $height (optional)
5342             # @param String $to (optional)
5343             # @param String $from (optional)
5344             # @param String $destFolder (optional)
5345             # @param String $format (optional)
5346             # @param String $storage (optional)
5347             # @param String $folder (optional)
5348             # @return SplitDocumentResponse
5349             #
5350             sub PostSlidesSplit {
5351 0     0 0   my ($self, %args) = @_;
5352              
5353            
5354             # verify the required parameter 'name' is set
5355 0 0         unless (exists $args{'name'}) {
5356 0           croak("Missing the required parameter 'name' when calling PostSlidesSplit");
5357             }
5358            
5359              
5360             # parse inputs
5361 0           my $_resource_path = '/slides/{name}/split/?appSid={appSid}&width={width}&height={height}&to={to}&from={from}&destFolder={destFolder}&toFormat={toFormat}&storage={storage}&folder={folder}';
5362            
5363 0           $_resource_path =~ s/\Q&\E/&/g;
5364 0           $_resource_path =~ s/\Q\/?\E/?/g;
5365 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
5366 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
5367            
5368 0           my $_method = 'POST';
5369 0           my $query_params = {};
5370 0           my $header_params = {};
5371 0           my $form_params = {};
5372              
5373             # 'Accept' and 'Content-Type' header
5374 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
5375 0 0         if ($_header_accept) {
5376 0           $header_params->{'Accept'} = $_header_accept;
5377             }
5378 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
5379              
5380             # query params
5381 0 0         if ( exists $args{'name'}) {
5382 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
5383             }else{
5384 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
5385             }# query params
5386 0 0         if ( exists $args{'width'}) {
5387 0           $_resource_path =~ s/\Q{width}\E/$args{'width'}/g;
5388             }else{
5389 0           $_resource_path =~ s/[?&]width.*?(?=&|\?|$)//g;
5390             }# query params
5391 0 0         if ( exists $args{'height'}) {
5392 0           $_resource_path =~ s/\Q{height}\E/$args{'height'}/g;
5393             }else{
5394 0           $_resource_path =~ s/[?&]height.*?(?=&|\?|$)//g;
5395             }# query params
5396 0 0         if ( exists $args{'to'}) {
5397 0           $_resource_path =~ s/\Q{to}\E/$args{'to'}/g;
5398             }else{
5399 0           $_resource_path =~ s/[?&]to.*?(?=&|\?|$)//g;
5400             }# query params
5401 0 0         if ( exists $args{'from'}) {
5402 0           $_resource_path =~ s/\Q{from}\E/$args{'from'}/g;
5403             }else{
5404 0           $_resource_path =~ s/[?&]from.*?(?=&|\?|$)//g;
5405             }# query params
5406 0 0         if ( exists $args{'destFolder'}) {
5407 0           $_resource_path =~ s/\Q{destFolder}\E/$args{'destFolder'}/g;
5408             }else{
5409 0           $_resource_path =~ s/[?&]destFolder.*?(?=&|\?|$)//g;
5410             }# query params
5411 0 0         if ( exists $args{'format'}) {
5412 0           $_resource_path =~ s/\Q{format}\E/$args{'format'}/g;
5413             }else{
5414 0           $_resource_path =~ s/[?&]format.*?(?=&|\?|$)//g;
5415             }# query params
5416 0 0         if ( exists $args{'storage'}) {
5417 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
5418             }else{
5419 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
5420             }# query params
5421 0 0         if ( exists $args{'folder'}) {
5422 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
5423             }else{
5424 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
5425             }
5426            
5427            
5428 0           my $_body_data;
5429            
5430            
5431            
5432              
5433             # authentication setting, if any
5434 0           my $auth_settings = [];
5435              
5436             # make the API Call
5437 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
5438             $query_params, $form_params,
5439             $header_params, $_body_data, $auth_settings);
5440 0 0         if (!$response) {
5441 0           return;
5442             }
5443              
5444 0 0         if($AsposeSlidesCloud::Configuration::debug){
5445 0           print "\nResponse Content: ".$response->content;
5446             }
5447            
5448 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SplitDocumentResponse', $response->header('content-type'));
5449 0           return $_response_object;
5450            
5451             }
5452             #
5453             # GetSlidesPresentationTextItems
5454             #
5455             #
5456             #
5457             # @param String $name (required)
5458             # @param Boolean $withEmpty (optional)
5459             # @param String $folder (optional)
5460             # @param String $storage (optional)
5461             # @return TextItemsResponse
5462             #
5463             sub GetSlidesPresentationTextItems {
5464 0     0 0   my ($self, %args) = @_;
5465              
5466            
5467             # verify the required parameter 'name' is set
5468 0 0         unless (exists $args{'name'}) {
5469 0           croak("Missing the required parameter 'name' when calling GetSlidesPresentationTextItems");
5470             }
5471            
5472              
5473             # parse inputs
5474 0           my $_resource_path = '/slides/{name}/textItems/?appSid={appSid}&withEmpty={withEmpty}&folder={folder}&storage={storage}';
5475            
5476 0           $_resource_path =~ s/\Q&\E/&/g;
5477 0           $_resource_path =~ s/\Q\/?\E/?/g;
5478 0           $_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
5479 0           $_resource_path =~ s/\Q{path}\E/{Path}/g;
5480            
5481 0           my $_method = 'GET';
5482 0           my $query_params = {};
5483 0           my $header_params = {};
5484 0           my $form_params = {};
5485              
5486             # 'Accept' and 'Content-Type' header
5487 0           my $_header_accept = $self->{api_client}->select_header_accept('application/xml', 'application/json');
5488 0 0         if ($_header_accept) {
5489 0           $header_params->{'Accept'} = $_header_accept;
5490             }
5491 0           $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type('application/json');
5492              
5493             # query params
5494 0 0         if ( exists $args{'name'}) {
5495 0           $_resource_path =~ s/\Q{name}\E/$args{'name'}/g;
5496             }else{
5497 0           $_resource_path =~ s/[?&]name.*?(?=&|\?|$)//g;
5498             }# query params
5499 0 0         if ( exists $args{'withEmpty'}) {
5500 0           $_resource_path =~ s/\Q{withEmpty}\E/$args{'withEmpty'}/g;
5501             }else{
5502 0           $_resource_path =~ s/[?&]withEmpty.*?(?=&|\?|$)//g;
5503             }# query params
5504 0 0         if ( exists $args{'folder'}) {
5505 0           $_resource_path =~ s/\Q{folder}\E/$args{'folder'}/g;
5506             }else{
5507 0           $_resource_path =~ s/[?&]folder.*?(?=&|\?|$)//g;
5508             }# query params
5509 0 0         if ( exists $args{'storage'}) {
5510 0           $_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
5511             }else{
5512 0           $_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
5513             }
5514            
5515            
5516 0           my $_body_data;
5517            
5518            
5519            
5520              
5521             # authentication setting, if any
5522 0           my $auth_settings = [];
5523              
5524             # make the API Call
5525 0           my $response = $self->{api_client}->call_api($_resource_path, $_method,
5526             $query_params, $form_params,
5527             $header_params, $_body_data, $auth_settings);
5528 0 0         if (!$response) {
5529 0           return;
5530             }
5531              
5532 0 0         if($AsposeSlidesCloud::Configuration::debug){
5533 0           print "\nResponse Content: ".$response->content;
5534             }
5535            
5536 0           my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'TextItemsResponse', $response->header('content-type'));
5537 0           return $_response_object;
5538            
5539             }
5540              
5541              
5542             1;