41 lines
1.1 KiB
C#
41 lines
1.1 KiB
C#
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
using TMDbLib.Objects.General;
|
|
using TMDbLib.Utilities.Converters;
|
|
|
|
namespace TMDbLib.Objects.Search
|
|
{
|
|
public abstract class KnownForBase
|
|
{
|
|
[JsonProperty("backdrop_path")]
|
|
public string BackdropPath { get; set; }
|
|
|
|
[JsonProperty("genre_ids")]
|
|
[JsonConverter(typeof(TmdbIntArrayAsObjectConverter)) /*#307*/]
|
|
public List<int> GenreIds { get; set; }
|
|
|
|
[JsonProperty("id")]
|
|
public int Id { get; set; }
|
|
|
|
[JsonProperty("media_type")]
|
|
public MediaType MediaType { get; set; }
|
|
|
|
[JsonProperty("original_language")]
|
|
public string OriginalLanguage { get; set; }
|
|
|
|
[JsonProperty("overview")]
|
|
public string Overview { get; set; }
|
|
|
|
[JsonProperty("popularity")]
|
|
public double Popularity { get; set; }
|
|
|
|
[JsonProperty("poster_path")]
|
|
public string PosterPath { get; set; }
|
|
|
|
[JsonProperty("vote_average")]
|
|
public double VoteAverage { get; set; }
|
|
|
|
[JsonProperty("vote_count")]
|
|
public int VoteCount { get; set; }
|
|
}
|
|
} |