-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathApiDTOs.cs
More file actions
92 lines (82 loc) · 2.5 KB
/
ApiDTOs.cs
File metadata and controls
92 lines (82 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
namespace PocketDDD.Server.Model.Sessionize;
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
public class Category
{
public int id { get; set; }
public string title { get; set; }
public List<Item> items { get; set; }
public int sort { get; set; }
public string type { get; set; }
}
public class Item
{
public int id { get; set; }
public string name { get; set; }
public int sort { get; set; }
}
public class Link
{
public string title { get; set; }
public string url { get; set; }
public string linkType { get; set; }
}
public class Question
{
public int id { get; set; }
public string question { get; set; }
public string questionType { get; set; }
public int sort { get; set; }
}
public class QuestionAnswer
{
public int questionId { get; set; }
public string answerValue { get; set; }
}
public class Room
{
public int id { get; set; }
public string name { get; set; }
public int sort { get; set; }
}
public class SessionizeEvent
{
public List<Session> sessions { get; set; }
public List<Speaker> speakers { get; set; }
public List<Question> questions { get; set; }
public List<Category> categories { get; set; }
public List<Room> rooms { get; set; }
}
public class Session
{
public string id { get; set; }
public string title { get; set; }
public string description { get; set; }
public DateTime startsAt { get; set; }
public DateTime endsAt { get; set; }
public bool isServiceSession { get; set; }
public bool isPlenumSession { get; set; }
public List<string> speakers { get; set; }
public List<int> categoryItems { get; set; }
public List<QuestionAnswer> questionAnswers { get; set; }
public int roomId { get; set; }
public object liveUrl { get; set; }
public object recordingUrl { get; set; }
public string status { get; set; }
public bool isInformed { get; set; }
public bool isConfirmed { get; set; }
}
public class Speaker
{
public string id { get; set; }
public string firstName { get; set; }
public string lastName { get; set; }
public string bio { get; set; }
public string tagLine { get; set; }
public string profilePicture { get; set; }
public bool isTopSpeaker { get; set; }
public List<Link> links { get; set; }
public List<int> sessions { get; set; }
public string fullName { get; set; }
public List<object> categoryItems { get; set; }
public List<object> questionAnswers { get; set; }
}