package AsposeWordsCloud::Object::CommentDto;

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 "AsposeWordsCloud::Object::BaseObject";

#
#
#
#NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
#

my $swagger_types = {
    'RangeStart' => 'DocumentPositionDto',
    'RangeEnd' => 'DocumentPositionDto',
    'Author' => 'string',
    'Initial' => 'string',
    'DateTime' => 'string',
    'Text' => 'string',
    'Content' => 'StoryChildNodes',
    'link' => 'Link'
};

my $attribute_map = {
    'RangeStart' => 'RangeStart',
    'RangeEnd' => 'RangeEnd',
    'Author' => 'Author',
    'Initial' => 'Initial',
    'DateTime' => 'DateTime',
    'Text' => 'Text',
    'Content' => 'Content',
    'link' => 'link'
};

# new object
sub new { 
    my ($class, %args) = @_; 
    my $self = { 
        #
        'RangeStart' => $args{'RangeStart'}, 
        #
        'RangeEnd' => $args{'RangeEnd'}, 
        #
        'Author' => $args{'Author'}, 
        #
        'Initial' => $args{'Initial'}, 
        #
        'DateTime' => $args{'DateTime'}, 
        #
        'Text' => $args{'Text'}, 
        #
        'Content' => $args{'Content'}, 
        #
        'link' => $args{'link'}
    }; 

    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;
