ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.391.3

This commit is contained in:
speakeasybot
2024-09-06 17:13:00 +00:00
parent 2bed38d2cb
commit d077d5e9f0
610 changed files with 4195 additions and 3384 deletions

View File

@@ -0,0 +1,262 @@
//------------------------------------------------------------------------------
// <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;
using Newtonsoft.Json;
using System.Collections.Generic;
using System;
/// <summary>
/// Returns the user account data with a valid auth token
/// </summary>
public class PostUsersSignInDataUserPlexAccount
{
/// <summary>
/// Unknown
/// </summary>
[JsonProperty("adsConsent", NullValueHandling = NullValueHandling.Include)]
public bool? AdsConsent { get; set; }
/// <summary>
/// Unknown
/// </summary>
[JsonProperty("adsConsentReminderAt", NullValueHandling = NullValueHandling.Include)]
public DateTime? AdsConsentReminderAt { get; set; }
/// <summary>
/// Unknown
/// </summary>
[JsonProperty("adsConsentSetAt", NullValueHandling = NullValueHandling.Include)]
public DateTime? AdsConsentSetAt { get; set; }
/// <summary>
/// Unknown
/// </summary>
[JsonProperty("anonymous")]
public bool? Anonymous { get; set; } = false;
/// <summary>
/// The account token
/// </summary>
[JsonProperty("authToken")]
public string AuthToken { get; set; } = default!;
/// <summary>
/// If the two-factor authentication backup codes have been created
/// </summary>
[JsonProperty("backupCodesCreated")]
public bool? BackupCodesCreated { get; set; } = false;
/// <summary>
/// If the account has been confirmed
/// </summary>
[JsonProperty("confirmed")]
public bool? Confirmed { get; set; } = false;
/// <summary>
/// The account country
/// </summary>
[JsonProperty("country")]
public string Country { get; set; } = default!;
/// <summary>
/// The account email address
/// </summary>
[JsonProperty("email")]
public string Email { get; set; } = default!;
/// <summary>
/// If login with email only is enabled
/// </summary>
[JsonProperty("emailOnlyAuth")]
public bool? EmailOnlyAuth { get; set; } = false;
/// <summary>
/// If experimental features are enabled
/// </summary>
[JsonProperty("experimentalFeatures")]
public bool? ExperimentalFeatures { get; set; } = false;
/// <summary>
/// Your account full name
/// </summary>
[JsonProperty("friendlyName")]
public string FriendlyName { get; set; } = default!;
/// <summary>
/// List of devices your allowed to use with this account
/// </summary>
[JsonProperty("entitlements")]
public List<string> Entitlements { get; set; } = default!;
/// <summary>
/// If the account is a Plex Home guest user
/// </summary>
[JsonProperty("guest")]
public bool? Guest { get; set; } = false;
/// <summary>
/// If the account has a password
/// </summary>
[JsonProperty("hasPassword")]
public bool? HasPassword { get; set; } = true;
/// <summary>
/// If the account is a Plex Home user
/// </summary>
[JsonProperty("home")]
public bool? Home { get; set; } = false;
/// <summary>
/// If the account is the Plex Home admin
/// </summary>
[JsonProperty("homeAdmin")]
public bool? HomeAdmin { get; set; } = false;
/// <summary>
/// The number of accounts in the Plex Home
/// </summary>
[JsonProperty("homeSize")]
public int HomeSize { get; set; } = default!;
/// <summary>
/// The Plex account ID
/// </summary>
[JsonProperty("id")]
public int Id { get; set; } = default!;
/// <summary>
/// Unix epoch datetime the account joined Plex
/// </summary>
[JsonProperty("joinedAt")]
public int JoinedAt { get; set; } = default!;
/// <summary>
/// The account locale
/// </summary>
[JsonProperty("locale", NullValueHandling = NullValueHandling.Include)]
public string? Locale { get; set; }
/// <summary>
/// If you are subscribed to the Plex newsletter
/// </summary>
[JsonProperty("mailingListActive")]
public bool? MailingListActive { get; set; } = false;
/// <summary>
/// Your current mailing list status
/// </summary>
[JsonProperty("mailingListStatus")]
public PostUsersSignInDataMailingListStatus MailingListStatus { get; set; } = default!;
/// <summary>
/// The maximum number of accounts allowed in the Plex Home
/// </summary>
[JsonProperty("maxHomeSize")]
public int MaxHomeSize { get; set; } = default!;
/// <summary>
/// [Might be removed] The hashed Plex Home PIN
/// </summary>
[Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")]
[JsonProperty("pin")]
public string? Pin { get; set; }
[JsonProperty("profile")]
public PostUsersSignInDataUserProfile Profile { get; set; } = default!;
/// <summary>
/// If the account has a Plex Home PIN enabled
/// </summary>
[JsonProperty("protected")]
public bool? Protected { get; set; } = false;
/// <summary>
/// Unix epoch datetime the authtoken expires
/// </summary>
[JsonProperty("rememberExpiresAt")]
public int RememberExpiresAt { get; set; } = default!;
/// <summary>
/// If the account is a Plex Home managed user
/// </summary>
[JsonProperty("restricted")]
public bool? Restricted { get; set; } = false;
/// <summary>
/// [Might be removed] List of account roles. Plexpass membership listed here
/// </summary>
[JsonProperty("roles")]
public List<string>? Roles { get; set; }
/// <summary>
/// Unknown
/// </summary>
[JsonProperty("scrobbleTypes")]
public string ScrobbleTypes { get; set; } = default!;
[JsonProperty("services")]
public List<PostUsersSignInDataServices> Services { get; set; } = default!;
/// <summary>
/// If the accounts Plex Pass subscription is active
/// </summary>
[JsonProperty("subscription")]
public PostUsersSignInDataSubscription Subscription { get; set; } = default!;
/// <summary>
/// Description of the Plex Pass subscription
/// </summary>
[JsonProperty("subscriptionDescription", NullValueHandling = NullValueHandling.Include)]
public string? SubscriptionDescription { get; set; }
[JsonProperty("subscriptions")]
public List<PostUsersSignInDataAuthenticationSubscription> Subscriptions { get; set; } = default!;
/// <summary>
/// URL of the account thumbnail
/// </summary>
[JsonProperty("thumb")]
public string Thumb { get; set; } = default!;
/// <summary>
/// The title of the account (username or friendly name)
/// </summary>
[JsonProperty("title")]
public string Title { get; set; } = default!;
/// <summary>
/// If two-factor authentication is enabled
/// </summary>
[JsonProperty("twoFactorEnabled")]
public bool? TwoFactorEnabled { get; set; } = false;
/// <summary>
/// The account username
/// </summary>
[JsonProperty("username")]
public string Username { get; set; } = default!;
/// <summary>
/// The account UUID
/// </summary>
[JsonProperty("uuid")]
public string Uuid { get; set; } = default!;
[JsonProperty("pastSubscriptions")]
public List<PastSubscription> PastSubscriptions { get; set; } = default!;
[JsonProperty("trials")]
public List<Trials> Trials { get; set; } = default!;
}
}