File Coverage

blib/lib/AsposeWordsCloud/Object/PageNumber.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::PageNumber;
2              
3             require 5.6.0;
4 1     1   263 use strict;
  1         2  
  1         23  
5 1     1   5 use warnings;
  1         1  
  1         18  
6 1     1   5 use utf8;
  1         1  
  1         4  
7 1     1   19 use JSON qw(decode_json);
  1         6  
  1         4  
8 1     1   119 use Data::Dumper;
  1         3  
  1         46  
9 1     1   6 use Module::Runtime qw(use_module);
  1         3  
  1         5  
10 1     1   109 use Log::Any qw($log);
  1         3  
  1         7  
11 1     1   274 use Date::Parse;
  1         4  
  1         106  
12 1     1   9 use DateTime;
  1         3  
  1         68  
13              
14 1     1   10 use base "AsposeWordsCloud::Object::BaseObject";
  1         3  
  1         256  
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             'Format' => 'string',
24             'Alignment' => 'string',
25             'IsTop' => 'boolean',
26             'SetPageNumberOnFirstPage' => 'boolean'
27             };
28              
29             my $attribute_map = {
30             'Format' => 'Format',
31             'Alignment' => 'Alignment',
32             'IsTop' => 'IsTop',
33             'SetPageNumberOnFirstPage' => 'SetPageNumberOnFirstPage'
34             };
35              
36             # new object
37             sub new {
38 0     0 0   my ($class, %args) = @_;
39             my $self = {
40             #
41             'Format' => $args{'Format'},
42             #
43             'Alignment' => $args{'Alignment'},
44             #
45             'IsTop' => $args{'IsTop'},
46             #
47 0           'SetPageNumberOnFirstPage' => $args{'SetPageNumberOnFirstPage'}
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;