31 lines
760 B
C#
31 lines
760 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace TMDbLib.Objects.Lists
|
|
{
|
|
public abstract class TMDbList<TId>
|
|
{
|
|
[JsonProperty("description")]
|
|
public string Description { get; set; }
|
|
|
|
[JsonProperty("favorite_count")]
|
|
public int FavoriteCount { get; set; }
|
|
|
|
[JsonProperty("id")]
|
|
public TId Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// A language code, e.g. en
|
|
/// </summary>
|
|
[JsonProperty("iso_639_1")]
|
|
public string Iso_639_1 { get; set; }
|
|
|
|
[JsonProperty("item_count")]
|
|
public int ItemCount { get; set; }
|
|
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
|
|
[JsonProperty("poster_path")]
|
|
public string PosterPath { get; set; }
|
|
}
|
|
} |