using System.Text.Json.Serialization; /// /// Rappresenta un film con le sue proprietà principali. /// Non ho preso tutte le proprietà disponibili dall'API OMDB, solo quelle richieste. /// public class Movie { public required string Title { get; set; } public required string Year { get; set; } [JsonPropertyName("imdbID")] public required string IdIMDB { get; set; } public required string Poster { get; set; } public string Runtime { get; set; } = "N/A"; public string Plot { get; set; } = "N/A"; }