Files
2025-05-06 10:37:33 -04:00

26 lines
593 B
C#

using System.Text.Json.Serialization;
namespace MovieActorLookup.Models.Movie.Movie
{
public class ActorMovieFilmography
{
[JsonPropertyName("cast")]
public List<MovieRole> Cast { get; set; }
}
public class MovieRole
{
[JsonPropertyName("id")]
public int Id { get; set; }
[JsonPropertyName("title")]
public string Title { get; set; }
[JsonPropertyName("character")]
public string Character { get; set; }
[JsonPropertyName("poster_path")]
public string PosterPath { get; set; }
}
}