# Path: mapmyfitness/objects/base.py
# class BaseObject(object):
#     def __init__(self, dict_):
#         self.original_dict = dict_
# 
#         if hasattr(self, 'simple_properties'):
#             for property_key, property_name in self.simple_properties.items():
#                 if property_key in self.original_dict:
#                     if property_name is None:
#                         property_name = property_key
#                     setattr(self, property_name, self.original_dict[property_key])
# 
#         if hasattr(self, 'datetime_properties'):
#             for property_key, property_name in self.datetime_properties.items():
#                 if property_key in self.original_dict:
#                     if property_name is None:
#                         property_name = property_key
#                     setattr(self, property_name, iso_format_to_datetime(self.original_dict[property_key]))
# 
# Path: mapmyfitness/exceptions.py
# class AttributeNotFoundException(Exception):
#     """The attribute you requested does not exist."""
# 
# class InvalidSizeException(Exception):
#     """Invalid size."""


import datetime
import inspect
from .base import BaseObject
from ..exceptions import AttributeNotFoundException, InvalidSizeException
        from mapmyfitness import MapMyFitness
        from mapmyfitness import MapMyFitness
        from mapmyfitness import MapMyFitness



class UserObject(BaseObject):
    simple_properties = {
        'first_name': None, 'last_name': None, 'username': None,
        'time_zone': None, 'gender': None, 'location': None,
    }

    datetime_properties = {

# Path: mapmyfitness/objects/base.py
# class BaseObject(object):
#     def __init__(self, dict_):
#         self.original_dict = dict_
# 
#         if hasattr(self, 'simple_properties'):
#             for property_key, property_name in self.simple_properties.items():
#                 if property_key in self.original_dict:
#                     if property_name is None:
#                         property_name = property_key
#                     setattr(self, property_name, self.original_dict[property_key])
# 
#         if hasattr(self, 'datetime_properties'):
#             for property_key, property_name in self.datetime_properties.items():
#                 if property_key in self.original_dict:
#                     if property_name is None:
#                         property_name = property_key
#                     setattr(self, property_name, iso_format_to_datetime(self.original_dict[property_key]))
# 
# Path: mapmyfitness/exceptions.py
# class AttributeNotFoundException(Exception):
#     """The attribute you requested does not exist."""
# 
# class InvalidSizeException(Exception):
#     """Invalid size."""


# Path: mapmyfitness/objects/user.py
import datetime
import inspect
from .base import BaseObject
from ..exceptions import AttributeNotFoundException, InvalidSizeException
        from mapmyfitness import MapMyFitness
        from mapmyfitness import MapMyFitness
        from mapmyfitness import MapMyFitness




class UserObject(BaseObject):
    simple_properties = {
        'first_name': None, 'last_name': None, 'username': None,
        'time_zone': None, 'gender': None, 'location': None,
    }

    datetime_properties = {

        'last_login': None, 'last_login': 'last_login_datetime',