//------------------------------------------------------------------------------
//
// 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 GetSearchAllLibrariesMedia
{
///
/// 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; }
///
/// Container format of the media.
///
[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; }
///
/// 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 GetSearchAllLibrariesOptimizedForStreaming? OptimizedForStreaming { get; set; }
///
/// Indicates whether the media has 64-bit offsets.
///
///
/// This is relevant for media files that may require larger offsets than what 32-bit integers can provide.
///
///
///
[JsonProperty("has64bitOffsets")]
public bool? Has64bitOffsets { get; set; }
[JsonProperty("Part")]
public List? Part { get; set; }
}
}