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