{{#models}}
{{#model}}
package WWW::{{moduleName}}::Object::{{classname}};

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 "WWW::{{moduleName}}::Object::BaseObject";

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

my $swagger_types = {
    {{#vars}}'{{name}}' => '{{{datatype}}}'{{#hasMore}},
    {{/hasMore}}{{/vars}}
};

my $attribute_map = {
    {{#vars}}'{{name}}' => '{{baseName}}'{{#hasMore}},
    {{/hasMore}}{{/vars}}
};

# new object
sub new { 
    my ($class, %args) = @_; 
    my $self = { 
        {{#vars}}#{{#description}}{{{description}}}{{/description}}
        '{{name}}' => $args{'{{baseName}}'}{{#hasMore}}, 
        {{/hasMore}}{{/vars}}
    }; 

    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;
{{/model}}
{{/models}}
