# coding: utf-8

"""
    Intervals.icu API

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

    The version of the OpenAPI document: v1.0.0
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from intervals_icu_client.models.message import Message

class TestMessage(unittest.TestCase):
    """Message unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> Message:
        """Test Message
            include_optional is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # uncomment below to create an instance of `Message`
        """
        model = Message()
        if include_optional:
            return Message(
                id = 56,
                athlete_id = '',
                name = '',
                created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                type = 'TEXT',
                content = '',
                activity_id = '',
                start_index = 56,
                end_index = 56,
                answer = '',
                activity = intervals_icu_client.models.activity.Activity(
                    id = '', 
                    start_date_local = '', 
                    type = '', 
                    icu_ignore_time = True, 
                    icu_pm_cp = 56, 
                    icu_pm_w_prime = 56, 
                    icu_pm_p_max = 56, 
                    icu_pm_ftp = 56, 
                    icu_pm_ftp_secs = 56, 
                    icu_pm_ftp_watts = 56, 
                    icu_ignore_power = True, 
                    icu_rolling_cp = 1.337, 
                    icu_rolling_w_prime = 1.337, 
                    icu_rolling_p_max = 1.337, 
                    icu_rolling_ftp = 56, 
                    icu_rolling_ftp_delta = 56, 
                    icu_training_load = 56, 
                    icu_atl = 1.337, 
                    icu_ctl = 1.337, 
                    ss_p_max = 1.337, 
                    ss_w_prime = 1.337, 
                    ss_cp = 1.337, 
                    paired_event_id = 56, 
                    icu_ftp = 56, 
                    icu_joules = 56, 
                    icu_recording_time = 56, 
                    elapsed_time = 56, 
                    icu_weighted_avg_watts = 56, 
                    carbs_used = 56, 
                    name = '', 
                    description = '', 
                    start_date = '', 
                    distance = 1.337, 
                    icu_distance = 1.337, 
                    moving_time = 56, 
                    coasting_time = 56, 
                    total_elevation_gain = 1.337, 
                    total_elevation_loss = 1.337, 
                    timezone = '', 
                    trainer = True, 
                    sub_type = 'NONE', 
                    commute = True, 
                    race = True, 
                    max_speed = 1.337, 
                    average_speed = 1.337, 
                    device_watts = True, 
                    has_heartrate = True, 
                    max_heartrate = 56, 
                    average_heartrate = 56, 
                    average_cadence = 1.337, 
                    calories = 56, 
                    average_temp = 1.337, 
                    min_temp = 56, 
                    max_temp = 56, 
                    avg_lr_balance = 1.337, 
                    gap = 1.337, 
                    gap_model = 'NONE', 
                    use_elevation_correction = True, 
                    gear = intervals_icu_client.models.strava_gear.StravaGear(
                        id = '', 
                        name = '', 
                        distance = 1.337, 
                        primary = True, ), 
                    perceived_exertion = 1.337, 
                    device_name = '', 
                    power_meter = '', 
                    power_meter_serial = '', 
                    power_meter_battery = '', 
                    crank_length = 1.337, 
                    external_id = '', 
                    file_sport_index = 56, 
                    file_type = '', 
                    icu_athlete_id = '', 
                    created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    icu_sync_date = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    analyzed = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    icu_w_prime = 56, 
                    p_max = 56, 
                    threshold_pace = 1.337, 
                    icu_hr_zones = [
                        56
                        ], 
                    pace_zones = [
                        1.337
                        ], 
                    lthr = 56, 
                    icu_resting_hr = 56, 
                    icu_weight = 1.337, 
                    icu_power_zones = [
                        56
                        ], 
                    icu_sweet_spot_min = 56, 
                    icu_sweet_spot_max = 56, 
                    icu_power_spike_threshold = 56, 
                    trimp = 1.337, 
                    icu_warmup_time = 56, 
                    icu_cooldown_time = 56, 
                    icu_chat_id = 56, 
                    icu_ignore_hr = True, 
                    ignore_velocity = True, 
                    ignore_pace = True, 
                    ignore_parts = [
                        intervals_icu_client.models.ignore.Ignore(
                            start_index = 56, 
                            end_index = 56, 
                            power = True, 
                            pace = True, 
                            hr = True, )
                        ], 
                    icu_training_load_data = 56, 
                    interval_summary = [
                        ''
                        ], 
                    skyline_chart_bytes = [
                        'YQ=='
                        ], 
                    stream_types = [
                        ''
                        ], 
                    has_weather = True, 
                    has_segments = True, 
                    power_field_names = [
                        ''
                        ], 
                    power_field = '', 
                    icu_zone_times = [
                        intervals_icu_client.models.zone_time.ZoneTime(
                            id = '', 
                            secs = 56, )
                        ], 
                    icu_hr_zone_times = [
                        56
                        ], 
                    pace_zone_times = [
                        56
                        ], 
                    gap_zone_times = [
                        56
                        ], 
                    use_gap_zone_times = True, 
                    custom_zones = [
                        intervals_icu_client.models.zone_set.ZoneSet(
                            code = '', 
                            zones = [
                                intervals_icu_client.models.zone_info.ZoneInfo(
                                    id = '', 
                                    start = 1.337, 
                                    end = 1.337, 
                                    start_value = 1.337, 
                                    end_value = 1.337, 
                                    secs = 56, )
                                ], )
                        ], 
                    tiz_order = 'POWER_HR_PACE', 
                    polarization_index = 1.337, 
                    icu_achievements = [
                        intervals_icu_client.models.icu_achievement.IcuAchievement(
                            id = '', 
                            type = 'BEST_POWER', 
                            message = '', 
                            watts = 56, 
                            secs = 56, 
                            value = 56, 
                            distance = 1.337, 
                            pace = 1.337, 
                            point = intervals_icu_client.models.data_curve_pt.DataCurvePt(
                                start_index = 56, 
                                end_index = 56, 
                                secs = 56, 
                                value = 56, ), )
                        ], 
                    icu_intervals_edited = True, 
                    lock_intervals = True, 
                    icu_lap_count = 56, 
                    icu_joules_above_ftp = 56, 
                    icu_max_wbal_depletion = 56, 
                    icu_hrr = intervals_icu_client.models.hr_recovery.HRRecovery(
                        start_index = 56, 
                        end_index = 56, 
                        start_time = 56, 
                        end_time = 56, 
                        start_bpm = 56, 
                        end_bpm = 56, 
                        average_watts = 56, 
                        hrr = 56, ), 
                    icu_sync_error = '', 
                    icu_color = '', 
                    icu_power_hr_z2 = 1.337, 
                    icu_power_hr_z2_mins = 56, 
                    icu_cadence_z2 = 56, 
                    icu_rpe = 56, 
                    feel = 56, 
                    kg_lifted = 1.337, 
                    decoupling = 1.337, 
                    icu_median_time_delta = 56, 
                    p30s_exponent = 1.337, 
                    workout_shift_secs = 56, 
                    strava_id = '', 
                    lengths = 56, 
                    pool_length = 1.337, 
                    compliance = 1.337, 
                    coach_tick = 56, 
                    source = 'STRAVA', 
                    oauth_client_id = 56, 
                    oauth_client_name = '', 
                    average_altitude = 1.337, 
                    min_altitude = 1.337, 
                    max_altitude = 1.337, 
                    power_load = 56, 
                    hr_load = 56, 
                    pace_load = 56, 
                    hr_load_type = 'AVG_HR', 
                    pace_load_type = 'SWIM', 
                    tags = [
                        ''
                        ], 
                    attachments = [
                        intervals_icu_client.models.attachment.Attachment(
                            id = '', 
                            filename = '', 
                            mimetype = '', 
                            url = '', )
                        ], 
                    recording_stops = [
                        56
                        ], 
                    average_weather_temp = 1.337, 
                    min_weather_temp = 1.337, 
                    max_weather_temp = 1.337, 
                    average_feels_like = 1.337, 
                    min_feels_like = 1.337, 
                    max_feels_like = 1.337, 
                    average_wind_speed = 1.337, 
                    average_wind_gust = 1.337, 
                    prevailing_wind_deg = 56, 
                    headwind_percent = 1.337, 
                    tailwind_percent = 1.337, 
                    average_clouds = 56, 
                    max_rain = 1.337, 
                    max_snow = 1.337, 
                    carbs_ingested = 56, 
                    route_id = 56, 
                    pace = 1.337, 
                    athlete_max_hr = 56, 
                    group = '', 
                    icu_intensity = 1.337, 
                    icu_efficiency_factor = 1.337, 
                    icu_power_hr = 1.337, 
                    session_rpe = 56, 
                    average_stride = 1.337, 
                    icu_average_watts = 56, 
                    icu_variability_index = 1.337, 
                    strain_score = 1.337, ),
                attachment_url = '',
                attachment_mime_type = '',
                deleted = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                deleted_by_id = '',
                join_group_id = 56,
                accept_coaching_group_id = 56,
                seen = True
            )
        else:
            return Message(
        )
        """

    def testMessage(self):
        """Test Message"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

if __name__ == '__main__':
    unittest.main()
