//------------------------------------------------------------------------------
//
// 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.Utils;
using Newtonsoft.Json;
using System.Collections.Generic;
///
/// A media subscription contains a representation of metadata desired to be recorded
///
///
///
///
///
public class MediaSubscription
{
///
/// The title of this subscription type
///
[JsonProperty("title")]
public string? Title { get; set; }
///
/// Metadata type number
///
[JsonProperty("type")]
public long? Type { get; set; }
[JsonProperty("airingsType")]
public string? 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; }
///
/// Where this subscription will record to
///
[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; }
///
/// Parameter string for creating this subscription
///
[JsonProperty("parameters")]
public string? Parameters { get; set; }
[JsonProperty("selected")]
public bool? Selected { get; set; }
}
}