# 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.with_sport_settings import WithSportSettings

class TestWithSportSettings(unittest.TestCase):
    """WithSportSettings unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> WithSportSettings:
        """Test WithSportSettings
            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 `WithSportSettings`
        """
        model = WithSportSettings()
        if include_optional:
            return WithSportSettings(
                id = '',
                name = '',
                firstname = '',
                lastname = '',
                profile_medium = '',
                measurement_preference = '',
                weight_pref_lb = True,
                fahrenheit = True,
                wind_speed = 'MPS',
                rain = 'MM',
                weight = 1.337,
                email = '',
                sex = '',
                city = '',
                state = '',
                country = '',
                bikes = [
                    intervals_icu_client.models.strava_gear.StravaGear(
                        id = '', 
                        name = '', 
                        distance = 1.337, 
                        primary = True, )
                    ],
                shoes = [
                    intervals_icu_client.models.strava_gear.StravaGear(
                        id = '', 
                        name = '', 
                        distance = 1.337, 
                        primary = True, )
                    ],
                timezone = '',
                locale = '',
                visibility = 'PRIVATE',
                icu_last_seen = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                status = 'ACTIVE',
                status_updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                icu_resting_hr = 56,
                icu_weight = 1.337,
                icu_weight_sync = 'NONE',
                icu_activated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                icu_queue_pos = 56,
                icu_admin = True,
                icu_friend_invite_token = '',
                icu_permission = 'NONE',
                icu_effort_secs = [
                    56
                    ],
                icu_coach = True,
                bio = '',
                website = '',
                icu_date_of_birth = '',
                icu_api_key = '',
                icu_type_settings = [
                    intervals_icu_client.models.settings.Settings(
                        type = 'Ride', 
                        ctl_factor = 1.337, 
                        atl_factor = 1.337, )
                    ],
                icu_form_as_percent = True,
                icu_mmp_days = 56,
                icu_wellness_prompt = True,
                wellness_last_prompt_date = '',
                icu_wellness_keys = [
                    ''
                    ],
                icu_track_menstrual_cycle = True,
                icu_menstrual_cycle_perm = 'NONE',
                activity_rpe_prompt = True,
                coach_ticks = [
                    intervals_icu_client.models.coach_tick.CoachTick(
                        id = 56, 
                        text = '', )
                    ],
                icu_garmin_health = True,
                icu_garmin_training = True,
                icu_garmin_sync_activities = True,
                garmin_sync_activity_types = [
                    'Ride'
                    ],
                garmin_sync_after = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                icu_garmin_download_wellness = True,
                icu_garmin_upload_workouts = True,
                icu_garmin_outdoor_power_range = 1.337,
                icu_garmin_hr_range = 1.337,
                garmin_pace_range = 1.337,
                garmin_power_target = 'POWER_LAP',
                icu_garmin_last_upload = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                icu_garmin_upload_filters = [
                    intervals_icu_client.models.activity_filter.ActivityFilter(
                        id = 56, 
                        field_id = 'type', 
                        code = '', 
                        operator = '', 
                        value = intervals_icu_client.models.value.value(), 
                        not = True, )
                    ],
                icu_garmin_wellness_keys = [
                    ''
                    ],
                open_step_duration = 56,
                polar_scope = '',
                polar_sync_activities = True,
                polar_sync_activity_types = [
                    'Ride'
                    ],
                polar_download_wellness = True,
                polar_wellness_keys = [
                    ''
                    ],
                suunto_scope = '',
                suunto_user_id = '',
                suunto_sync_activities = True,
                suunto_sync_activity_types = [
                    'Ride'
                    ],
                suunto_upload_workouts = True,
                suunto_outdoor_power_range = 1.337,
                suunto_hr_range = 1.337,
                suunto_pace_range = 1.337,
                suunto_last_upload = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                suunto_upload_filters = [
                    intervals_icu_client.models.activity_filter.ActivityFilter(
                        id = 56, 
                        field_id = 'type', 
                        code = '', 
                        operator = '', 
                        value = intervals_icu_client.models.value.value(), 
                        not = True, )
                    ],
                suunto_download_wellness = True,
                coros_user_id = '',
                coros_sync_activities = True,
                coros_upload_workouts = True,
                coros_download_wellness = True,
                coros_last_upload = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                concept2_user_id = '',
                concept2_sync_activities = True,
                zepp_user_id = '',
                zepp_sync_activities = True,
                zepp_upload_workouts = True,
                zepp_download_wellness = True,
                wahoo_user_id = '',
                wahoo_sync_activities = True,
                wahoo_upload_workouts = True,
                zwift_user_id = '',
                zwift_sync_activities = True,
                zwift_upload_workouts = True,
                dropbox_scope = '',
                oura_scope = '',
                oura_wellness_keys = [
                    ''
                    ],
                whoop_scope = '',
                whoop_wellness_keys = [
                    ''
                    ],
                google_scope = '',
                google_wellness_keys = [
                    ''
                    ],
                icu_email_verified = True,
                icu_email_disabled = '',
                icu_send_achievements = True,
                icu_send_newsletter = True,
                icu_send_private_chat = True,
                icu_send_private_msg = True,
                icu_send_follow_req = True,
                icu_send_group_chat = True,
                icu_send_group_msg = True,
                icu_send_activity_chat = True,
                icu_send_followed_activity_chat = True,
                icu_send_coached_activity_chat = True,
                icu_send_activity_msg = True,
                icu_send_coach_me_req = True,
                icu_send_gear_alerts = True,
                icu_send_plan_for_week = True,
                include_descr_in_plan_for_week = True,
                icu_send_followed_new_activity = True,
                icu_send_coached_new_activity = True,
                icu_send_coach_tick = True,
                strava_allowed = True,
                strava_id = 56,
                scope = '',
                strava_sync_activities = True,
                strava_sync_activity_types = [
                    'Ride'
                    ],
                strava_sync_other_activities = True,
                ignore_strava_gear = True,
                update_strava_name = True,
                add_weather_to_strava_descr = True,
                height = 1.337,
                height_units = 'CM',
                plan = 'FREE',
                plan_expires = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                trial_end_date = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                sponsored_by_chat_id = 56,
                has_password = True,
                beta_user = True,
                currency = '',
                training_plan_id = 56,
                training_plan_start_date = '',
                strava_authorized = True,
                sport_settings = [
                    intervals_icu_client.models.sport_settings.SportSettings(
                        id = 56, 
                        athlete_id = '', 
                        types = [
                            'Ride'
                            ], 
                        warmup_time = 56, 
                        cooldown_time = 56, 
                        ftp = 56, 
                        indoor_ftp = 56, 
                        w_prime = 56, 
                        p_max = 56, 
                        power_zones = [
                            56
                            ], 
                        sweet_spot_min = 56, 
                        sweet_spot_max = 56, 
                        power_spike_threshold = 56, 
                        power_zone_names = [
                            ''
                            ], 
                        ftp_est_min_secs = 56, 
                        use_laps_for_power_intervals = True, 
                        keep_all_laps_for_power_intervals = True, 
                        after_kj0 = 56, 
                        after_kj1 = 56, 
                        power_field = '', 
                        lthr = 56, 
                        max_hr = 56, 
                        hr_zones = [
                            56
                            ], 
                        hr_zone_names = [
                            ''
                            ], 
                        hr_load_type = 'AVG_HR', 
                        hrrc_min_percent = 1.337, 
                        threshold_pace = 1.337, 
                        pace_units = 'SECS_100M', 
                        pace_zones = [
                            1.337
                            ], 
                        pace_zone_names = [
                            ''
                            ], 
                        pace_load_type = 'SWIM', 
                        gap_model = 'NONE', 
                        elevation_correction = 'NO', 
                        use_gap_zone_times = True, 
                        best_effort_distances = [
                            1.337
                            ], 
                        pace_curve_start = 1.337, 
                        load_order = 'POWER_HR_PACE', 
                        tiz_order = 'POWER_HR_PACE', 
                        workout_order = 'POWER_HR_PACE', 
                        interval_display = 'POWER_HR_PACE', 
                        default_gear_id = '', 
                        default_indoor_gear_id = '', 
                        extract_workouts = True, 
                        show_pauses = 56, 
                        ignore_velocity = True, 
                        default_workout_time = '', 
                        created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        mmp_model = intervals_icu_client.models.power_model.PowerModel(
                            type = 'MS_2P', 
                            critical_power = 56, 
                            w_prime = 56, 
                            p_max = 56, 
                            input_point_indexes = [
                                56
                                ], 
                            ftp = 56, ), 
                        display = intervals_icu_client.models.display.Display(
                            color_scheme = '', 
                            low_intensity = 56, 
                            high_intensity = 56, 
                            low_load = 56, 
                            high_load = 56, 
                            use_paired_workout_color = True, 
                            ignore_workout_colors = True, 
                            show_average_hr = True, 
                            show_normalized_watts = True, 
                            show_load = True, 
                            show_work = True, 
                            show_work_above_ftp = True, 
                            show_weight_lifted = True, 
                            show_average_power = True, 
                            show_rpe = True, 
                            show_feel = True, 
                            show_pace = True, 
                            show_gap = True, 
                            show_intensity = True, 
                            show_name = True, 
                            show_intervals = True, 
                            show_skyline_chart = True, 
                            show_paired_workout_chart = True, 
                            show_description = True, 
                            show_start_time = True, 
                            precise_distance = True, 
                            shrink_warmup = True, 
                            shrink_cooldown = True, 
                            shrink_commute = True, 
                            color = '', 
                            color2 = '', ), 
                        activity_field_ids = [
                            56
                            ], 
                        activity_charts = intervals_icu_client.models.activity_charts.ActivityCharts(
                            home = [
                                intervals_icu_client.models.pos.Pos(
                                    id = '', 
                                    width = '', 
                                    height = '', )
                                ], 
                            power = [
                                intervals_icu_client.models.pos.Pos(
                                    id = '', 
                                    width = '', 
                                    height = '', )
                                ], 
                            hr = [
                                
                                ], 
                            pace = [
                                
                                ], 
                            data = [
                                
                                ], ), 
                        custom_field_ids = [
                            56
                            ], 
                        custom_field_values = {
                            'key' : None
                            }, 
                        custom_zones_ids = [
                            56
                            ], 
                        other = True, 
                        ise_ftp_supported = True, 
                        use_distance_for_intervals = True, )
                    ],
                custom_items = [
                    intervals_icu_client.models.custom_item.CustomItem(
                        id = 56, 
                        athlete_id = '', 
                        type = 'FITNESS_CHART', 
                        visibility = 'PRIVATE', 
                        name = '', 
                        description = '', 
                        image = '', 
                        content = {
                            'key' : None
                            }, 
                        usage_count = 56, 
                        index = 56, 
                        hide_script = True, 
                        hidden_by_id = '', 
                        updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        from_athlete = intervals_icu_client.models.athlete_search_result.AthleteSearchResult(
                            id = '', 
                            name = '', 
                            profile_medium = '', 
                            city = '', 
                            state = '', 
                            country = '', 
                            timezone = '', 
                            sex = '', 
                            bio = '', 
                            website = '', 
                            email = '', ), 
                        from_id = 56, )
                    ]
            )
        else:
            return WithSportSettings(
        )
        """

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

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