Created
June 27, 2020 02:10
-
-
Save dwalleck/0e0fa42dca50c8dc79fe77f9e72c93dd 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 Rootobject | |
{ | |
public Datum[] data { get; set; } | |
public Pagination pagination { get; set; } | |
} | |
public class Pagination | |
{ | |
public string cursor { get; set; } | |
} | |
public class Datum | |
{ | |
public string id { get; set; } | |
public string event_type { get; set; } | |
public DateTime event_timestamp { get; set; } | |
public string version { get; set; } | |
public Event_Data event_data { get; set; } | |
} | |
public class Event_Data | |
{ | |
public string broadcaster_id { get; set; } | |
public string cooldown_end_time { get; set; } | |
public string expires_at { get; set; } | |
public int goal { get; set; } | |
public string id { get; set; } | |
public Last_Contribution last_contribution { get; set; } | |
public int level { get; set; } | |
public string started_at { get; set; } | |
public Top_Contributions[] top_contributions { get; set; } | |
public int total { get; set; } | |
} | |
public class Last_Contribution | |
{ | |
public int total { get; set; } | |
public string type { get; set; } | |
public string user { get; set; } | |
} | |
public class Top_Contributions | |
{ | |
public int total { get; set; } | |
public string type { get; set; } | |
public string user { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment