@@ -24,12 +24,24 @@ public class ModAction : Thing
24
24
[ JsonConverter ( typeof ( UnixTimestampConverter ) ) ]
25
25
public DateTime ? TimeStamp { get ; set ; }
26
26
27
+ /// <summary>
28
+ /// Populated when <see cref="Action"/> is WikiBan, BanUser, or UnBanUser.
29
+ /// </summary>
30
+ [ JsonProperty ( "description" ) ]
31
+ public string Description { get ; set ; }
32
+
27
33
/// <summary>
28
34
/// Action details.
29
35
/// </summary>
30
36
[ JsonProperty ( "details" ) ]
31
37
public string Details { get ; set ; }
32
38
39
+ /// <summary>
40
+ /// Base 36 id of the moderator who performed the action.
41
+ /// </summary>
42
+ [ JsonProperty ( "mod_id36" ) ]
43
+ public string ModeratorId { get ; set ; }
44
+
33
45
/// <summary>
34
46
/// Name of moderator who performed the action.
35
47
/// </summary>
@@ -54,6 +66,30 @@ public class ModAction : Thing
54
66
[ JsonProperty ( "target_permalink" ) ]
55
67
public string TargetThingPermalink { get ; set ; }
56
68
69
+ /// <summary>
70
+ /// Base 36 id of the subreddit.
71
+ /// </summary>
72
+ [ JsonProperty ( "sr_id36" ) ]
73
+ public string SubredditId { get ; set ; }
74
+
75
+ /// <summary>
76
+ /// Subreddit name.
77
+ /// </summary>
78
+ [ JsonProperty ( "subreddit" ) ]
79
+ public string SubredditName { get ; set ; }
80
+
81
+ /// <summary>
82
+ /// Populated when target is a comment.
83
+ /// </summary>
84
+ [ JsonProperty ( "target_body" ) ]
85
+ public string TargetBody { get ; set ; }
86
+
87
+ /// <summary>
88
+ /// Populated when target is a post.
89
+ /// </summary>
90
+ [ JsonProperty ( "target_title" ) ]
91
+ public string TargetTitle { get ; set ; }
92
+
57
93
/// <summary>
58
94
/// Author of the item against which this moderation action was performed.
59
95
/// </summary>
0 commit comments