//------------------------------------------------------------------------------ // // 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.Utils; public class GetPinRequest { /// /// Determines the kind of code returned by the API call
/// /// /// Strong codes are used for Pin authentication flows
/// Non-Strong codes are used for `Plex.tv/link`
/// ///
///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=strong")] public bool? Strong { get; set; } = false; /// /// An opaque identifier unique to the client (UUID, serial number, or other unique device ID) /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")] public string? ClientID { get; set; } /// /// The name of the client application. (Plex Web, Plex Media Server, etc.) /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Product")] public string? ClientName { get; set; } /// /// A relatively friendly name for the client device /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Device")] public string? DeviceNickname { get; set; } /// /// The version of the client application. /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Version")] public string? ClientVersion { get; set; } /// /// The platform of the client application. /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Platform")] public string? Platform { get; set; } } }