blib/lib/AsposePdfCloud/Object/Field.pm

filter: Statementstmt 87.1% 34 / 39 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 76.9% 10 / 13 Podpod 0.0% 0 / 3 totaltotal 80.0% 44 / 55 SCAR 0.0
CC
1
Cov
87%
new
2.0
get_swagger_types
2.0
get_attribute_map
2.0
CRAP 1.0
« blib/lib/AsposePdfCloud/Object/DocumentProperty.pm ↑ Summary blib/lib/AsposePdfCloud/Object/Fields.pm »
1 package AsposePdfCloud::Object::Field;
2  
3 1 require 5.6.0;
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use JSON qw(decode_json);
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use Data::Dumper;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use Module::Runtime qw(use_module);
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use Log::Any qw($log);
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use Date::Parse;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use DateTime;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 ▶use base "AsposePdfCloud::Object::BaseObject";
Subroutine BEGIN: called CC=1 SCAR=0.0
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 1 my $swagger_types = {
23 'Name' => 'string',
24 'Type' => 'FieldType',
25 'Values' => 'ARRAY[string]',
26 'SelectedItems' => 'ARRAY[int]',
27 'Rect' => 'Rectangle',
28 'Links' => 'ARRAY[Link]'
29 };
30  
31 1 my $attribute_map = {
32 'Name' => 'Name',
33 'Type' => 'Type',
34 'Values' => 'Values',
35 'SelectedItems' => 'SelectedItems',
36 'Rect' => 'Rect',
37 'Links' => 'Links'
38 };
39  
40 # new object
41 sub new {
42 0 ▶ my ($class, %args) = @_;
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
43 my $self = {
44 #
45 'Name' => $args{'Name'},
46 #
47 'Type' => $args{'Type'},
48 #
49 'Values' => $args{'Values'},
50 #
51 'SelectedItems' => $args{'SelectedItems'},
52 #
53 'Rect' => $args{'Rect'},
54 #
55 0 'Links' => $args{'Links'}
56 };
57  
58 0 return bless $self, $class;
59 }
60  
61 # get swagger type of the attribute
62 sub get_swagger_types {
63 0 ▶ return $swagger_types;
Subroutine get_swagger_types: not called CC=1 SCAR=6.9
Pod undocumented
64 }
65  
66 # get attribute mappping
67 sub get_attribute_map {
68 0 ▶ return $attribute_map;
Subroutine get_attribute_map: not called CC=1 SCAR=6.9
Pod undocumented
69 }
70  
71 1 1;
« blib/lib/AsposePdfCloud/Object/DocumentProperty.pm ↑ Summary blib/lib/AsposePdfCloud/Object/Fields.pm »