42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
using System;
|
|
using System.Text.Json.Serialization;
|
|
#pragma warning disable SA1300
|
|
|
|
namespace Jellyfin.Plugin.Simkl.API.Objects
|
|
{
|
|
/// <summary>
|
|
/// Simkl episode container.
|
|
/// </summary>
|
|
public class SimklEpisode : SimklMediaObject
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets watched at.
|
|
/// </summary>
|
|
[JsonPropertyName("watched_at")]
|
|
public DateTime? WatchedAt { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the title.
|
|
/// </summary>
|
|
[JsonPropertyName("title")]
|
|
public string? Title { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the season.
|
|
/// </summary>
|
|
[JsonPropertyName("season")]
|
|
public int? Season { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the episode.
|
|
/// </summary>
|
|
[JsonPropertyName("episode")]
|
|
public int? Episode { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets multipart.
|
|
/// </summary>
|
|
[JsonPropertyName("multipart")]
|
|
public bool? Multipart { get; set; }
|
|
}
|
|
} |