Skip to content

Commit 87af293

Browse files
fix moderation response
1 parent d41df99 commit 87af293

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/main/java/io/getstream/core/models/ModerationResponse.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ public class ModerationResponse {
88
private String RecommendedAction;
99
private APIError APIError;
1010
private String OriginFeed;
11+
private String LatestModeratorAction;
1112

1213
// Default constructor
1314
public ModerationResponse() {}
@@ -18,11 +19,13 @@ public ModerationResponse(
1819
@JsonProperty("status") String status,
1920
@JsonProperty("recommended_action") String recommendedAction,
2021
@JsonProperty("api_error") APIError apiError,
21-
@JsonProperty("origin_feed") String originFeed) {
22+
@JsonProperty("origin_feed") String originFeed,
23+
@JsonProperty("latest_moderator_action") String latestModeratorAction) {
2224
this.Status = status;
2325
this.RecommendedAction = recommendedAction;
2426
this.APIError = apiError;
2527
this.OriginFeed = originFeed;
28+
this.LatestModeratorAction = latestModeratorAction;
2629
}
2730

2831
// Getters
@@ -41,4 +44,8 @@ public APIError getAPIError() {
4144
public String getOriginFeed() {
4245
return OriginFeed;
4346
}
47+
48+
public String getLatestModeratorAction() {
49+
return LatestModeratorAction;
50+
}
4451
}

0 commit comments

Comments
 (0)