44 lines
1.1 KiB
C#
44 lines
1.1 KiB
C#
using Newtonsoft.Json;
|
|
using TMDbLib.Objects.People;
|
|
|
|
namespace TMDbLib.Objects.Movies
|
|
{
|
|
public class Cast
|
|
{
|
|
[JsonProperty("cast_id")]
|
|
public int CastId { get; set; }
|
|
|
|
[JsonProperty("character")]
|
|
public string Character { get; set; }
|
|
|
|
[JsonProperty("credit_id")]
|
|
public string CreditId { get; set; }
|
|
|
|
[JsonProperty("id")]
|
|
public int Id { get; set; }
|
|
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
|
|
[JsonProperty("order")]
|
|
public int Order { get; set; }
|
|
|
|
[JsonProperty("profile_path")]
|
|
public string ProfilePath { get; set; }
|
|
|
|
[JsonProperty("gender")]
|
|
public PersonGender Gender { get; set; }
|
|
|
|
[JsonProperty("adult")]
|
|
public bool Adult { get; set; }
|
|
|
|
[JsonProperty("known_for_department")]
|
|
public string KnownForDepartment { get; set; }
|
|
|
|
[JsonProperty("original_name")]
|
|
public string OriginalName { get; set; }
|
|
|
|
[JsonProperty("popularity")]
|
|
public float Popularity { get; set; }
|
|
}
|
|
} |