AsposeSlidesCloud-SlidesApi
view release on metacpan or search on metacpan
lib/AsposeSlidesCloud/Object/CommonSlideViewProperties.pm view on Meta::CPAN
use Date::Parse;
use DateTime;
use AsposeSlidesCloud::Object::DrawingGuide;
use base ("Class::Accessor", "Class::Data::Inheritable");
#
#Slide view properties.
#
# 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 => 'Slide view properties.',
class => 'CommonSlideViewProperties',
required => [], # TODO
} );
__PACKAGE__->method_documentation({
'scale' => {
datatype => 'int',
base_name => 'Scale',
description => 'The view scaling ratio (percentage).',
format => '',
read_only => '',
},
'variable_scale' => {
datatype => 'boolean',
base_name => 'VariableScale',
description => 'True if the view content should automatically scale to best fit the current window size.',
format => '',
read_only => '',
},
'drawing_guides' => {
datatype => 'ARRAY[DrawingGuide]',
base_name => 'DrawingGuides',
description => 'Drawing guides',
format => '',
read_only => '',
},
});
__PACKAGE__->swagger_types( {
'scale' => 'int',
'variable_scale' => 'boolean',
'drawing_guides' => 'ARRAY[DrawingGuide]'
} );
__PACKAGE__->attribute_map( {
'scale' => 'Scale',
'variable_scale' => 'VariableScale',
'drawing_guides' => 'DrawingGuides'
} );
__PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
1;
( run in 1.010 second using v1.01-cache-2.11-cpan-39bf76dae61 )