//------------------------------------------------------------------------------ // // 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.Utils; using Newtonsoft.Json; public class GetLibraryItemsStream { [JsonProperty("id")] public long Id { get; set; } = default!; /// /// Type of stream (1 = video, 2 = audio, 3 = subtitle) /// [JsonProperty("streamType")] public long StreamType { get; set; } = default!; /// /// Indicates if this is the default stream /// [JsonProperty("default")] public bool? Default { get; set; } /// /// Indicates if the stream is selected /// [JsonProperty("selected")] public bool? Selected { get; set; } /// /// Codec used by the stream /// [JsonProperty("codec")] public string Codec { get; set; } = default!; /// /// The index of the stream /// [JsonProperty("index")] public long Index { get; set; } = default!; /// /// The bitrate of the stream in kbps /// [JsonProperty("bitrate")] public long? Bitrate { get; set; } /// /// The color primaries of the video stream /// [JsonProperty("colorPrimaries")] public string? ColorPrimaries { get; set; } /// /// The color range of the video stream /// [JsonProperty("colorRange")] public string? ColorRange { get; set; } /// /// The color space of the video stream /// [JsonProperty("colorSpace")] public string? ColorSpace { get; set; } /// /// The transfer characteristics (TRC) of the video stream /// [JsonProperty("colorTrc")] public string? ColorTrc { get; set; } /// /// The bit depth of the video stream /// [JsonProperty("bitDepth")] public long? BitDepth { get; set; } /// /// The chroma location of the video stream /// [JsonProperty("chromaLocation")] public string? ChromaLocation { get; set; } /// /// The identifier of the video stream /// [JsonProperty("streamIdentifier")] public string? StreamIdentifier { get; set; } /// /// The chroma subsampling format /// [JsonProperty("chromaSubsampling")] public string? ChromaSubsampling { get; set; } /// /// The coded height of the video stream /// [JsonProperty("codedHeight")] public long? CodedHeight { get; set; } /// /// The coded width of the video stream /// [JsonProperty("codedWidth")] public long? CodedWidth { get; set; } /// /// The frame rate of the video stream /// [JsonProperty("frameRate")] public double? FrameRate { get; set; } /// /// Indicates if the stream has a scaling matrix /// [JsonProperty("hasScalingMatrix")] public bool? HasScalingMatrix { get; set; } [JsonProperty("hearingImpaired")] public bool? HearingImpaired { get; set; } [JsonProperty("closedCaptions")] public bool? ClosedCaptions { get; set; } [JsonProperty("embeddedInVideo")] public string? EmbeddedInVideo { get; set; } /// /// The height of the video stream /// [JsonProperty("height")] public long? Height { get; set; } /// /// The level of the video codec /// [JsonProperty("level")] public long? Level { get; set; } /// /// The profile of the video codec /// [JsonProperty("profile")] public string? Profile { get; set; } /// /// Number of reference frames /// [JsonProperty("refFrames")] public long? RefFrames { get; set; } /// /// The scan type (progressive or interlaced) /// [JsonProperty("scanType")] public string? ScanType { get; set; } /// /// The width of the video stream /// [JsonProperty("width")] public long? Width { get; set; } /// /// Display title of the stream /// [JsonProperty("displayTitle")] public string? DisplayTitle { get; set; } /// /// Extended display title of the stream /// [JsonProperty("extendedDisplayTitle")] public string? ExtendedDisplayTitle { get; set; } /// /// Number of audio channels (for audio streams) /// [JsonProperty("channels")] public long? Channels { get; set; } /// /// The language of the stream (for audio/subtitle streams) /// [JsonProperty("language")] public string? Language { get; set; } /// /// Language tag of the stream /// [JsonProperty("languageTag")] public string? LanguageTag { get; set; } /// /// Language code of the stream /// [JsonProperty("languageCode")] public string? LanguageCode { get; set; } /// /// The audio channel layout /// [JsonProperty("audioChannelLayout")] public string? AudioChannelLayout { get; set; } /// /// Sampling rate of the audio stream in Hz /// [JsonProperty("samplingRate")] public long? SamplingRate { get; set; } /// /// Title of the subtitle track (for subtitle streams) /// [JsonProperty("title")] public string? Title { get; set; } /// /// Indicates if the subtitle stream can auto-sync /// [JsonProperty("canAutoSync")] public bool? CanAutoSync { get; set; } } }