| | 1 | | using System; |
| | 2 | | using System.Collections.Generic; |
| | 3 | |
|
| | 4 | | [Serializable] |
| | 5 | | public class EventListFromAPIModel |
| | 6 | | { |
| | 7 | | public bool ok; |
| | 8 | | public List<EventFromAPIModel> data; |
| | 9 | | } |
| | 10 | |
|
| | 11 | | [Serializable] |
| | 12 | | public class EventFromAPIModel |
| | 13 | | { |
| | 14 | | public string id; |
| | 15 | | public string name; |
| | 16 | | public string image; |
| | 17 | | public string description; |
| | 18 | | public string next_start_at; |
| | 19 | | public string finish_at; |
| | 20 | | public string scene_name; |
| | 21 | | public int[] coordinates; |
| | 22 | | public string realm; |
| | 23 | | public int total_attendees; |
| | 24 | | public bool live; |
| | 25 | | public string user_name; |
| | 26 | | public bool highlighted; |
| | 27 | | public bool trending; |
| | 28 | | public bool attending; |
| | 29 | | } |
| | 30 | |
|
| | 31 | | [Serializable] |
| | 32 | | public class AttendEventRequestModel |
| | 33 | | { |
| | 34 | | public string address; |
| | 35 | | public AttendEventMessageModel message; |
| | 36 | | public string signature; |
| | 37 | | } |
| | 38 | |
|
| | 39 | | [Serializable] |
| | 40 | | public class AttendEventMessageModel |
| | 41 | | { |
| 0 | 42 | | public string type = "attend"; |
| | 43 | | public string timestamp; |
| | 44 | | public string @event; |
| | 45 | | public bool attend; |
| | 46 | | } |