File Coverage

blib/lib/AsposeWordsCloud/Object/FieldDto.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::FieldDto;
2              
3             require 5.6.0;
4 1     1   274 use strict;
  1         2  
  1         22  
5 1     1   4 use warnings;
  1         2  
  1         19  
6 1     1   4 use utf8;
  1         2  
  1         4  
7 1     1   19 use JSON qw(decode_json);
  1         1  
  1         4  
8 1     1   74 use Data::Dumper;
  1         2  
  1         35  
9 1     1   4 use Module::Runtime qw(use_module);
  1         3  
  1         4  
10 1     1   54 use Log::Any qw($log);
  1         2  
  1         4  
11 1     1   166 use Date::Parse;
  1         2  
  1         66  
12 1     1   5 use DateTime;
  1         2  
  1         23  
13              
14 1     1   4 use base "AsposeWordsCloud::Object::BaseObject";
  1         1  
  1         161  
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             'Result' => 'string',
24             'FieldCode' => 'string',
25             'NodeId' => 'string',
26             'link' => 'Link'
27             };
28              
29             my $attribute_map = {
30             'Result' => 'Result',
31             'FieldCode' => 'FieldCode',
32             'NodeId' => 'NodeId',
33             'link' => 'link'
34             };
35              
36             # new object
37             sub new {
38 0     0 0   my ($class, %args) = @_;
39             my $self = {
40             #
41             'Result' => $args{'Result'},
42             #
43             'FieldCode' => $args{'FieldCode'},
44             #
45             'NodeId' => $args{'NodeId'},
46             #
47 0           'link' => $args{'link'}
48             };
49              
50 0           return bless $self, $class;
51             }
52              
53             # get swagger type of the attribute
54             sub get_swagger_types {
55 0     0 0   return $swagger_types;
56             }
57              
58             # get attribute mappping
59             sub get_attribute_map {
60 0     0 0   return $attribute_map;
61             }
62              
63             1;