namespace Emby.Naming.Video
{
    /// 
    /// Holder structure for name and year.
    /// 
    public readonly struct CleanDateTimeResult
    {
        /// 
        /// Initializes a new instance of the  struct.
        /// 
        /// Name of video.
        /// Year of release.
        public CleanDateTimeResult(string name, int? year = null)
        {
            Name = name;
            Year = year;
        }
        /// 
        /// Gets the name.
        /// 
        /// The name.
        public string Name { get; }
        /// 
        /// Gets the year.
        /// 
        /// The year.
        public int? Year { get; }
    }
}