Object/ImagingResponse.pm untested

filter: Statementstmt 0.0% 0 / 43 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 14 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 60 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
get_swagger_types
2.0
get_attribute_map
2.0
CRAP 2.0
1 package AsposeImagingCloud::Object::ImagingResponse;
2
3 require 5.6.0;
4 use strict;
5 use warnings;
6 use utf8;
7 use JSON qw(decode_json);
8 use Data::Dumper;
9 use Module::Runtime qw(use_module);
10 use Log::Any qw($log);
11 use Date::Parse;
12 use DateTime;
13
14 use base "AsposeImagingCloud::Object::BaseObject";
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 'Height' => 'int',
24 'Width' => 'int',
25 'BitsPerPixel' => 'int',
26 'BmpProperties' => 'BmpProperties',
27 'GifProperties' => 'GifProperties',
28 'JpegProperties' => 'JpegProperties',
29 'PngProperties' => 'PngProperties',
30 'TiffProperties' => 'TiffProperties',
31 'PsdProperties' => 'PsdProperties',
32 'HorizontalResolution' => 'double',
33 'VerticalResolution' => 'double',
34 'IsCached' => 'boolean',
35 'Code' => 'string',
36 'Status' => 'string'
37 };
38
39 my $attribute_map = {
40 'Height' => 'Height',
41 'Width' => 'Width',
42 'BitsPerPixel' => 'BitsPerPixel',
43 'BmpProperties' => 'BmpProperties',
44 'GifProperties' => 'GifProperties',
45 'JpegProperties' => 'JpegProperties',
46 'PngProperties' => 'PngProperties',
47 'TiffProperties' => 'TiffProperties',
48 'PsdProperties' => 'PsdProperties',
49 'HorizontalResolution' => 'HorizontalResolution',
50 'VerticalResolution' => 'VerticalResolution',
51 'IsCached' => 'IsCached',
52 'Code' => 'Code',
53 'Status' => 'Status'
54 };
55
56 # new object
57 sub new {
58 my ($class, %args) = @_;
59 my $self = {
60 #
61 'Height' => $args{'Height'},
62 #
63 'Width' => $args{'Width'},
64 #
65 'BitsPerPixel' => $args{'BitsPerPixel'},
66 #
67 'BmpProperties' => $args{'BmpProperties'},
68 #
69 'GifProperties' => $args{'GifProperties'},
70 #
71 'JpegProperties' => $args{'JpegProperties'},
72 #
73 'PngProperties' => $args{'PngProperties'},
74 #
75 'TiffProperties' => $args{'TiffProperties'},
76 #
77 'PsdProperties' => $args{'PsdProperties'},
78 #
79 'HorizontalResolution' => $args{'HorizontalResolution'},
80 #
81 'VerticalResolution' => $args{'VerticalResolution'},
82 #
83 'IsCached' => $args{'IsCached'},
84 #
85 'Code' => $args{'Code'},
86 #
87 'Status' => $args{'Status'}
88 };
89
90 return bless $self, $class;
91 }
92
93 # get swagger type of the attribute
94 sub get_swagger_types {
95 return $swagger_types;
96 }
97
98 # get attribute mappping
99 sub get_attribute_map {
100 return $attribute_map;
101 }
102
103 1;