aboutsummaryrefslogtreecommitdiff
path: root/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ProgramDetailsDto.cs
blob: 7bfc4bc8bee18d978140e279990df2e43ce3dd84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos
{
    /// <summary>
    /// Program details dto.
    /// </summary>
    public class ProgramDetailsDto
    {
        /// <summary>
        /// Gets or sets the audience.
        /// </summary>
        [JsonPropertyName("audience")]
        public string? Audience { get; set; }

        /// <summary>
        /// Gets or sets the program id.
        /// </summary>
        [JsonPropertyName("programID")]
        public string? ProgramId { get; set; }

        /// <summary>
        /// Gets or sets the list of titles.
        /// </summary>
        [JsonPropertyName("titles")]
        public IReadOnlyList<TitleDto> Titles { get; set; } = Array.Empty<TitleDto>();

        /// <summary>
        /// Gets or sets the event details object.
        /// </summary>
        [JsonPropertyName("eventDetails")]
        public EventDetailsDto? EventDetails { get; set; }

        /// <summary>
        /// Gets or sets the descriptions.
        /// </summary>
        [JsonPropertyName("descriptions")]
        public DescriptionsProgramDto? Descriptions { get; set; }

        /// <summary>
        /// Gets or sets the original air date.
        /// </summary>
        [JsonPropertyName("originalAirDate")]
        public DateTime? OriginalAirDate { get; set; }

        /// <summary>
        /// Gets or sets the list of genres.
        /// </summary>
        [JsonPropertyName("genres")]
        public IReadOnlyList<string> Genres { get; set; } = Array.Empty<string>();

        /// <summary>
        /// Gets or sets the episode title.
        /// </summary>
        [JsonPropertyName("episodeTitle150")]
        public string? EpisodeTitle150 { get; set; }

        /// <summary>
        /// Gets or sets the list of metadata.
        /// </summary>
        [JsonPropertyName("metadata")]
        public IReadOnlyList<MetadataProgramsDto> Metadata { get; set; } = Array.Empty<MetadataProgramsDto>();

        /// <summary>
        /// Gets or sets the list of content ratings.
        /// </summary>
        [JsonPropertyName("contentRating")]
        public IReadOnlyList<ContentRatingDto> ContentRating { get; set; } = Array.Empty<ContentRatingDto>();

        /// <summary>
        /// Gets or sets the list of cast.
        /// </summary>
        [JsonPropertyName("cast")]
        public IReadOnlyList<CastDto> Cast { get; set; } = Array.Empty<CastDto>();

        /// <summary>
        /// Gets or sets the list of crew.
        /// </summary>
        [JsonPropertyName("crew")]
        public IReadOnlyList<CrewDto> Crew { get; set; } = Array.Empty<CrewDto>();

        /// <summary>
        /// Gets or sets the entity type.
        /// </summary>
        [JsonPropertyName("entityType")]
        public string? EntityType { get; set; }

        /// <summary>
        /// Gets or sets the show type.
        /// </summary>
        [JsonPropertyName("showType")]
        public string? ShowType { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether there is image artwork.
        /// </summary>
        [JsonPropertyName("hasImageArtwork")]
        public bool HasImageArtwork { get; set; }

        /// <summary>
        /// Gets or sets the primary image.
        /// </summary>
        [JsonPropertyName("primaryImage")]
        public string? PrimaryImage { get; set; }

        /// <summary>
        /// Gets or sets the thumb image.
        /// </summary>
        [JsonPropertyName("thumbImage")]
        public string? ThumbImage { get; set; }

        /// <summary>
        /// Gets or sets the backdrop image.
        /// </summary>
        [JsonPropertyName("backdropImage")]
        public string? BackdropImage { get; set; }

        /// <summary>
        /// Gets or sets the banner image.
        /// </summary>
        [JsonPropertyName("bannerImage")]
        public string? BannerImage { get; set; }

        /// <summary>
        /// Gets or sets the image id.
        /// </summary>
        [JsonPropertyName("imageID")]
        public string? ImageId { get; set; }

        /// <summary>
        /// Gets or sets the md5.
        /// </summary>
        [JsonPropertyName("md5")]
        public string? Md5 { get; set; }

        /// <summary>
        /// Gets or sets the list of content advisory.
        /// </summary>
        [JsonPropertyName("contentAdvisory")]
        public IReadOnlyList<string> ContentAdvisory { get; set; } = Array.Empty<string>();

        /// <summary>
        /// Gets or sets the movie object.
        /// </summary>
        [JsonPropertyName("movie")]
        public MovieDto? Movie { get; set; }

        /// <summary>
        /// Gets or sets the list of recommendations.
        /// </summary>
        [JsonPropertyName("recommendations")]
        public IReadOnlyList<RecommendationDto> Recommendations { get; set; } = Array.Empty<RecommendationDto>();
    }
}