@@ -4,15 +4,15 @@ namespace Matterhook.NET.Webhooks.Discourse
4
4
{
5
5
public class Topic
6
6
{
7
- public ulong id { get ; set ; }
7
+ public long id { get ; set ; }
8
8
public string title { get ; set ; }
9
9
public string fancy_title { get ; set ; }
10
- public ulong posts_count { get ; set ; }
10
+ public long posts_count { get ; set ; }
11
11
public DateTime created_at { get ; set ; }
12
- public ulong views { get ; set ; }
13
- public ulong reply_count { get ; set ; }
14
- public ulong participant_count { get ; set ; }
15
- public ulong like_count { get ; set ; }
12
+ public long views { get ; set ; }
13
+ public long reply_count { get ; set ; }
14
+ public long participant_count { get ; set ; }
15
+ public long like_count { get ; set ; }
16
16
public DateTime last_posted_at { get ; set ; }
17
17
public bool visible { get ; set ; }
18
18
public bool closed { get ; set ; }
@@ -21,32 +21,32 @@ public class Topic
21
21
public string archetype { get ; set ; }
22
22
public string slug { get ; set ; }
23
23
public object category_id { get ; set ; }
24
- public ulong word_count { get ; set ; }
24
+ public long word_count { get ; set ; }
25
25
public object deleted_at { get ; set ; }
26
- public ulong pending_posts_count { get ; set ; }
27
- public ulong user_id { get ; set ; }
26
+ public long pending_posts_count { get ; set ; }
27
+ public long user_id { get ; set ; }
28
28
public bool pm_with_non_human_user { get ; set ; }
29
29
public object draft { get ; set ; }
30
30
public string draft_key { get ; set ; }
31
- public ulong draft_sequence { get ; set ; }
31
+ public long draft_sequence { get ; set ; }
32
32
public object unpinned { get ; set ; }
33
33
public bool pinned_globally { get ; set ; }
34
34
public bool pinned { get ; set ; }
35
35
public object pinned_at { get ; set ; }
36
36
public object pinned_until { get ; set ; }
37
37
public Details details { get ; set ; }
38
- public ulong highest_post_number { get ; set ; }
38
+ public long highest_post_number { get ; set ; }
39
39
public object deleted_by { get ; set ; }
40
40
public bool has_deleted { get ; set ; }
41
41
public Actions_Summary [ ] actions_summary { get ; set ; }
42
- public ulong chunk_size { get ; set ; }
42
+ public long chunk_size { get ; set ; }
43
43
public object bookmarked { get ; set ; }
44
44
public bool message_archived { get ; set ; }
45
45
public object [ ] tags { get ; set ; }
46
46
public object featured_link { get ; set ; }
47
47
public object topic_timer { get ; set ; }
48
48
public string unicode_title { get ; set ; }
49
- public ulong message_bus_last_id { get ; set ; }
49
+ public long message_bus_last_id { get ; set ; }
50
50
public bool can_vote { get ; set ; }
51
51
public object vote_count { get ; set ; }
52
52
public bool user_voted { get ; set ; }
@@ -61,7 +61,7 @@ public class Details
61
61
public Participant [ ] participants { get ; set ; }
62
62
public Suggested_Topics [ ] suggested_topics { get ; set ; }
63
63
public Link [ ] links { get ; set ; }
64
- public ulong notification_level { get ; set ; }
64
+ public long notification_level { get ; set ; }
65
65
public bool can_move_posts { get ; set ; }
66
66
public bool can_edit { get ; set ; }
67
67
public bool can_delete { get ; set ; }
@@ -75,31 +75,31 @@ public class Details
75
75
76
76
public class Created_By
77
77
{
78
- public ulong id { get ; set ; }
78
+ public long id { get ; set ; }
79
79
public string username { get ; set ; }
80
80
public string avatar_template { get ; set ; }
81
81
}
82
82
83
83
public class Last_Poster
84
84
{
85
- public ulong id { get ; set ; }
85
+ public long id { get ; set ; }
86
86
public string username { get ; set ; }
87
87
public string avatar_template { get ; set ; }
88
88
}
89
89
90
90
public class Allowed_Users
91
91
{
92
- public ulong id { get ; set ; }
92
+ public long id { get ; set ; }
93
93
public string username { get ; set ; }
94
94
public string avatar_template { get ; set ; }
95
95
}
96
96
97
97
public class Participant
98
98
{
99
- public ulong id { get ; set ; }
99
+ public long id { get ; set ; }
100
100
public string username { get ; set ; }
101
101
public string avatar_template { get ; set ; }
102
- public ulong post_count { get ; set ; }
102
+ public long post_count { get ; set ; }
103
103
public object primary_group_name { get ; set ; }
104
104
public object primary_group_flair_url { get ; set ; }
105
105
public object primary_group_flair_color { get ; set ; }
@@ -108,33 +108,33 @@ public class Participant
108
108
109
109
public class Suggested_Topics
110
110
{
111
- public ulong id { get ; set ; }
111
+ public long id { get ; set ; }
112
112
public string title { get ; set ; }
113
113
public string fancy_title { get ; set ; }
114
114
public string slug { get ; set ; }
115
- public ulong posts_count { get ; set ; }
116
- public ulong reply_count { get ; set ; }
117
- public ulong highest_post_number { get ; set ; }
115
+ public long posts_count { get ; set ; }
116
+ public long reply_count { get ; set ; }
117
+ public long highest_post_number { get ; set ; }
118
118
public object image_url { get ; set ; }
119
119
public DateTime created_at { get ; set ; }
120
120
public DateTime last_posted_at { get ; set ; }
121
121
public bool bumped { get ; set ; }
122
122
public DateTime bumped_at { get ; set ; }
123
123
public bool unseen { get ; set ; }
124
- public ulong last_read_post_number { get ; set ; }
125
- public ulong unread { get ; set ; }
126
- public ulong new_posts { get ; set ; }
124
+ public long last_read_post_number { get ; set ; }
125
+ public long unread { get ; set ; }
126
+ public long new_posts { get ; set ; }
127
127
public bool pinned { get ; set ; }
128
128
public object unpinned { get ; set ; }
129
129
public bool visible { get ; set ; }
130
130
public bool closed { get ; set ; }
131
131
public bool archived { get ; set ; }
132
- public ulong notification_level { get ; set ; }
132
+ public long notification_level { get ; set ; }
133
133
public bool bookmarked { get ; set ; }
134
134
public bool liked { get ; set ; }
135
135
public string archetype { get ; set ; }
136
- public ulong like_count { get ; set ; }
137
- public ulong views { get ; set ; }
136
+ public long like_count { get ; set ; }
137
+ public long views { get ; set ; }
138
138
public object category_id { get ; set ; }
139
139
public object [ ] tags { get ; set ; }
140
140
public object featured_link { get ; set ; }
@@ -156,8 +156,8 @@ public class Link
156
156
public bool _internal { get ; set ; }
157
157
public bool attachment { get ; set ; }
158
158
public bool reflection { get ; set ; }
159
- public ulong clicks { get ; set ; }
160
- public ulong user_id { get ; set ; }
159
+ public long clicks { get ; set ; }
160
+ public long user_id { get ; set ; }
161
161
public string domain { get ; set ; }
162
162
}
163
163
0 commit comments