Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/main/java/io/getstream/models/ActionLogResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public class ActionLogResponse {
@JsonProperty("reason")
private String reason;

@JsonProperty("reporter_type")
private String reporterType;

@JsonProperty("target_user_id")
private String targetUserID;

Expand Down
27 changes: 27 additions & 0 deletions src/main/java/io/getstream/models/ActivityFilterConfig.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.jetbrains.annotations.Nullable;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class ActivityFilterConfig {

@Nullable
@JsonProperty("exclude_owner_activities")
private Boolean excludeOwnerActivities;
}
2 changes: 1 addition & 1 deletion src/main/java/io/getstream/models/ActivityRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public class ActivityRequest {

@Nullable
@JsonProperty("location")
private ActivityLocation location;
private Location location;

@Nullable
@JsonProperty("search_data")
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/getstream/models/ActivityResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public class ActivityResponse {

@Nullable
@JsonProperty("location")
private ActivityLocation location;
private Location location;

@Nullable
@JsonProperty("metrics")
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/io/getstream/models/AddActivityRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ public class AddActivityRequest {
@JsonProperty("expires_at")
private String expiresAt;

@Nullable
@JsonProperty("force_moderation")
private Boolean forceModeration;

@Nullable
@JsonProperty("id")
private String id;
Expand Down Expand Up @@ -116,7 +120,7 @@ public class AddActivityRequest {

@Nullable
@JsonProperty("location")
private ActivityLocation location;
private Location location;

@Nullable
@JsonProperty("search_data")
Expand Down
45 changes: 45 additions & 0 deletions src/main/java/io/getstream/models/AddCommentBookmarkRequest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
import org.jetbrains.annotations.Nullable;

/** Add comment bookmark Adds a bookmark to a comment */
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class AddCommentBookmarkRequest {

@Nullable
@JsonProperty("folder_id")
private String folderID;

@Nullable
@JsonProperty("user_id")
private String userID;

@Nullable
@JsonProperty("custom")
private Map<String, Object> custom;

@Nullable
@JsonProperty("new_folder")
private AddFolderRequest newFolder;

@Nullable
@JsonProperty("user")
private UserRequest user;
}
28 changes: 28 additions & 0 deletions src/main/java/io/getstream/models/AddCommentBookmarkResponse.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class AddCommentBookmarkResponse {

@JsonProperty("duration")
private String duration;

@JsonProperty("bookmark")
private BookmarkResponse bookmark;
}
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/AddCommentRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ public class AddCommentRequest {
@JsonProperty("create_notification_activity")
private Boolean createNotificationActivity;

@Nullable
@JsonProperty("force_moderation")
private Boolean forceModeration;

@Nullable
@JsonProperty("id")
private String id;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/AggregationConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
@lombok.AllArgsConstructor
public class AggregationConfig {

@Nullable
@JsonProperty("activities_sort")
private String activitiesSort;

@Nullable
@JsonProperty("format")
private String format;
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/io/getstream/models/AppResponseFields.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public class AppResponseFields {
@JsonProperty("enforce_unique_usernames")
private String enforceUniqueUsernames;

@JsonProperty("feed_audit_logs_enabled")
private Boolean feedAuditLogsEnabled;

@JsonProperty("guest_user_creation_disabled")
private Boolean guestUserCreationDisabled;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
@lombok.AllArgsConstructor
public class BanActionRequestPayload {

@Nullable
@JsonProperty("ban_from_future_channels")
private Boolean banFromFutureChannels;

@Nullable
@JsonProperty("channel_ban_only")
private Boolean channelBanOnly;
Expand Down
30 changes: 30 additions & 0 deletions src/main/java/io/getstream/models/BodyguardProfileSummary.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.jetbrains.annotations.Nullable;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class BodyguardProfileSummary {

@JsonProperty("name")
private String name;

@Nullable
@JsonProperty("display_name")
private String displayName;
}
14 changes: 14 additions & 0 deletions src/main/java/io/getstream/models/BookmarkResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ public class BookmarkResponse {
@JsonProperty("created_at")
private Date createdAt;

@JsonProperty("object_id")
private String objectID;

@JsonProperty("object_type")
private String objectType;

@JsonProperty("updated_at")
private Date updatedAt;

Expand All @@ -35,6 +41,14 @@ public class BookmarkResponse {
@JsonProperty("user")
private UserResponse user;

@Nullable
@JsonProperty("activity_id")
private String activityID;

@Nullable
@JsonProperty("comment")
private CommentResponse comment;

@Nullable
@JsonProperty("custom")
private Map<String, Object> custom;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import org.jetbrains.annotations.Nullable;

/**
* Bulk delete moderation action configs Delete multiple moderation action config entries by UUID in
* a single request.
*/
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class BulkDeleteActionConfigRequest {

@JsonProperty("ids")
private List<String> ids;

@Nullable
@JsonProperty("user_id")
private String userID;

@Nullable
@JsonProperty("user")
private UserRequest user;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class BulkDeleteActionConfigResponse {

@JsonProperty("deleted")
private Integer deleted;

@JsonProperty("duration")
private String duration;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import org.jetbrains.annotations.Nullable;

/**
* Bulk create or update moderation action configs Create or update multiple moderation action
* config entries in a single request. Omit the ID field to create; provide an ID to update.
*/
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class BulkUpsertActionConfigRequest {

@JsonProperty("action_configs")
private List<UpsertActionConfigItem> actionConfigs;

@Nullable
@JsonProperty("user_id")
private String userID;

@Nullable
@JsonProperty("user")
private UserRequest user;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class BulkUpsertActionConfigResponse {

@JsonProperty("duration")
private String duration;

@JsonProperty("action_configs")
private List<ModerationActionConfigResponse> actionConfigs;
}
Loading
Loading