Created
May 14, 2012 14:50
-
-
Save ksloginov/2694406 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Movie | |
{ | |
[JsonProperty("content_id")] | |
public int Id; | |
[JsonProperty("title_ru")] | |
public string TitleRu; | |
[JsonProperty("title_en")] | |
public string TitleEn; | |
// public string Currency; | |
// | |
// public float Price; | |
// public bool IsFree; | |
// | |
// public string[] GenresArray; | |
// public string Genres; | |
// | |
// public int Year; | |
// public string[] CountriesArray; | |
// public string Country; | |
[JsonProperty("rating")] | |
public double Rating = 0; | |
// public string[] DirectorsArray; | |
// public string Directors; | |
[JsonProperty("actors")] | |
public string[] ActorsArray; | |
[JsonProperty("description")] | |
public string Description; | |
// public string[] StudiosArray; | |
// public string Studio; | |
// public string Length; | |
// public string TrailerUrl; | |
// public string FragmentUrl; | |
// public string FilmUrl; | |
// | |
[JsonProperty("movie_drm")] | |
public string MovieDRM; | |
// | |
// public string ImgUrlBase; | |
// | |
// public string Json; | |
public bool IsDRM | |
{ | |
get | |
{ | |
return (MovieDRM != "nodrm"); | |
} | |
} | |
public string Actors | |
{ | |
get | |
{ | |
return string.Join(", ", ActorsArray); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment