| 1 | package AsposePdfCloud::Object::Annotation; | ||
| 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 | 'Color' => 'Color', | ||
| 24 | 'Contents' => 'string', | ||
| 25 | 'CreationDate' => 'string', | ||
| 26 | 'Subject' => 'string', | ||
| 27 | 'Title' => 'string', | ||
| 28 | 'Modified' => 'string', | ||
| 29 | 'Links' => 'ARRAY[Link]' | ||
| 30 | }; | ||
| 31 | |||
| 32 | my $attribute_map = { | ||
| 33 | 'Color' => 'Color', | ||
| 34 | 'Contents' => 'Contents', | ||
| 35 | 'CreationDate' => 'CreationDate', | ||
| 36 | 'Subject' => 'Subject', | ||
| 37 | 'Title' => 'Title', | ||
| 38 | 'Modified' => 'Modified', | ||
| 39 | 'Links' => 'Links' | ||
| 40 | }; | ||
| 41 | |||
| 42 | # new object | ||
| 43 | sub new { | ||
| 44 | my ($class, %args) = @_; | ||
| 45 | my $self = { | ||
| 46 | # | ||
| 47 | 'Color' => $args{'Color'}, | ||
| 48 | # | ||
| 49 | 'Contents' => $args{'Contents'}, | ||
| 50 | # | ||
| 51 | 'CreationDate' => $args{'CreationDate'}, | ||
| 52 | # | ||
| 53 | 'Subject' => $args{'Subject'}, | ||
| 54 | # | ||
| 55 | 'Title' => $args{'Title'}, | ||
| 56 | # | ||
| 57 | 'Modified' => $args{'Modified'}, | ||
| 58 | # | ||
| 59 | 'Links' => $args{'Links'} | ||
| 60 | }; | ||
| 61 | |||
| 62 | return bless $self, $class; | ||
| 63 | } | ||
| 64 | |||
| 65 | # get swagger type of the attribute | ||
| 66 | sub get_swagger_types { | ||
| 67 | return $swagger_types; | ||
| 68 | } | ||
| 69 | |||
| 70 | # get attribute mappping | ||
| 71 | sub get_attribute_map { | ||
| 72 | return $attribute_map; | ||
| 73 | } | ||
| 74 | |||
| 75 | 1; |