187c669495
Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
22 lines
512 B
C#
22 lines
512 B
C#
#nullable disable
|
|
|
|
namespace backend;
|
|
|
|
public class MovieResponse
|
|
{
|
|
|
|
public MovieResponse(string Response, int TotalResults, int CurrentPage ,IEnumerable<MovieDB> Search) {
|
|
this.Response = Response;
|
|
this.TotalResults = TotalResults;
|
|
this.CurrentPage = CurrentPage;
|
|
this.Search = Search;
|
|
}
|
|
|
|
public string Response { get; set; }
|
|
|
|
public int TotalResults { get; set; }
|
|
|
|
public int CurrentPage { get; set; }
|
|
|
|
public IEnumerable<MovieDB> Search { get; set; }
|
|
}
|