//------------------------------------------------------------------------------ // // This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. // // Changes to this file may cause incorrect behavior and will be lost when // the code is regenerated. // //------------------------------------------------------------------------------ #nullable enable namespace PlexAPI.Models.Requests { using Newtonsoft.Json; using System; /// /// The Pin /// public class GetPinResponseBody { /// /// PinID for use with authentication /// [JsonProperty("id")] public double? Id { get; set; } [JsonProperty("code")] public string? Code { get; set; } [JsonProperty("product")] public string? Product { get; set; } [JsonProperty("trusted")] public bool? Trusted { get; set; } /// /// a link to a QR code hosted on plex.tv
/// /// /// The QR code redirects to the relevant `plex.tv/link` authentication page
/// Which then prompts the user for the 4 Digit Link Pin
/// ///
///
[JsonProperty("qr")] public string? Qr { get; set; } [JsonProperty("clientIdentifier")] public string? ClientIdentifier { get; set; } [JsonProperty("location")] public Location? Location { get; set; } [JsonProperty("expiresIn")] public double? ExpiresIn { get; set; } [JsonProperty("createdAt")] public DateTime? CreatedAt { get; set; } [JsonProperty("expiresAt")] public DateTime? ExpiresAt { get; set; } [JsonProperty("authToken")] public string? AuthToken { get; set; } [JsonProperty("newRegistration")] public string? NewRegistration { get; set; } } }