File Coverage

blib/lib/AsposeWordsCloud/Object/BookmarkData.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 AsposeWordsCloud::Object::BookmarkData;
2              
3             require 5.6.0;
4 1     1   662 use strict;
  1         4  
  1         43  
5 1     1   8 use warnings;
  1         4  
  1         52  
6 1     1   10 use utf8;
  1         3  
  1         12  
7 1     1   39 use JSON qw(decode_json);
  1         11  
  1         12  
8 1     1   904 use Data::Dumper;
  1         8013  
  1         118  
9 1     1   13 use Module::Runtime qw(use_module);
  1         3  
  1         15  
10 1     1   129 use Log::Any qw($log);
  1         3  
  1         15  
11 1     1   997 use Date::Parse;
  1         6011  
  1         199  
12 1     1   1071 use DateTime;
  1         517616  
  1         54  
13              
14 1     1   11 use base "AsposeWordsCloud::Object::BaseObject";
  1         2  
  1         549  
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             'Name' => 'string',
24             'Text' => 'string'
25             };
26              
27             my $attribute_map = {
28             'Name' => 'Name',
29             'Text' => 'Text'
30             };
31              
32             # new object
33             sub new {
34 0     0 0   my ($class, %args) = @_;
35             my $self = {
36             #
37             'Name' => $args{'Name'},
38             #
39 0           'Text' => $args{'Text'}
40             };
41              
42 0           return bless $self, $class;
43             }
44              
45             # get swagger type of the attribute
46             sub get_swagger_types {
47 0     0 0   return $swagger_types;
48             }
49              
50             # get attribute mappping
51             sub get_attribute_map {
52 0     0 0   return $attribute_map;
53             }
54              
55             1;