26 lines
653 B
C#
26 lines
653 B
C#
using System;
|
|
using Newtonsoft.Json;
|
|
using TMDbLib.Utilities.Converters;
|
|
|
|
namespace TMDbLib.Objects.Changes
|
|
{
|
|
public abstract class ChangeItemBase
|
|
{
|
|
[JsonProperty("action")]
|
|
public ChangeAction Action { get; set; }
|
|
|
|
[JsonProperty("id")]
|
|
public string Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// A language code, e.g. en
|
|
/// This field is not always set
|
|
/// </summary>
|
|
[JsonProperty("iso_639_1")]
|
|
public string Iso_639_1 { get; set; }
|
|
|
|
[JsonProperty("time")]
|
|
[JsonConverter(typeof(TmdbUtcTimeConverter))]
|
|
public DateTime Time { get; set; }
|
|
}
|
|
} |