using System.Xml.Serialization; namespace ErsatzTV.Infrastructure.Plex.Models; public class PlexMetadataResponse { [XmlAttribute("key")] public string Key { get; set; } [XmlAttribute("title")] public string Title { get; set; } [XmlAttribute("contentRating")] public string ContentRating { get; set; } [XmlAttribute("summary")] public string Summary { get; set; } [XmlAttribute("year")] public int Year { get; set; } [XmlAttribute("tagline")] public string Tagline { get; set; } [XmlAttribute("thumb")] public string Thumb { get; set; } [XmlAttribute("art")] public string Art { get; set; } [XmlAttribute("originallyAvailableAt")] public string OriginallyAvailableAt { get; set; } [XmlAttribute("addedAt")] public long AddedAt { get; set; } [XmlAttribute("updatedAt")] public long UpdatedAt { get; set; } [XmlAttribute("index")] public int Index { get; set; } [XmlAttribute("studio")] public string Studio { get; set; } [XmlAttribute("rating")] public double Rating { get; set; } [XmlAttribute("audienceRating")] public double AudienceRating { get; set; } [XmlAttribute("audienceRatingImage")] public string AudienceRatingImage { get; set; } [XmlAttribute("ratingImage")] public string RatingImage { get; set; } [XmlIgnore] public virtual List> Media { get; set; } [XmlElement("Genre")] public List Genre { get; set; } [XmlElement("Label")] public List Label { get; set; } [XmlElement("Role")] public List Role { get; set; } [XmlElement("Director")] public List Director { get; set; } [XmlElement("Writer")] public List Writer { get; set; } [XmlElement("Collection")] public List Collection { get; set; } [XmlElement("Chapter")] public List Chapters { get; set; } }