« blib/lib/AsposePdfCloud/Object/LineNumberRestartMode.pm
↑ Summary
blib/lib/AsposePdfCloud/Object/LinkActionType.pm »
| 1 | package AsposePdfCloud::Object::Link; | ||
| 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 | 'Href' => 'string', | ||
| 24 | 'Rel' => 'string', | ||
| 25 | 'Type' => 'string', | ||
| 26 | 'Title' => 'string' | ||
| 27 | }; | ||
| 28 | |||
| 29 | my $attribute_map = { | ||
| 30 | 'Href' => 'Href', | ||
| 31 | 'Rel' => 'Rel', | ||
| 32 | 'Type' => 'Type', | ||
| 33 | 'Title' => 'Title' | ||
| 34 | }; | ||
| 35 | |||
| 36 | # new object | ||
| 37 | sub new { | ||
| 38 | my ($class, %args) = @_; | ||
| 39 | my $self = { | ||
| 40 | # | ||
| 41 | 'Href' => $args{'Href'}, | ||
| 42 | # | ||
| 43 | 'Rel' => $args{'Rel'}, | ||
| 44 | # | ||
| 45 | 'Type' => $args{'Type'}, | ||
| 46 | # | ||
| 47 | 'Title' => $args{'Title'} | ||
| 48 | }; | ||
| 49 | |||
| 50 | return bless $self, $class; | ||
| 51 | } | ||
| 52 | |||
| 53 | # get swagger type of the attribute | ||
| 54 | sub get_swagger_types { | ||
| 55 | return $swagger_types; | ||
| 56 | } | ||
| 57 | |||
| 58 | # get attribute mappping | ||
| 59 | sub get_attribute_map { | ||
| 60 | return $attribute_map; | ||
| 61 | } | ||
| 62 | |||
| 63 | 1; |