Skip to content

Instantly share code, notes, and snippets.

@naveensrinivasan
Created June 17, 2015 18:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naveensrinivasan/0cf3cecede742c3587dc to your computer and use it in GitHub Desktop.
Save naveensrinivasan/0cf3cecede742c3587dc to your computer and use it in GitHub Desktop.
Yoga glo stats class
public class Teacher
{
[JsonProperty("first_name")]
public string first_name { get; set; }
[JsonProperty("last_name")]
public string last_name { get; set; }
}
public class Prop
{
[JsonProperty("amount")]
public string amount { get; set; }
[JsonProperty("type")]
public string type { get; set; }
}
public class VideoUrl
{
[JsonProperty("highres")]
public string highres { get; set; }
[JsonProperty("1200p")]
public string p1200 { get; set; }
[JsonProperty("normal")]
public string normal { get; set; }
[JsonProperty("700p")]
public string p700 { get; set; }
[JsonProperty("lowres")]
public string lowres { get; set; }
[JsonProperty("300p")]
public string p300 { get; set; }
[JsonProperty("fullhd")]
public string fullhd { get; set; }
[JsonProperty("1500p")]
public string p1500 { get; set; }
[JsonProperty("preview")]
public string preview { get; set; }
}
public class Namaste
{
[JsonProperty("id")]
public string id { get; set; }
[JsonProperty("user_id")]
public string user_id { get; set; }
[JsonProperty("first_name")]
public string first_name { get; set; }
[JsonProperty("profile_image")]
public string profile_image { get; set; }
[JsonProperty("comment")]
public string comment { get; set; }
}
public class Video
{
[JsonProperty("id")]
public string id { get; set; }
[JsonProperty("publish")]
public string publish { get; set; }
[JsonProperty("group")]
public object group { get; set; }
[JsonProperty("category")]
public object category { get; set; }
[JsonProperty("title")]
public string title { get; set; }
[JsonProperty("url_slug")]
public string url_slug { get; set; }
[JsonProperty("description")]
public string description { get; set; }
[JsonProperty("short_description")]
public string short_description { get; set; }
[JsonProperty("style")]
public string style { get; set; }
[JsonProperty("idstyle")]
public string idstyle { get; set; }
[JsonProperty("bitlyurl")]
public string bitlyurl { get; set; }
[JsonProperty("level")]
public string level { get; set; }
[JsonProperty("id_teacher")]
public string id_teacher { get; set; }
[JsonProperty("teacher")]
public Teacher teacher { get; set; }
[JsonProperty("date_added")]
public string date_added { get; set; }
[JsonProperty("date_added_timestamp")]
public int date_added_timestamp { get; set; }
[JsonProperty("date_updated")]
public string date_updated { get; set; }
[JsonProperty("date_updated_timestamp")]
public int date_updated_timestamp { get; set; }
[JsonProperty("durationMin")]
public string durationMin { get; set; }
[JsonProperty("durationSeconds")]
public int durationSeconds { get; set; }
[JsonProperty("props")]
public IList<Prop> props { get; set; }
[JsonProperty("thumbnail_image")]
public string thumbnail_image { get; set; }
[JsonProperty("poster_image")]
public string poster_image { get; set; }
[JsonProperty("preview_images")]
public IList<string> preview_images { get; set; }
[JsonProperty("video_url")]
public VideoUrl video_url { get; set; }
[JsonProperty("queue_date")]
public string queue_date { get; set; }
[JsonProperty("queue_time")]
public string queue_time { get; set; }
[JsonProperty("added_to_series")]
public bool? added_to_series { get; set; }
[JsonProperty("is_favorite")]
public object is_favorite { get; set; }
[JsonProperty("favorite_note")]
public object favorite_note { get; set; }
[JsonProperty("namaste")]
public IList<Namaste> namaste { get; set; }
[JsonProperty("last_watched")]
public string last_watched { get; set; }
[JsonProperty("watchedMin")]
public string watchedMin { get; set; }
[JsonProperty("pinned")]
public bool? pinned { get; set; }
}
public class History
{
[JsonProperty("id")]
public string id { get; set; }
[JsonProperty("date_watched")]
public string date_watched { get; set; }
[JsonProperty("date_watched_timestamp")]
public int date_watched_timestamp { get; set; }
[JsonProperty("video")]
public Video video { get; set; }
}
public class PraticeHistory
{
[JsonProperty("history")]
public IList<History> history { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment