namespace Jellyfin.Plugin.JRay.Models;
///
/// The object handed to JRay's transformation callback by the File
/// Transformation plugin.
///
///
/// That plugin builds a Newtonsoft JObject with a single contents
/// key and calls JObject.ToObject(parameterType) against this type.
/// Newtonsoft binds member names case-insensitively, so
/// binds to contents without an attribute — and a System.Text.Json
/// attribute would have no effect here.
///
public class TransformationPayload
{
///
/// Gets or sets the current contents of the file being served, including
/// any transformations applied by other plugins ahead of JRay in the
/// chain.
///
public string? Contents { get; set; }
}