package WWW::SwaggerClient::Object::Order;

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

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

my $swagger_types = {
    'id' => 'int',
    'pet_id' => 'int',
    'quantity' => 'int',
    'ship_date' => 'DateTime',
    'status' => 'string',
    'complete' => 'boolean'
};

my $attribute_map = {
    'id' => 'id',
    'pet_id' => 'petId',
    'quantity' => 'quantity',
    'ship_date' => 'shipDate',
    'status' => 'status',
    'complete' => 'complete'
};

# new object
sub new { 
    my ($class, %args) = @_; 
    my $self = { 
        #
        'id' => $args{'id'}, 
        #
        'pet_id' => $args{'petId'}, 
        #
        'quantity' => $args{'quantity'}, 
        #
        'ship_date' => $args{'shipDate'}, 
        #Order Status
        'status' => $args{'status'}, 
        #
        'complete' => $args{'complete'}
    }; 

    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;
