34 lines
970 B
C#
34 lines
970 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Jellyfin.Plugin.JRay.Models;
|
|
|
|
/// <summary>
|
|
/// An actor visible on screen at a queried timestamp.
|
|
/// </summary>
|
|
public class ActorAtTime
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the actor's display name.
|
|
/// </summary>
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the actor's IMDB person id, or "" if unresolved.
|
|
/// </summary>
|
|
[JsonPropertyName("imdb_id")]
|
|
public string ImdbId { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the actor's TMDB person id, or "" if unresolved.
|
|
/// </summary>
|
|
[JsonPropertyName("tmdb_id")]
|
|
public string TmdbId { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the actor's Jellyfin Person item GUID, or "" if unresolved.
|
|
/// </summary>
|
|
[JsonPropertyName("jellyfin_id")]
|
|
public string JellyfinId { get; set; } = string.Empty;
|
|
}
|