# 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/utils.py
# def privacy_enum_to_string(privacy_enum):
#     #
#     # From constants:
#     # PRIVATE = 0
#     # PUBLIC = 3
#     # FRIENDS = 1
#     #
#     privacy_map = {
#         0: 'Private',
#         1: 'Friends',
#         3: 'Public'
#     }
#     return privacy_map[privacy_enum]


from .base import BaseObject
from ..utils import privacy_enum_to_string
                from mapmyfitness import MapMyFitness
                from mapmyfitness import MapMyFitness
            from mapmyfitness import MapMyFitness


class WorkoutObject(BaseObject):
    simple_properties = {
        'name': None, 'start_locale_timezone': None, 'source': None,
        'has_time_series': 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/utils.py
# def privacy_enum_to_string(privacy_enum):
#     #
#     # From constants:
#     # PRIVATE = 0
#     # PUBLIC = 3
#     # FRIENDS = 1
#     #
#     privacy_map = {
#         0: 'Private',
#         1: 'Friends',
#         3: 'Public'
#     }
#     return privacy_map[privacy_enum]


# Path: mapmyfitness/objects/workout.py
from .base import BaseObject
from ..utils import privacy_enum_to_string
                from mapmyfitness import MapMyFitness
                from mapmyfitness import MapMyFitness
            from mapmyfitness import MapMyFitness



class WorkoutObject(BaseObject):
    simple_properties = {
        'name': None, 'start_locale_timezone': None, 'source': None,
        'has_time_series': None,
    }

    datetime_properties = {

        'start_datetime': None, 'created_datetime': None, 'updated_datetime': None,