//------------------------------------------------------------------------------
//
// 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;
public class GetDownloadQueueItemsDownloadQueueItem
{
[JsonProperty("DecisionResult")]
public GetDownloadQueueItemsDecisionResult? DecisionResult { get; set; }
///
/// The error encountered in transcoding or decision
///
[JsonProperty("error")]
public string? Error { get; set; }
[JsonProperty("id")]
public long? Id { get; set; }
[JsonProperty("key")]
public string? Key { get; set; }
[JsonProperty("queueId")]
public long? QueueId { get; set; }
///
/// The state of the item:
///
///
/// - deciding: The item decision is pending
/// - waiting: The item is waiting for transcode
/// - processing: The item is being transcoded
/// - available: The item is available for download
/// - error: The item encountered an error in the decision or transcode
/// - expired: The transcoded item has timed out and is no longer available
///
///
///
[JsonProperty("status")]
public GetDownloadQueueItemsStatus? Status { get; set; }
///
/// The transcode session object which is not yet documented otherwise it'd be a $ref here.
///
[JsonProperty("transcode")]
public GetDownloadQueueItemsTranscode? Transcode { get; set; }
///
/// The transcode session if item is currently being transcoded
///
[JsonProperty("TranscodeSession")]
public TranscodeSession? TranscodeSession { get; set; }
}
}