| | 1 | | using System; |
| | 2 | | using System.Collections.Generic; |
| | 3 | |
|
| | 4 | | [Serializable] |
| | 5 | | public class EventListFromAPIModel |
| | 6 | | { |
| | 7 | | public int total; |
| | 8 | | public bool ok; |
| | 9 | | public List<EventFromAPIModel> data; |
| | 10 | | } |
| | 11 | |
|
| | 12 | | [Serializable] |
| | 13 | | public class EventFromAPIModel |
| | 14 | | { |
| | 15 | | public string id; |
| | 16 | | public string name; |
| | 17 | | public string image; |
| | 18 | | public string description; |
| | 19 | | public string next_start_at; |
| | 20 | | public string finish_at; |
| | 21 | | public string scene_name; |
| | 22 | | public int[] coordinates; |
| | 23 | | public string server; |
| | 24 | | public int total_attendees; |
| | 25 | | public bool live; |
| | 26 | | public string user_name; |
| | 27 | | public bool highlighted; |
| | 28 | | public bool trending; |
| | 29 | | public bool attending; |
| | 30 | | public string[] categories; |
| | 31 | | public bool recurrent; |
| | 32 | | public double duration; |
| | 33 | | public string start_at; |
| | 34 | | public string[] recurrent_dates; |
| | 35 | | public bool world; |
| | 36 | | } |
| | 37 | |
|
| | 38 | | [Serializable] |
| | 39 | | public class AttendEventRequestModel |
| | 40 | | { |
| | 41 | | public string address; |
| | 42 | | public AttendEventMessageModel message; |
| | 43 | | public string signature; |
| | 44 | | } |
| | 45 | |
|
| | 46 | | [Serializable] |
| | 47 | | public class AttendEventMessageModel |
| | 48 | | { |
| 0 | 49 | | public string type = "attend"; |
| | 50 | | public string timestamp; |
| | 51 | | public string @event; |
| | 52 | | public bool attend; |
| | 53 | | } |
| | 54 | |
|
| | 55 | | [Serializable] |
| | 56 | | public class CategoryListFromAPIModel |
| | 57 | | { |
| | 58 | | public bool ok; |
| | 59 | | public List<CategoryFromAPIModel> data; |
| | 60 | | } |
| | 61 | |
|
| | 62 | | [Serializable] |
| | 63 | | public class CategoryFromAPIModel |
| | 64 | | { |
| | 65 | | public string name; |
| | 66 | | public bool active; |
| | 67 | | public string created_at; |
| | 68 | | public string updated_at; |
| | 69 | | public CategoryNameTranslationFromAPIModel i18n; |
| | 70 | | } |
| | 71 | |
|
| | 72 | | [Serializable] |
| | 73 | | public class CategoryNameTranslationFromAPIModel |
| | 74 | | { |
| | 75 | | public string en; |
| | 76 | | } |