You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ombi/src/Ombi.TheMovieDbApi/Models/MovieResponseDTO.cs

58 lines
1.7 KiB

using System;
using System.Collections.Generic;
namespace Ombi.Api.TheMovieDb.Models
{
public class MovieResponseDto
{
public bool Adult { get; set; }
public string BackdropPath { get; set; }
public int Budget { get; set; }
public GenreDto[] Genres { get; set; }
public string Homepage { get; set; }
public int Id { get; set; }
public string ImdbId { get; set; }
public string OriginalLanguage { get; set; }
public string OriginalTitle { get; set; }
public string Overview { get; set; }
public float Popularity { get; set; }
public string PosterPath { get; set; }
public string ReleaseDate { get; set; }
public float Revenue { get; set; }
public float Runtime { get; set; }
public string Status { get; set; }
public string Tagline { get; set; }
public string Title { get; set; }
public bool Video { get; set; }
public float VoteAverage { get; set; }
public int VoteCount { get; set; }
public ReleaseDatesDto ReleaseDates { get; set; }
}
public class ReleaseDatesDto
{
public List<ReleaseResultsDto> Results { get; set; }
}
public class ReleaseResultsDto
{
public string IsoCode { get; set; }
public List<ReleaseDateDto> ReleaseDate { get; set; }
}
public class ReleaseDateDto
{
public DateTime ReleaseDate { get; set; }
public ReleaseDateType Type { get; set; }
}
public enum ReleaseDateType
{
Premiere = 1,
TheatricalLimited = 2,
Theatrical = 3,
Digital = 4,
Physical = 5,
Tv = 6
}
}