//------------------------------------------------------------------------------ // // 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.Components { using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; using System.Collections.Generic; /// /// `Media` represents an one or more media files (parts) and is a child of a metadata item. There aren't necessarily any guaranteed attributes on media elements since the attributes will vary based on the type. The possible attributes are not documented here, but they typically have self-evident names. High-level media information that can be used for badging and flagging, such as `videoResolution` and codecs, is included on the media element.
/// /// /// /// ///
public class MediaContainerWithDecisionMedia { [JsonProperty("aspectRatio")] public float? AspectRatio { get; set; } [JsonProperty("audioChannels")] public int? AudioChannels { get; set; } [JsonProperty("audioCodec")] public string? AudioCodec { get; set; } [JsonProperty("audioProfile")] public string? AudioProfile { get; set; } [JsonProperty("bitrate")] public int? Bitrate { get; set; } [JsonProperty("container")] public string? Container { get; set; } [JsonProperty("duration")] public int? Duration { get; set; } [JsonProperty("has64bitOffsets")] public bool? Has64bitOffsets { get; set; } [JsonProperty("hasVoiceActivity")] public bool? HasVoiceActivity { get; set; } [JsonProperty("height")] public int? Height { get; set; } [JsonProperty("id")] public long Id { get; set; } = default!; [JsonProperty("optimizedForStreaming")] public bool? OptimizedForStreaming { get; set; } [JsonProperty("Part")] public List? Part { get; set; } [JsonProperty("videoCodec")] public string? VideoCodec { get; set; } [JsonProperty("videoFrameRate")] public string? VideoFrameRate { get; set; } [JsonProperty("videoProfile")] public string? VideoProfile { get; set; } [JsonProperty("videoResolution")] public string? VideoResolution { get; set; } [JsonProperty("width")] public int? Width { get; set; } [JsonProperty("abr")] public bool? Abr { get; set; } [JsonProperty("resourceSession")] public string? ResourceSession { get; set; } [JsonProperty("selected")] public bool? Selected { get; set; } [JsonProperty("additionalProperties")] public Dictionary? AdditionalProperties { get; set; } } }