//------------------------------------------------------------------------------ // // 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; public class UserProfile { /// /// If the account has automatically select audio and subtitle tracks enabled /// [JsonProperty("autoSelectAudio")] public bool? AutoSelectAudio { get; set; } = true; /// /// The preferred audio language for the account /// [JsonProperty("defaultAudioLanguage", NullValueHandling = NullValueHandling.Include)] public string? DefaultAudioLanguage { get; set; } /// /// The preferred subtitle language for the account /// [JsonProperty("defaultSubtitleLanguage", NullValueHandling = NullValueHandling.Include)] public string? DefaultSubtitleLanguage { get; set; } [JsonProperty("autoSelectSubtitle")] public AutoSelectSubtitle? AutoSelectSubtitle { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.AutoSelectSubtitle.Disable; [JsonProperty("defaultSubtitleAccessibility")] public DefaultSubtitleAccessibility? DefaultSubtitleAccessibility { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.DefaultSubtitleAccessibility.Disable; [JsonProperty("defaultSubtitleForced")] public DefaultSubtitleForced? DefaultSubtitleForced { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.DefaultSubtitleForced.Disable; [JsonProperty("watchedIndicator")] public WatchedIndicator? WatchedIndicator { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.WatchedIndicator.Disable; [JsonProperty("mediaReviewsVisibility")] public MediaReviewsVisibility? MediaReviewsVisibility { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.MediaReviewsVisibility.Disable; } }