using System.Xml.Serialization; namespace ErsatzTV.Infrastructure.Plex.Models; public class PlexXmlPartResponse { [XmlAttribute("id")] public int Id { get; set; } [XmlAttribute("key")] public string Key { get; set; } [XmlAttribute("duration")] public int Duration { get; set; } [XmlAttribute("file")] public string File { get; set; } [XmlAttribute("size")] public long Size { get; set; } [XmlAttribute("container")] public string Container { get; set; } [XmlAttribute("videoProfile")] public string VideoProfile { get; set; } [XmlAttribute("audioProfile")] public string AudioProfile { get; set; } [XmlElement("Stream")] public List Stream { get; set; } }