File Coverage

blib/lib/AsposeWordsCloud/Object/ReplaceTextRequest.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::ReplaceTextRequest;
2              
3             require 5.6.0;
4 1     1   261 use strict;
  1         2  
  1         22  
5 1     1   4 use warnings;
  1         2  
  1         19  
6 1     1   5 use utf8;
  1         2  
  1         3  
7 1     1   26 use JSON qw(decode_json);
  1         2  
  1         4  
8 1     1   70 use Data::Dumper;
  1         6  
  1         36  
9 1     1   5 use Module::Runtime qw(use_module);
  1         1  
  1         5  
10 1     1   53 use Log::Any qw($log);
  1         2  
  1         6  
11 1     1   162 use Date::Parse;
  1         2  
  1         69  
12 1     1   5 use DateTime;
  1         2  
  1         20  
13              
14 1     1   5 use base "AsposeWordsCloud::Object::BaseObject";
  1         2  
  1         157  
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             'OldValue' => 'string',
24             'NewValue' => 'string',
25             'IsMatchCase' => 'boolean',
26             'IsMatchWholeWord' => 'boolean'
27             };
28              
29             my $attribute_map = {
30             'OldValue' => 'OldValue',
31             'NewValue' => 'NewValue',
32             'IsMatchCase' => 'IsMatchCase',
33             'IsMatchWholeWord' => 'IsMatchWholeWord'
34             };
35              
36             # new object
37             sub new {
38 0     0 0   my ($class, %args) = @_;
39             my $self = {
40             #
41             'OldValue' => $args{'OldValue'},
42             #
43             'NewValue' => $args{'NewValue'},
44             #
45             'IsMatchCase' => $args{'IsMatchCase'},
46             #
47 0           'IsMatchWholeWord' => $args{'IsMatchWholeWord'}
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;