mirror of
https://github.com/LukeHagar/plexcsharp.git
synced 2025-12-06 04:20:46 +00:00
85 lines
3.2 KiB
C#
85 lines
3.2 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 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.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
#nullable enable
|
|
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
|
{
|
|
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
|
using LukeHagar.PlexAPI.SDK.Utils;
|
|
|
|
public class GetRecentlyAddedRequest
|
|
{
|
|
|
|
/// <summary>
|
|
/// The content directory ID.
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=contentDirectoryID")]
|
|
public long ContentDirectoryID { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// Comma-separated list of pinned content directory IDs.
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=pinnedContentDirectoryID")]
|
|
public string? PinnedContentDirectoryID { get; set; }
|
|
|
|
/// <summary>
|
|
/// The library section ID for filtering content.
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=sectionID")]
|
|
public long? SectionID { get; set; }
|
|
|
|
/// <summary>
|
|
/// The type of media to retrieve or filter by.<br/>
|
|
///
|
|
/// <remarks>
|
|
/// 1 = movie<br/>
|
|
/// 2 = show<br/>
|
|
/// 3 = season<br/>
|
|
/// 4 = episode<br/>
|
|
/// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries<br/>
|
|
///
|
|
/// </remarks>
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=type")]
|
|
public Models.Requests.Type Type { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// Adds the Meta object to the response<br/>
|
|
///
|
|
/// <remarks>
|
|
///
|
|
/// </remarks>
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeMeta")]
|
|
public IncludeMeta? IncludeMeta { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeMeta.Disable;
|
|
|
|
/// <summary>
|
|
/// The index of the first item to return. If not specified, the first item will be returned.<br/>
|
|
///
|
|
/// <remarks>
|
|
/// If the number of items exceeds the limit, the response will be paginated.<br/>
|
|
/// By default this is 0<br/>
|
|
///
|
|
/// </remarks>
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Container-Start")]
|
|
public int? XPlexContainerStart { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// The number of items to return. If not specified, all items will be returned.<br/>
|
|
///
|
|
/// <remarks>
|
|
/// If the number of items exceeds the limit, the response will be paginated.<br/>
|
|
/// By default this is 50<br/>
|
|
///
|
|
/// </remarks>
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Container-Size")]
|
|
public int? XPlexContainerSize { get; set; } = 50;
|
|
}
|
|
} |