aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Plugins.Trailers/TrailerInfo.cs
blob: e3c661b67f64a0bf37baeb0ace9af8b6761bb741 (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
using MediaBrowser.Controller.Entities;
using System;

namespace MediaBrowser.Plugins.Trailers
{
    /// <summary>
    /// This is a stub class used to hold information about a trailer
    /// </summary>
    public class TrailerInfo
    {
        /// <summary>
        /// Gets or sets the video.
        /// </summary>
        /// <value>The video.</value>
        public Trailer Video { get; set; }
        /// <summary>
        /// Gets or sets the image URL.
        /// </summary>
        /// <value>The image URL.</value>
        public string ImageUrl { get; set; }
        /// <summary>
        /// Gets or sets the hd image URL.
        /// </summary>
        /// <value>The hd image URL.</value>
        public string HdImageUrl { get; set; }
        /// <summary>
        /// Gets or sets the trailer URL.
        /// </summary>
        /// <value>The trailer URL.</value>
        public string TrailerUrl { get; set; }
        /// <summary>
        /// Gets or sets the post date.
        /// </summary>
        /// <value>The post date.</value>
        public DateTime PostDate { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="TrailerInfo" /> class.
        /// </summary>
        public TrailerInfo()
        {
            Video = new Trailer();
        }
    }
}