//------------------------------------------------------------------------------ // // This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. // // Changes to this file may cause incorrect behavior and will be lost when // the code is regenerated. // //------------------------------------------------------------------------------ #nullable enable namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; public class GetRecentlyAddedRequest { /// /// The content directory ID. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=contentDirectoryID")] public long ContentDirectoryID { get; set; } = default!; /// /// Comma-separated list of pinned content directory IDs. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=pinnedContentDirectoryID")] public string? PinnedContentDirectoryID { get; set; } /// /// The library section ID for filtering content. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=sectionID")] public long? SectionID { get; set; } /// /// The type of media to retrieve or filter by.
/// /// /// 1 = movie
/// 2 = show
/// 3 = season
/// 4 = episode
/// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
/// ///
///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=type")] public Models.Requests.Type Type { get; set; } = default!; /// /// Adds the Meta object to the response
/// /// /// /// ///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeMeta")] public IncludeMeta? IncludeMeta { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeMeta.Disable; /// /// The index of the first item to return. If not specified, the first item will be returned.
/// /// /// If the number of items exceeds the limit, the response will be paginated.
/// By default this is 0
/// ///
///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Container-Start")] public int? XPlexContainerStart { get; set; } = 0; /// /// The number of items to return. If not specified, all items will be returned.
/// /// /// If the number of items exceeds the limit, the response will be paginated.
/// By default this is 50
/// ///
///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Container-Size")] public int? XPlexContainerSize { get; set; } = 50; } }