|
|
@ -5,21 +5,27 @@ namespace NzbDrone.Core.Notifications.Webhook
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public class WebhookRemoteMovie
|
|
|
|
public class WebhookRemoteMovie
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
public int TmdbId { get; set; }
|
|
|
|
public string ImdbId { get; set; }
|
|
|
|
public string ImdbId { get; set; }
|
|
|
|
public string Title { get; set; }
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
|
|
|
public int Year { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public WebhookRemoteMovie() { }
|
|
|
|
public WebhookRemoteMovie() { }
|
|
|
|
|
|
|
|
|
|
|
|
public WebhookRemoteMovie(RemoteMovie remoteMovie)
|
|
|
|
public WebhookRemoteMovie(RemoteMovie remoteMovie)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
TmdbId = remoteMovie.Movie.TmdbId;
|
|
|
|
ImdbId = remoteMovie.Movie.ImdbId;
|
|
|
|
ImdbId = remoteMovie.Movie.ImdbId;
|
|
|
|
Title = remoteMovie.Release.Title;
|
|
|
|
Title = remoteMovie.Movie.Title;
|
|
|
|
|
|
|
|
Year = remoteMovie.Movie.Year;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public WebhookRemoteMovie(Movie movie)
|
|
|
|
public WebhookRemoteMovie(Movie movie)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
TmdbId = movie.TmdbId;
|
|
|
|
ImdbId = movie.ImdbId;
|
|
|
|
ImdbId = movie.ImdbId;
|
|
|
|
Title = movie.Title;
|
|
|
|
Title = movie.Title;
|
|
|
|
|
|
|
|
Year = movie.Year;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|