# coding: utf-8

"""
    Jellyfin API

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

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

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


import unittest

from openapi_client.models.theme_media_result import ThemeMediaResult

class TestThemeMediaResult(unittest.TestCase):
    """ThemeMediaResult unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ThemeMediaResult:
        """Test ThemeMediaResult
            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 `ThemeMediaResult`
        """
        model = ThemeMediaResult()
        if include_optional:
            return ThemeMediaResult(
                items = [
                    openapi_client.models.base_item_dto.BaseItemDto(
                        name = '', 
                        original_title = '', 
                        server_id = '', 
                        id = '', 
                        etag = '', 
                        source_type = '', 
                        playlist_item_id = '', 
                        date_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        date_last_media_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        extra_type = 'Unknown', 
                        airs_before_season_number = 56, 
                        airs_after_season_number = 56, 
                        airs_before_episode_number = 56, 
                        can_delete = True, 
                        can_download = True, 
                        has_lyrics = True, 
                        has_subtitles = True, 
                        preferred_metadata_language = '', 
                        preferred_metadata_country_code = '', 
                        container = '', 
                        sort_name = '', 
                        forced_sort_name = '', 
                        video3_d_format = 'HalfSideBySide', 
                        premiere_date = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        external_urls = [
                            openapi_client.models.external_url.ExternalUrl(
                                name = '', 
                                url = '', )
                            ], 
                        media_sources = [
                            openapi_client.models.media_source_info.MediaSourceInfo(
                                protocol = 'File', 
                                id = '', 
                                path = '', 
                                encoder_path = '', 
                                encoder_protocol = 'File', 
                                type = 'Default', 
                                container = '', 
                                size = 56, 
                                name = '', 
                                is_remote = True, 
                                e_tag = '', 
                                run_time_ticks = 56, 
                                read_at_native_framerate = True, 
                                ignore_dts = True, 
                                ignore_index = True, 
                                gen_pts_input = True, 
                                supports_transcoding = True, 
                                supports_direct_stream = True, 
                                supports_direct_play = True, 
                                is_infinite_stream = True, 
                                use_most_compatible_transcoding_profile = True, 
                                requires_opening = True, 
                                open_token = '', 
                                requires_closing = True, 
                                live_stream_id = '', 
                                buffer_ms = 56, 
                                requires_looping = True, 
                                supports_probing = True, 
                                video_type = 'VideoFile', 
                                iso_type = 'Dvd', 
                                video3_d_format = 'HalfSideBySide', 
                                media_streams = [
                                    openapi_client.models.media_stream.MediaStream(
                                        codec = '', 
                                        codec_tag = '', 
                                        language = '', 
                                        color_range = '', 
                                        color_space = '', 
                                        color_transfer = '', 
                                        color_primaries = '', 
                                        dv_version_major = 56, 
                                        dv_version_minor = 56, 
                                        dv_profile = 56, 
                                        dv_level = 56, 
                                        rpu_present_flag = 56, 
                                        el_present_flag = 56, 
                                        bl_present_flag = 56, 
                                        dv_bl_signal_compatibility_id = 56, 
                                        rotation = 56, 
                                        comment = '', 
                                        time_base = '', 
                                        codec_time_base = '', 
                                        title = '', 
                                        hdr10_plus_present_flag = True, 
                                        video_range = 'Unknown', 
                                        video_range_type = 'Unknown', 
                                        video_do_vi_title = '', 
                                        audio_spatial_format = 'None', 
                                        localized_undefined = '', 
                                        localized_default = '', 
                                        localized_forced = '', 
                                        localized_external = '', 
                                        localized_hearing_impaired = '', 
                                        display_title = '', 
                                        nal_length_size = '', 
                                        is_interlaced = True, 
                                        is_avc = True, 
                                        channel_layout = '', 
                                        bit_rate = 56, 
                                        bit_depth = 56, 
                                        ref_frames = 56, 
                                        packet_length = 56, 
                                        channels = 56, 
                                        sample_rate = 56, 
                                        is_default = True, 
                                        is_forced = True, 
                                        is_hearing_impaired = True, 
                                        height = 56, 
                                        width = 56, 
                                        average_frame_rate = 1.337, 
                                        real_frame_rate = 1.337, 
                                        reference_frame_rate = 1.337, 
                                        profile = '', 
                                        type = 'Audio', 
                                        aspect_ratio = '', 
                                        index = 56, 
                                        score = 56, 
                                        is_external = True, 
                                        delivery_method = 'Encode', 
                                        delivery_url = '', 
                                        is_external_url = True, 
                                        is_text_subtitle_stream = True, 
                                        supports_external_stream = True, 
                                        path = '', 
                                        pixel_format = '', 
                                        level = 1.337, 
                                        is_anamorphic = True, )
                                    ], 
                                media_attachments = [
                                    openapi_client.models.media_attachment.MediaAttachment(
                                        codec = '', 
                                        codec_tag = '', 
                                        comment = '', 
                                        index = 56, 
                                        file_name = '', 
                                        mime_type = '', 
                                        delivery_url = '', )
                                    ], 
                                formats = [
                                    ''
                                    ], 
                                bitrate = 56, 
                                fallback_max_streaming_bitrate = 56, 
                                timestamp = 'None', 
                                required_http_headers = {
                                    'key' : ''
                                    }, 
                                transcoding_url = '', 
                                transcoding_sub_protocol = 'http', 
                                transcoding_container = '', 
                                analyze_duration_ms = 56, 
                                default_audio_stream_index = 56, 
                                default_subtitle_stream_index = 56, 
                                has_segments = True, )
                            ], 
                        critic_rating = 1.337, 
                        production_locations = [
                            ''
                            ], 
                        path = '', 
                        enable_media_source_display = True, 
                        official_rating = '', 
                        custom_rating = '', 
                        channel_id = '', 
                        channel_name = '', 
                        overview = '', 
                        taglines = [
                            ''
                            ], 
                        genres = [
                            ''
                            ], 
                        community_rating = 1.337, 
                        cumulative_run_time_ticks = 56, 
                        run_time_ticks = 56, 
                        play_access = 'Full', 
                        aspect_ratio = '', 
                        production_year = 56, 
                        is_place_holder = True, 
                        number = '', 
                        channel_number = '', 
                        index_number = 56, 
                        index_number_end = 56, 
                        parent_index_number = 56, 
                        remote_trailers = [
                            openapi_client.models.media_url.MediaUrl(
                                url = '', 
                                name = '', )
                            ], 
                        provider_ids = {
                            'key' : ''
                            }, 
                        is_hd = True, 
                        is_folder = True, 
                        parent_id = '', 
                        type = 'AggregateFolder', 
                        people = [
                            openapi_client.models.base_item_person.BaseItemPerson(
                                name = '', 
                                id = '', 
                                role = '', 
                                type = 'Unknown', 
                                primary_image_tag = '', 
                                image_blur_hashes = openapi_client.models.base_item_person_image_blur_hashes.BaseItemPerson_ImageBlurHashes(
                                    primary = {
                                        'key' : ''
                                        }, 
                                    art = {
                                        'key' : ''
                                        }, 
                                    backdrop = {
                                        'key' : ''
                                        }, 
                                    banner = {
                                        'key' : ''
                                        }, 
                                    logo = {
                                        'key' : ''
                                        }, 
                                    thumb = {
                                        'key' : ''
                                        }, 
                                    disc = {
                                        'key' : ''
                                        }, 
                                    box = {
                                        'key' : ''
                                        }, 
                                    screenshot = {
                                        'key' : ''
                                        }, 
                                    menu = {
                                        'key' : ''
                                        }, 
                                    chapter = {
                                        'key' : ''
                                        }, 
                                    box_rear = {
                                        'key' : ''
                                        }, 
                                    profile = {
                                        'key' : ''
                                        }, ), )
                            ], 
                        studios = [
                            openapi_client.models.name_guid_pair.NameGuidPair(
                                name = '', 
                                id = '', )
                            ], 
                        genre_items = [
                            openapi_client.models.name_guid_pair.NameGuidPair(
                                name = '', 
                                id = '', )
                            ], 
                        parent_logo_item_id = '', 
                        parent_backdrop_item_id = '', 
                        parent_backdrop_image_tags = [
                            ''
                            ], 
                        local_trailer_count = 56, 
                        user_data = null, 
                        recursive_item_count = 56, 
                        child_count = 56, 
                        series_name = '', 
                        series_id = '', 
                        season_id = '', 
                        special_feature_count = 56, 
                        display_preferences_id = '', 
                        status = '', 
                        air_time = '', 
                        air_days = [
                            'Sunday'
                            ], 
                        tags = [
                            ''
                            ], 
                        primary_image_aspect_ratio = 1.337, 
                        artists = [
                            ''
                            ], 
                        artist_items = [
                            
                            ], 
                        album = '', 
                        collection_type = 'unknown', 
                        display_order = '', 
                        album_id = '', 
                        album_primary_image_tag = '', 
                        series_primary_image_tag = '', 
                        album_artist = '', 
                        album_artists = [
                            
                            ], 
                        season_name = '', 
                        media_streams = [
                            openapi_client.models.media_stream.MediaStream(
                                codec = '', 
                                codec_tag = '', 
                                language = '', 
                                color_range = '', 
                                color_space = '', 
                                color_transfer = '', 
                                color_primaries = '', 
                                dv_version_major = 56, 
                                dv_version_minor = 56, 
                                dv_profile = 56, 
                                dv_level = 56, 
                                rpu_present_flag = 56, 
                                el_present_flag = 56, 
                                bl_present_flag = 56, 
                                dv_bl_signal_compatibility_id = 56, 
                                rotation = 56, 
                                comment = '', 
                                time_base = '', 
                                codec_time_base = '', 
                                title = '', 
                                hdr10_plus_present_flag = True, 
                                video_range = 'Unknown', 
                                video_range_type = 'Unknown', 
                                video_do_vi_title = '', 
                                audio_spatial_format = 'None', 
                                localized_undefined = '', 
                                localized_default = '', 
                                localized_forced = '', 
                                localized_external = '', 
                                localized_hearing_impaired = '', 
                                display_title = '', 
                                nal_length_size = '', 
                                is_interlaced = True, 
                                is_avc = True, 
                                channel_layout = '', 
                                bit_rate = 56, 
                                bit_depth = 56, 
                                ref_frames = 56, 
                                packet_length = 56, 
                                channels = 56, 
                                sample_rate = 56, 
                                is_default = True, 
                                is_forced = True, 
                                is_hearing_impaired = True, 
                                height = 56, 
                                width = 56, 
                                average_frame_rate = 1.337, 
                                real_frame_rate = 1.337, 
                                reference_frame_rate = 1.337, 
                                type = 'Audio', 
                                aspect_ratio = '', 
                                index = 56, 
                                score = 56, 
                                is_external = True, 
                                delivery_method = 'Encode', 
                                delivery_url = '', 
                                is_external_url = True, 
                                is_text_subtitle_stream = True, 
                                supports_external_stream = True, 
                                path = '', 
                                pixel_format = '', 
                                level = 1.337, 
                                is_anamorphic = True, )
                            ], 
                        video_type = 'VideoFile', 
                        part_count = 56, 
                        media_source_count = 56, 
                        image_tags = {
                            'key' : ''
                            }, 
                        backdrop_image_tags = [
                            ''
                            ], 
                        screenshot_image_tags = [
                            ''
                            ], 
                        parent_logo_image_tag = '', 
                        parent_art_item_id = '', 
                        parent_art_image_tag = '', 
                        series_thumb_image_tag = '', 
                        image_blur_hashes = openapi_client.models.base_item_dto_image_blur_hashes.BaseItemDto_ImageBlurHashes(), 
                        series_studio = '', 
                        parent_thumb_item_id = '', 
                        parent_thumb_image_tag = '', 
                        parent_primary_image_item_id = '', 
                        parent_primary_image_tag = '', 
                        chapters = [
                            openapi_client.models.chapter_info.ChapterInfo(
                                start_position_ticks = 56, 
                                name = '', 
                                image_path = '', 
                                image_date_modified = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                                image_tag = '', )
                            ], 
                        trickplay = {
                            'key' : {
                                'key' : openapi_client.models.trickplay_info.TrickplayInfo(
                                    item_id = '', 
                                    width = 56, 
                                    height = 56, 
                                    tile_width = 56, 
                                    tile_height = 56, 
                                    thumbnail_count = 56, 
                                    interval = 56, 
                                    bandwidth = 56, )
                                }
                            }, 
                        location_type = 'FileSystem', 
                        iso_type = 'Dvd', 
                        media_type = 'Unknown', 
                        end_date = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        locked_fields = [
                            'Cast'
                            ], 
                        trailer_count = 56, 
                        movie_count = 56, 
                        series_count = 56, 
                        program_count = 56, 
                        episode_count = 56, 
                        song_count = 56, 
                        album_count = 56, 
                        artist_count = 56, 
                        music_video_count = 56, 
                        lock_data = True, 
                        width = 56, 
                        height = 56, 
                        camera_make = '', 
                        camera_model = '', 
                        software = '', 
                        exposure_time = 1.337, 
                        focal_length = 1.337, 
                        image_orientation = 'TopLeft', 
                        aperture = 1.337, 
                        shutter_speed = 1.337, 
                        latitude = 1.337, 
                        longitude = 1.337, 
                        altitude = 1.337, 
                        iso_speed_rating = 56, 
                        series_timer_id = '', 
                        program_id = '', 
                        channel_primary_image_tag = '', 
                        start_date = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        completion_percentage = 1.337, 
                        is_repeat = True, 
                        episode_title = '', 
                        channel_type = 'TV', 
                        audio = 'Mono', 
                        is_movie = True, 
                        is_sports = True, 
                        is_series = True, 
                        is_live = True, 
                        is_news = True, 
                        is_kids = True, 
                        is_premiere = True, 
                        timer_id = '', 
                        normalization_gain = 1.337, 
                        current_program = null, )
                    ],
                total_record_count = 56,
                start_index = 56,
                owner_id = ''
            )
        else:
            return ThemeMediaResult(
        )
        """

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

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