//------------------------------------------------------------------------------ // // 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.Components; using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; using System.Collections.Generic; public class GetAllMediaLibraryMedia { /// /// Unique media identifier. /// [JsonProperty("id")] public long Id { get; set; } = default!; /// /// Duration of the media in milliseconds. /// [JsonProperty("duration")] public int? Duration { get; set; } /// /// Bitrate in bits per second. /// [JsonProperty("bitrate")] public int? Bitrate { get; set; } /// /// Video width in pixels. /// [JsonProperty("width")] public int? Width { get; set; } /// /// Video height in pixels. /// [JsonProperty("height")] public int? Height { get; set; } /// /// Aspect ratio of the video. /// [JsonProperty("aspectRatio")] public float? AspectRatio { get; set; } /// /// Number of audio channels. /// [JsonProperty("audioChannels")] public int? AudioChannels { get; set; } [JsonProperty("displayOffset")] public int? DisplayOffset { get; set; } /// /// Audio codec used. /// [JsonProperty("audioCodec")] public string? AudioCodec { get; set; } /// /// Video codec used. /// [JsonProperty("videoCodec")] public string? VideoCodec { get; set; } /// /// Video resolution (e.g., 4k). /// [JsonProperty("videoResolution")] public string? VideoResolution { get; set; } /// /// File container type. /// [JsonProperty("container")] public string? Container { get; set; } /// /// Frame rate of the video. Values found include NTSC, PAL, 24p
/// /// /// /// ///
[JsonProperty("videoFrameRate")] public string? VideoFrameRate { get; set; } /// /// Video profile (e.g., main 10). /// [JsonProperty("videoProfile")] public string? VideoProfile { get; set; } /// /// Indicates whether voice activity is detected. /// [JsonProperty("hasVoiceActivity")] public bool HasVoiceActivity { get; set; } = default!; /// /// The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). /// [JsonProperty("audioProfile")] public string? AudioProfile { get; set; } /// /// Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true /// [JsonProperty("optimizedForStreaming")] public GetAllMediaLibraryOptimizedForStreaming? OptimizedForStreaming { get; set; } [JsonProperty("has64bitOffsets")] public bool? Has64bitOffsets { get; set; } /// /// An array of parts for this media item. /// [JsonProperty("Part")] public List Part { get; set; } = default!; } }