//------------------------------------------------------------------------------
//
// 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 GetAllMediaLibraryRequest
{
///
/// 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!;
///
/// 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 GetAllMediaLibraryQueryParamType Type { get; set; } = default!;
///
/// Adds the Meta object to the response
///
///
///
///
///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeMeta")]
public GetAllMediaLibraryQueryParamIncludeMeta? IncludeMeta { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.GetAllMediaLibraryQueryParamIncludeMeta.Disable;
///
/// Adds the Guid object to the response
///
///
///
///
///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeGuids")]
public QueryParamIncludeGuids? IncludeGuids { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamIncludeGuids.Disable;
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeAdvanced")]
public IncludeAdvanced? IncludeAdvanced { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeAdvanced.Disable;
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeCollections")]
public QueryParamIncludeCollections? IncludeCollections { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamIncludeCollections.Disable;
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeExternalMedia")]
public QueryParamIncludeExternalMedia? IncludeExternalMedia { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamIncludeExternalMedia.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;
}
}