AsposeSlidesCloud-SlidesApi
view release on metacpan or search on metacpan
lib/AsposeSlidesCloud/Object/FontFallbackRule.pm view on Meta::CPAN
use Log::Any qw($log);
use Date::Parse;
use DateTime;
use base ("Class::Accessor", "Class::Data::Inheritable");
#
#Represents font fallback rule.
#
# NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
# REF: https://github.com/swagger-api/swagger-codegen
#
#
# NOTE: This class is auto generated by the swagger code generator program.
# Do not edit the class manually.
# Ref: https://github.com/swagger-api/swagger-codegen
#
__PACKAGE__->mk_classdata('attribute_map' => {});
__PACKAGE__->mk_classdata('swagger_types' => {});
__PACKAGE__->mk_classdata('method_documentation' => {});
__PACKAGE__->mk_classdata('class_documentation' => {});
# new object
sub new {
my ($class, %args) = @_;
my $self = bless {}, $class;
foreach my $attribute (keys %{$class->attribute_map}) {
my $args_key = $class->attribute_map->{$attribute};
$self->$attribute( $args{ $args_key } );
}
return $self;
}
# used by JSON for serialization
sub TO_JSON {
my $self = shift;
my $_data = {};
foreach my $_key (keys %{$self->attribute_map}) {
if (defined $self->{$_key}) {
$_data->{$self->attribute_map->{$_key}} = $self->{$_key};
}
}
return $_data;
}
__PACKAGE__->class_documentation({description => 'Represents font fallback rule. ',
class => 'FontFallbackRule',
required => [], # TODO
} );
__PACKAGE__->method_documentation({
'range_start_index' => {
datatype => 'int',
base_name => 'RangeStartIndex',
description => 'First index of continuous unicode range.',
format => '',
read_only => '',
},
'range_end_index' => {
datatype => 'int',
base_name => 'RangeEndIndex',
description => 'Last index of continuous unicode range.',
format => '',
read_only => '',
},
'fallback_font_list' => {
datatype => 'ARRAY[string]',
base_name => 'FallbackFontList',
description => 'List of fallback font links.',
format => '',
read_only => '',
},
});
__PACKAGE__->swagger_types( {
'range_start_index' => 'int',
'range_end_index' => 'int',
'fallback_font_list' => 'ARRAY[string]'
} );
__PACKAGE__->attribute_map( {
'range_start_index' => 'RangeStartIndex',
'range_end_index' => 'RangeEndIndex',
'fallback_font_list' => 'FallbackFontList'
} );
__PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
1;
( run in 0.623 second using v1.01-cache-2.11-cpan-5735350b133 )