//------------------------------------------------------------------------------
//
// 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;
///
/// A media subscription contains a representation of metadata desired to be recorded
///
///
///
///
///
public class MediaSubscription
{
[JsonProperty("title")]
public string? Title { get; set; }
///
/// The metadata type of the root item of the subscription
///
[JsonProperty("type")]
public long? Type { get; set; }
[JsonProperty("airingsType")]
public AiringsType? AiringsType { get; set; }
[JsonProperty("createdAt")]
public long? CreatedAt { get; set; }
///
/// Media Matching Hints
///
[JsonProperty("Directory")]
public Dictionary? Directory { get; set; }
///
/// Only included if `includeStorage` is specified
///
[JsonProperty("durationTotal")]
public long? DurationTotal { get; set; }
[JsonProperty("key")]
public string? Key { get; set; }
[JsonProperty("librarySectionTitle")]
public string? LibrarySectionTitle { get; set; }
[JsonProperty("locationPath")]
public string? LocationPath { get; set; }
[JsonProperty("MediaGrabOperation")]
public List? MediaGrabOperation { get; set; }
///
/// Media Matching Hints
///
[JsonProperty("Playlist")]
public Dictionary? Playlist { get; set; }
[JsonProperty("Setting")]
public List? Setting { get; set; }
///
/// Only included if `includeStorage` is specified
///
[JsonProperty("storageTotal")]
public long? StorageTotal { get; set; }
///
/// The library section id for where the item is to be recorded
///
[JsonProperty("targetLibrarySectionID")]
public long? TargetLibrarySectionID { get; set; }
///
/// The library section location id for where the item is to be recorded
///
[JsonProperty("targetSectionLocationID")]
public long? TargetSectionLocationID { get; set; }
///
/// Media Matching Hints
///
[JsonProperty("Video")]
public Dictionary? Video { get; set; }
}
}