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