blib/lib/AsposePdfCloud/Object/Color.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 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 AsposePdfCloud::Object::Color;
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 "AsposePdfCloud::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 'A' => 'string',
24 'R' => 'string',
25 'G' => 'string',
26 'B' => 'string'
27 };
28  
29 my $attribute_map = {
30 'A' => 'A',
31 'R' => 'R',
32 'G' => 'G',
33 'B' => 'B'
34 };
35  
36 # new object
37 sub new {
38 my ($class, %args) = @_;
39 my $self = {
40 #
41 'A' => $args{'A'},
42 #
43 'R' => $args{'R'},
44 #
45 'G' => $args{'G'},
46 #
47 'B' => $args{'B'}
48 };
49  
50 return bless $self, $class;
51 }
52  
53 # get swagger type of the attribute
54 sub get_swagger_types {
55 return $swagger_types;
56 }
57  
58 # get attribute mappping
59 sub get_attribute_map {
60 return $attribute_map;
61 }
62  
63 1;