package WWW::SwaggerClient::Object::User;

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',
      'username' => 'string',
      'first_name' => 'string',
      'last_name' => 'string',
      'email' => 'string',
      'password' => 'string',
      'phone' => 'string',
      'user_status' => 'int'
};

my $attribute_map = {
      'id' => 'id',
      'username' => 'username',
      'first_name' => 'firstName',
      'last_name' => 'lastName',
      'email' => 'email',
      'password' => 'password',
      'phone' => 'phone',
      'user_status' => 'userStatus'
};

# new object
sub new { 
    my ($class, %args) = @_; 
    my $self = { 
        #
        'id' => $args{'id'}, 
        #
        'username' => $args{'username'}, 
        #
        'first_name' => $args{'firstName'}, 
        #
        'last_name' => $args{'lastName'}, 
        #
        'email' => $args{'email'}, 
        #
        'password' => $args{'password'}, 
        #
        'phone' => $args{'phone'}, 
        #User Status
        'user_status' => $args{'userStatus'}
    }; 

    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;
