//------------------------------------------------------------------------------ // // 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; public class GetLibraryItemsRequest { /// /// The unique key of the Plex library.
/// /// /// Note: This is unique in the context of the Plex server.
/// ///
///
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=sectionKey")] public int SectionKey { get; set; } = default!; /// /// A key representing a specific tag within the section. /// [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=tag")] public Tag Tag { get; set; } = default!; /// /// The type of media to retrieve.
/// /// /// 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 Guids object to the response
/// /// /// /// ///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeGuids")] public IncludeGuids? IncludeGuids { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeGuids.Disable; /// /// 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; } }