AsposePdfCloud-PdfApi/lib/AsposePdfCloud/Object/Attachment.pm
package AsposePdfCloud::Object::Attachment;
require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::Parse;
use DateTime;
use base "AsposePdfCloud::Object::BaseObject";
#
#
#
#NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
#
my $swagger_types = {
'Description' => 'string',
'MimeType' => 'string',
'Name' => 'string',
'CreationDate' => 'string',
'ModificationDate' => 'string',
'Size' => 'int',
'CheckSum' => 'string',
'Links' => 'ARRAY[Link]'
};
my $attribute_map = {
'Description' => 'Description',
'MimeType' => 'MimeType',
'Name' => 'Name',
'CreationDate' => 'CreationDate',
'ModificationDate' => 'ModificationDate',
'Size' => 'Size',
'CheckSum' => 'CheckSum',
'Links' => 'Links'
};
# new object
sub new {
my ($class, %args) = @_;
my $self = {
#
'Description' => $args{'Description'},
#
'MimeType' => $args{'MimeType'},
#
'Name' => $args{'Name'},
#
'CreationDate' => $args{'CreationDate'},
#
'ModificationDate' => $args{'ModificationDate'},
#
'Size' => $args{'Size'},
#
'CheckSum' => $args{'CheckSum'},
#
'Links' => $args{'Links'}
};
return bless $self, $class;
}
# get swagger type of the attribute
sub get_swagger_types {
return $swagger_types;
}
# get attribute mappping
sub get_attribute_map {
return $attribute_map;
}
1;