//------------------------------------------------------------------------------
//
// 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; }
///
/// The auto-select subtitle mode (0 = Manually selected, 1 = Shown with foreign audio, 2 = Always enabled)
///
[JsonProperty("autoSelectSubtitle")]
public AutoSelectSubtitle? AutoSelectSubtitle { get; set; }
///
/// The subtitles for the deaf or hard-of-hearing (SDH) searches mode (0 = Prefer non-SDH subtitles, 1 = Prefer SDH subtitles, 2 = Only show SDH subtitles, 3 = Only shown non-SDH subtitles)
///
[JsonProperty("defaultSubtitleAccessibility")]
public DefaultSubtitleAccessibility? DefaultSubtitleAccessibility { get; set; }
///
/// The forced subtitles searches mode (0 = Prefer non-forced subtitles, 1 = Prefer forced subtitles, 2 = Only show forced subtitles, 3 = Only show non-forced subtitles)
///
[JsonProperty("defaultSubtitleForced")]
public DefaultSubtitleForced? DefaultSubtitleForced { get; set; }
[JsonProperty("watchedIndicator")]
public WatchedIndicator? WatchedIndicator { get; set; }
[JsonProperty("mediaReviewsVisibility")]
public MediaReviewsVisibility? MediaReviewsVisibility { get; set; }
}
}