//------------------------------------------------------------------------------ // // 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.Components; using LukeHagar.PlexAPI.SDK.Utils; public class GetLibraryMatchesRequest { /// /// Indicates the client accepts the indicated media types /// [SpeakeasyMetadata("header:style=simple,explode=false,name=accepts")] public Accepts? Accepts { get; set; } = LukeHagar.PlexAPI.SDK.Models.Components.Accepts.ApplicationXml; /// /// An opaque identifier unique to the client /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")] public string? ClientIdentifier { get; set; } /// /// The name of the client product /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Product")] public string? Product { get; set; } /// /// The version of the client application /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Version")] public string? Version { get; set; } /// /// The platform of the client /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Platform")] public string? Platform { get; set; } /// /// The version of the platform /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Platform-Version")] public string? PlatformVersion { get; set; } /// /// A relatively friendly name for the client device /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Device")] public string? Device { get; set; } /// /// A potentially less friendly identifier for the device model /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Model")] public string? Model { get; set; } /// /// The device vendor /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Device-Vendor")] public string? DeviceVendor { get; set; } /// /// A friendly name for the client /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Device-Name")] public string? DeviceName { get; set; } /// /// The marketplace on which the client application is distributed /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Marketplace")] public string? Marketplace { get; set; } /// /// The metadata type to filter by /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=type")] public long? Type { get; set; } [SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeFullMetadata")] public BoolInt? IncludeFullMetadata { get; set; } [SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeAncestorMetadata")] public BoolInt? IncludeAncestorMetadata { get; set; } [SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeAlternateMetadataSources")] public BoolInt? IncludeAlternateMetadataSources { get; set; } /// /// Used for movies, shows, artists, albums, and tracks. Allowed for various URI schemes, to be defined. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=guid")] public string? Guid { get; set; } /// /// The title to filter by or assign /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=title")] public string? Title { get; set; } /// /// Used for movies shows, and albums. Optional. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=year")] public long? Year { get; set; } /// /// Used for movies, episodes, and tracks. The full path to the media file, used for "cloud-scanning" an item. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=path")] public string? Path { get; set; } /// /// Used for episodes and tracks. The title of the show/artist. Required if `path` isn't passed. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=grandparentTitle")] public string? GrandparentTitle { get; set; } /// /// Used for episodes. The year of the show. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=grandparentYear")] public long? GrandparentYear { get; set; } /// /// Used for episodes and tracks. The season/album number. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=parentIndex")] public long? ParentIndex { get; set; } /// /// Used for episodes and tracks. The episode/tracks number in the season/album. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=index")] public long? Index { get; set; } /// /// Used for episodes. In the format `YYYY-MM-DD`. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=originallyAvailableAt")] public string? OriginallyAvailableAt { get; set; } /// /// Used for albums and tracks. The artist name for albums or the album name for tracks. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=parentTitle")] public string? ParentTitle { get; set; } } }