first push
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user