Skip to content

Commit e6598e6

Browse files
committed
[FEEDS-1372] Regenerate OpenAPI SDK.
Update generated Java service interfaces/implementations and model classes from latest OpenAPI spec. Made-with: Cursor
1 parent 018e53f commit e6598e6

124 files changed

Lines changed: 2736 additions & 26 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/main/java/io/getstream/models/ActionLogResponse.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ public class ActionLogResponse {
3333
@JsonProperty("reason")
3434
private String reason;
3535

36+
@JsonProperty("reporter_type")
37+
private String reporterType;
38+
3639
@JsonProperty("target_user_id")
3740
private String targetUserID;
3841

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
* ========================================================================
3+
* WARNING: GENERATED CODE -- DO NOT EDIT!
4+
* ========================================================================
5+
*
6+
* This file was auto-generated by GetStream internal OpenAPI
7+
*
8+
* Any modifications to this file will be lost upon regeneration.
9+
* To make changes, please modify the source templates and regenerate.
10+
*
11+
* ========================================================================
12+
*/
13+
package io.getstream.models;
14+
15+
import com.fasterxml.jackson.annotation.JsonProperty;
16+
import org.jetbrains.annotations.Nullable;
17+
18+
@lombok.Data
19+
@lombok.Builder
20+
@lombok.NoArgsConstructor
21+
@lombok.AllArgsConstructor
22+
public class ActivityFilterConfig {
23+
24+
@Nullable
25+
@JsonProperty("exclude_owner_activities")
26+
private Boolean excludeOwnerActivities;
27+
}

src/main/java/io/getstream/models/ActivityRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public class ActivityRequest {
111111

112112
@Nullable
113113
@JsonProperty("location")
114-
private ActivityLocation location;
114+
private Location location;
115115

116116
@Nullable
117117
@JsonProperty("search_data")

src/main/java/io/getstream/models/ActivityResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public class ActivityResponse {
162162

163163
@Nullable
164164
@JsonProperty("location")
165-
private ActivityLocation location;
165+
private Location location;
166166

167167
@Nullable
168168
@JsonProperty("metrics")

src/main/java/io/getstream/models/AddActivityRequest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ public class AddActivityRequest {
5050
@JsonProperty("expires_at")
5151
private String expiresAt;
5252

53+
@Nullable
54+
@JsonProperty("force_moderation")
55+
private Boolean forceModeration;
56+
5357
@Nullable
5458
@JsonProperty("id")
5559
private String id;
@@ -116,7 +120,7 @@ public class AddActivityRequest {
116120

117121
@Nullable
118122
@JsonProperty("location")
119-
private ActivityLocation location;
123+
private Location location;
120124

121125
@Nullable
122126
@JsonProperty("search_data")
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
* ========================================================================
3+
* WARNING: GENERATED CODE -- DO NOT EDIT!
4+
* ========================================================================
5+
*
6+
* This file was auto-generated by GetStream internal OpenAPI
7+
*
8+
* Any modifications to this file will be lost upon regeneration.
9+
* To make changes, please modify the source templates and regenerate.
10+
*
11+
* ========================================================================
12+
*/
13+
package io.getstream.models;
14+
15+
import com.fasterxml.jackson.annotation.JsonProperty;
16+
import java.util.Map;
17+
import org.jetbrains.annotations.Nullable;
18+
19+
/** Add comment bookmark Adds a bookmark to a comment */
20+
@lombok.Data
21+
@lombok.Builder
22+
@lombok.NoArgsConstructor
23+
@lombok.AllArgsConstructor
24+
public class AddCommentBookmarkRequest {
25+
26+
@Nullable
27+
@JsonProperty("folder_id")
28+
private String folderID;
29+
30+
@Nullable
31+
@JsonProperty("user_id")
32+
private String userID;
33+
34+
@Nullable
35+
@JsonProperty("custom")
36+
private Map<String, Object> custom;
37+
38+
@Nullable
39+
@JsonProperty("new_folder")
40+
private AddFolderRequest newFolder;
41+
42+
@Nullable
43+
@JsonProperty("user")
44+
private UserRequest user;
45+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/*
2+
* ========================================================================
3+
* WARNING: GENERATED CODE -- DO NOT EDIT!
4+
* ========================================================================
5+
*
6+
* This file was auto-generated by GetStream internal OpenAPI
7+
*
8+
* Any modifications to this file will be lost upon regeneration.
9+
* To make changes, please modify the source templates and regenerate.
10+
*
11+
* ========================================================================
12+
*/
13+
package io.getstream.models;
14+
15+
import com.fasterxml.jackson.annotation.JsonProperty;
16+
17+
@lombok.Data
18+
@lombok.Builder
19+
@lombok.NoArgsConstructor
20+
@lombok.AllArgsConstructor
21+
public class AddCommentBookmarkResponse {
22+
23+
@JsonProperty("duration")
24+
private String duration;
25+
26+
@JsonProperty("bookmark")
27+
private BookmarkResponse bookmark;
28+
}

src/main/java/io/getstream/models/AddCommentRequest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ public class AddCommentRequest {
4343
@JsonProperty("create_notification_activity")
4444
private Boolean createNotificationActivity;
4545

46+
@Nullable
47+
@JsonProperty("force_moderation")
48+
private Boolean forceModeration;
49+
4650
@Nullable
4751
@JsonProperty("id")
4852
private String id;

src/main/java/io/getstream/models/AggregationConfig.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
@lombok.AllArgsConstructor
2222
public class AggregationConfig {
2323

24+
@Nullable
25+
@JsonProperty("activities_sort")
26+
private String activitiesSort;
27+
2428
@Nullable
2529
@JsonProperty("format")
2630
private String format;

src/main/java/io/getstream/models/AppResponseFields.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ public class AppResponseFields {
5151
@JsonProperty("enforce_unique_usernames")
5252
private String enforceUniqueUsernames;
5353

54+
@JsonProperty("feed_audit_logs_enabled")
55+
private Boolean feedAuditLogsEnabled;
56+
5457
@JsonProperty("guest_user_creation_disabled")
5558
private Boolean guestUserCreationDisabled;
5659

0 commit comments

Comments
 (0)