File Coverage

blib/lib/AsposePdfCloud/Object/TiffExportOptions.pm
Criterion Covered Total %
statement 30 35 85.7
branch n/a
condition n/a
subroutine 10 13 76.9
pod 0 3 0.0
total 40 51 78.4


line stmt bran cond sub pod time code
1             package AsposePdfCloud::Object::TiffExportOptions;
2              
3             require 5.6.0;
4 1     1   508 use strict;
  1         2  
  1         30  
5 1     1   5 use warnings;
  1         2  
  1         40  
6 1     1   6 use utf8;
  1         2  
  1         7  
7 1     1   23 use JSON qw(decode_json);
  1         2  
  1         8  
8 1     1   569 use Data::Dumper;
  1         5494  
  1         77  
9 1     1   8 use Module::Runtime qw(use_module);
  1         2  
  1         10  
10 1     1   69 use Log::Any qw($log);
  1         2  
  1         9  
11 1     1   590 use Date::Parse;
  1         3800  
  1         121  
12 1     1   651 use DateTime;
  1         399174  
  1         51  
13              
14 1     1   10 use base "AsposePdfCloud::Object::BaseObject";
  1         3  
  1         420  
15              
16             #
17             #
18             #
19             #NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
20             #
21              
22             my $swagger_types = {
23             'Brightness' => 'double',
24             'Compression' => 'string',
25             'ColorDepth' => 'string',
26             'LeftMargin' => 'int',
27             'RightMargin' => 'int',
28             'TopMargin' => 'int',
29             'BottomMargin' => 'int',
30             'Orientation' => 'string',
31             'SkipBlankPages' => 'boolean',
32             'Width' => 'int',
33             'Height' => 'int',
34             'XResolution' => 'int',
35             'YResolution' => 'int',
36             'PageIndex' => 'int',
37             'PageCount' => 'int',
38             'ResultFile' => 'string'
39             };
40              
41             my $attribute_map = {
42             'Brightness' => 'Brightness',
43             'Compression' => 'Compression',
44             'ColorDepth' => 'ColorDepth',
45             'LeftMargin' => 'LeftMargin',
46             'RightMargin' => 'RightMargin',
47             'TopMargin' => 'TopMargin',
48             'BottomMargin' => 'BottomMargin',
49             'Orientation' => 'Orientation',
50             'SkipBlankPages' => 'SkipBlankPages',
51             'Width' => 'Width',
52             'Height' => 'Height',
53             'XResolution' => 'XResolution',
54             'YResolution' => 'YResolution',
55             'PageIndex' => 'PageIndex',
56             'PageCount' => 'PageCount',
57             'ResultFile' => 'ResultFile'
58             };
59              
60             # new object
61             sub new {
62 0     0 0   my ($class, %args) = @_;
63             my $self = {
64             #
65             'Brightness' => $args{'Brightness'},
66             #
67             'Compression' => $args{'Compression'},
68             #
69             'ColorDepth' => $args{'ColorDepth'},
70             #
71             'LeftMargin' => $args{'LeftMargin'},
72             #
73             'RightMargin' => $args{'RightMargin'},
74             #
75             'TopMargin' => $args{'TopMargin'},
76             #
77             'BottomMargin' => $args{'BottomMargin'},
78             #
79             'Orientation' => $args{'Orientation'},
80             #
81             'SkipBlankPages' => $args{'SkipBlankPages'},
82             #
83             'Width' => $args{'Width'},
84             #
85             'Height' => $args{'Height'},
86             #
87             'XResolution' => $args{'XResolution'},
88             #
89             'YResolution' => $args{'YResolution'},
90             #
91             'PageIndex' => $args{'PageIndex'},
92             #
93             'PageCount' => $args{'PageCount'},
94             #
95 0           'ResultFile' => $args{'ResultFile'}
96             };
97              
98 0           return bless $self, $class;
99             }
100              
101             # get swagger type of the attribute
102             sub get_swagger_types {
103 0     0 0   return $swagger_types;
104             }
105              
106             # get attribute mappping
107             sub get_attribute_map {
108 0     0 0   return $attribute_map;
109             }
110              
111             1;