blib/lib/AsposePdfCloud/Object/Attachment.pm untested

filter: Statementstmt 0.0% 0 / 43 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 14 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 60 SCAR 6.9
CC
1
Cov
0%
new
2.0
get_swagger_types
2.0
get_attribute_map
2.0
CRAP 2.0
1 package AsposePdfCloud::Object::Attachment;
2  
3 require 5.6.0;
4 use strict;
5 use warnings;
6 use utf8;
7 use JSON qw(decode_json);
8 use Data::Dumper;
9 use Module::Runtime qw(use_module);
10 use Log::Any qw($log);
11 use Date::Parse;
12 use DateTime;
13  
14 use base "AsposePdfCloud::Object::BaseObject";
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 'Description' => 'string',
24 'MimeType' => 'string',
25 'Name' => 'string',
26 'CreationDate' => 'string',
27 'ModificationDate' => 'string',
28 'Size' => 'int',
29 'CheckSum' => 'string',
30 'Links' => 'ARRAY[Link]'
31 };
32  
33 my $attribute_map = {
34 'Description' => 'Description',
35 'MimeType' => 'MimeType',
36 'Name' => 'Name',
37 'CreationDate' => 'CreationDate',
38 'ModificationDate' => 'ModificationDate',
39 'Size' => 'Size',
40 'CheckSum' => 'CheckSum',
41 'Links' => 'Links'
42 };
43  
44 # new object
45 sub new {
46 my ($class, %args) = @_;
47 my $self = {
48 #
49 'Description' => $args{'Description'},
50 #
51 'MimeType' => $args{'MimeType'},
52 #
53 'Name' => $args{'Name'},
54 #
55 'CreationDate' => $args{'CreationDate'},
56 #
57 'ModificationDate' => $args{'ModificationDate'},
58 #
59 'Size' => $args{'Size'},
60 #
61 'CheckSum' => $args{'CheckSum'},
62 #
63 'Links' => $args{'Links'}
64 };
65  
66 return bless $self, $class;
67 }
68  
69 # get swagger type of the attribute
70 sub get_swagger_types {
71 return $swagger_types;
72 }
73  
74 # get attribute mappping
75 sub get_attribute_map {
76 return $attribute_map;
77 }
78  
79 1;