using System; using System.Collections.Generic; using MediaBrowser.Controller.Entities; using MediaBrowser.Model.Dto; namespace MediaBrowser.Controller.Library; /// /// A recommendation category derived from a baseline item, holding similar items prior to DTO conversion. /// public sealed class SimilarItemsRecommendation { /// /// Gets the display name of the baseline item the recommendation is based on. /// public required string BaselineItemName { get; init; } /// /// Gets an identifier for the recommendation category. /// public required Guid CategoryId { get; init; } /// /// Gets the recommendation type. /// public required RecommendationType RecommendationType { get; init; } /// /// Gets the similar items for the baseline, ordered by relevance. /// public required IReadOnlyList Items { get; init; } }