//------------------------------------------------------------------------------
//
// 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 GetLibrarySectionsAllPart
{
///
/// Indicates if the part is accessible.
///
[JsonProperty("accessible")]
public bool? Accessible { get; set; }
///
/// Indicates if the part exists.
///
[JsonProperty("exists")]
public bool? Exists { get; set; }
///
/// Unique part identifier.
///
[JsonProperty("id")]
public long Id { get; set; } = default!;
///
/// Key to access this part.
///
[JsonProperty("key")]
public string Key { get; set; } = default!;
[JsonProperty("indexes")]
public string? Indexes { get; set; }
///
/// Duration of the part in milliseconds.
///
[JsonProperty("duration")]
public int? Duration { get; set; }
///
/// File path for the part.
///
[JsonProperty("file")]
public string File { get; set; } = default!;
///
/// File size in bytes.
///
[JsonProperty("size")]
public long Size { get; set; } = default!;
[JsonProperty("packetLength")]
public int? PacketLength { get; set; }
///
/// Container format of the part.
///
[JsonProperty("container")]
public string? Container { get; set; }
///
/// Video profile for the part.
///
[JsonProperty("videoProfile")]
public string? VideoProfile { get; set; }
///
/// The audio profile used for the media (e.g., DTS, Dolby Digital, etc.).
///
[JsonProperty("audioProfile")]
public string? AudioProfile { get; set; }
[JsonProperty("has64bitOffsets")]
public bool? Has64bitOffsets { get; set; }
///
/// Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
///
[JsonProperty("optimizedForStreaming")]
public GetLibrarySectionsAllLibraryOptimizedForStreaming? OptimizedForStreaming { get; set; }
[JsonProperty("hasThumbnail")]
public GetLibrarySectionsAllHasThumbnail? HasThumbnail { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.GetLibrarySectionsAllHasThumbnail.False;
///
/// An array of streams for this part.
///
[JsonProperty("Stream")]
public List? Stream { get; set; }
}
}