|
|
@ -6,9 +6,10 @@ namespace NzbDrone.Core.Notifications.Plex.Server
|
|
|
|
public class PlexSectionItem
|
|
|
|
public class PlexSectionItem
|
|
|
|
{
|
|
|
|
{
|
|
|
|
[JsonProperty("ratingKey")]
|
|
|
|
[JsonProperty("ratingKey")]
|
|
|
|
public int Id { get; set; }
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
|
|
|
public string Guid { get; set; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class PlexSectionResponse
|
|
|
|
public class PlexSectionResponse
|
|
|
@ -26,5 +27,10 @@ namespace NzbDrone.Core.Notifications.Plex.Server
|
|
|
|
{
|
|
|
|
{
|
|
|
|
[JsonProperty("_children")]
|
|
|
|
[JsonProperty("_children")]
|
|
|
|
public List<PlexSectionItem> Items { get; set; }
|
|
|
|
public List<PlexSectionItem> Items { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public PlexSectionResponseLegacy()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Items = new List<PlexSectionItem>();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|