//------------------------------------------------------------------------------ // // 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.Requests; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; using System.Collections.Generic; public class User { /// /// User's unique ID. /// [JsonProperty("id")] public long Id { get; set; } = default!; /// /// User's display name. /// [JsonProperty("title")] public string Title { get; set; } = default!; /// /// User's username. /// [JsonProperty("username")] public string Username { get; set; } = default!; /// /// User's email address. /// [JsonProperty("email")] public string Email { get; set; } = default!; /// /// ID of the user's recommendation playlist. /// [JsonProperty("recommendationsPlaylistId")] public string? RecommendationsPlaylistId { get; set; } = null; /// /// URL to the user's avatar image. /// [JsonProperty("thumb")] public string Thumb { get; set; } = default!; [JsonProperty("protected")] public Protected? Protected { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.Protected.Disable; [JsonProperty("home")] public Home? Home { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.Home.Disable; [JsonProperty("allowTuners")] public AllowTuners? AllowTuners { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.AllowTuners.Disable; [JsonProperty("allowSync")] public AllowSync? AllowSync { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.AllowSync.Disable; [JsonProperty("allowCameraUpload")] public AllowCameraUpload? AllowCameraUpload { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.AllowCameraUpload.Disable; [JsonProperty("allowChannels")] public AllowChannels? AllowChannels { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.AllowChannels.Disable; [JsonProperty("allowSubtitleAdmin")] public AllowSubtitleAdmin? AllowSubtitleAdmin { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.AllowSubtitleAdmin.Disable; /// /// Filters applied for all content. /// [JsonProperty("filterAll")] public string? FilterAll { get; set; } = null; /// /// Filters applied for movies. /// [JsonProperty("filterMovies")] public string? FilterMovies { get; set; } = null; /// /// Filters applied for music. /// [JsonProperty("filterMusic")] public string? FilterMusic { get; set; } = null; /// /// Filters applied for photos. /// [JsonProperty("filterPhotos")] public string? FilterPhotos { get; set; } = null; /// /// Filters applied for television. /// [JsonProperty("filterTelevision")] public string? FilterTelevision { get; set; } [JsonProperty("restricted")] public Restricted? Restricted { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.Restricted.Disable; /// /// List of servers owned by the user. /// [JsonProperty("Server")] public List Server { get; set; } = default!; } }