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
10 changes: 10 additions & 0 deletions src/main/java/io/getstream/models/AddCommentReactionResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@
@lombok.AllArgsConstructor
public class AddCommentReactionResponse {

@JsonProperty("counter_delta")
private Integer counterDelta;

@JsonProperty("duration")
private String duration;

@JsonProperty("outcome")
private String outcome;

@JsonProperty("comment")
private CommentResponse comment;

Expand All @@ -46,6 +52,10 @@ public class AddCommentReactionResponse {
@JsonProperty("notification_task_id")
private String notificationTaskID;

@Nullable
@JsonProperty("previous_reaction_type")
private String previousReactionType;

@Nullable
@JsonProperty("reference_activity")
private ActivityResponse referenceActivity;
Expand Down
10 changes: 10 additions & 0 deletions src/main/java/io/getstream/models/AddReactionResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@
@lombok.AllArgsConstructor
public class AddReactionResponse {

@JsonProperty("counter_delta")
private Integer counterDelta;

@JsonProperty("duration")
private String duration;

@JsonProperty("outcome")
private String outcome;

@JsonProperty("activity")
private ActivityResponse activity;

Expand All @@ -46,6 +52,10 @@ public class AddReactionResponse {
@JsonProperty("notification_task_id")
private String notificationTaskID;

@Nullable
@JsonProperty("previous_reaction_type")
private String previousReactionType;

@Nullable
@JsonProperty("reference_activity")
private ActivityResponse referenceActivity;
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 @@ -29,6 +29,10 @@ public class AggregationConfig {
@JsonProperty("format")
private String format;

@Nullable
@JsonProperty("group_size")
private Integer groupSize;

@Nullable
@JsonProperty("score_strategy")
private String scoreStrategy;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/AnalyzeRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ public class AnalyzeRequest {
@JsonProperty("content_published_at")
private Date contentPublishedAt;

@Nullable
@JsonProperty("country_code")
private String countryCode;

@Nullable
@JsonProperty("entity_creator_id")
private String entityCreatorID;
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/io/getstream/models/AppealItemResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ public class AppealItemResponse {
@JsonProperty("ai_text_severity")
private String aiTextSeverity;

@Nullable
@JsonProperty("appeal_reason_language")
private String appealReasonLanguage;

@Nullable
@JsonProperty("channel_cid")
private String channelCid;
Expand Down Expand Up @@ -92,6 +96,10 @@ public class AppealItemResponse {
@JsonProperty("flags")
private List<ModerationFlagResponse> flags;

@Nullable
@JsonProperty("languages")
private List<String> languages;

@Nullable
@JsonProperty("entity_content")
private ModerationPayload entityContent;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/AppealRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ public class AppealRequest {
@JsonProperty("entity_type")
private String entityType;

@Nullable
@JsonProperty("channel_cid")
private String channelCid;

@Nullable
@JsonProperty("review_queue_item_id")
private String reviewQueueItemID;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ public class BulkActionAppealsRequest {
@JsonProperty("unban")
private UnbanActionRequestPayload unban;

/**
* @deprecated
*/
@Deprecated
@Nullable
@JsonProperty("unblock")
private UnblockActionRequestPayload unblock;
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/io/getstream/models/CallRingEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;
import java.util.List;
import org.jetbrains.annotations.Nullable;

/** This event is sent to all call members to notify they are getting called */
@lombok.Data
Expand Down Expand Up @@ -46,4 +47,8 @@ public class CallRingEvent {

@JsonProperty("type")
private String type;

@Nullable
@JsonProperty("ring_id")
private String ringID;
}
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/CheckRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ public class CheckRequest {
@JsonProperty("content_published_at")
private Date contentPublishedAt;

@Nullable
@JsonProperty("country_code")
private String countryCode;

@Nullable
@JsonProperty("test_mode")
private Boolean testMode;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/CheckResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ public class CheckResponse {
@JsonProperty("item")
private ReviewQueueItemResponse item;

/**
* @deprecated
*/
@Deprecated
@Nullable
@JsonProperty("triggered_rule")
private TriggeredRuleResponse triggeredRule;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import java.util.Map;
import org.jetbrains.annotations.Nullable;

/** Basic response information */
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/CreatePollRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ public class CreatePollRequest {
@JsonProperty("max_votes_allowed")
private Integer maxVotesAllowed;

@Nullable
@JsonProperty("team")
private String team;

@Nullable
@JsonProperty("user_id")
private String userID;
Expand Down
10 changes: 9 additions & 1 deletion src/main/java/io/getstream/models/CreateReminderRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,21 @@
import java.util.Date;
import org.jetbrains.annotations.Nullable;

/** Create reminder Creates a new reminder Sends events: - reminder.created */
/**
* Create reminder Creates a new reminder. An optional expires_at hides the reminder from every read
* once it passes and stops it counting against the per-user reminder cap Sends events: -
* reminder.created
*/
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class CreateReminderRequest {

@Nullable
@JsonProperty("expires_at")
private Date expiresAt;

@Nullable
@JsonProperty("remind_at")
private Date remindAt;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* ========================================================================
* 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 DeleteFeedsRetentionPolicyRequest {

@JsonProperty("policy")
private String policy;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* ========================================================================
* 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;

/** Basic response information */
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class DeleteFeedsRetentionPolicyResponse {

@JsonProperty("duration")
private String duration;
}
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/EventHook.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ public class EventHook {
@JsonProperty("sqs_auth_type")
private String sqsAuthType;

@Nullable
@JsonProperty("sqs_event_based_message_group_id_enabled")
private Boolean sqsEventBasedMessageGroupIDEnabled;

@Nullable
@JsonProperty("sqs_key")
private String sqsKey;
Expand Down
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;

/**
* Delete feeds retention policy Removes the feeds retention policy for the app. Server-side only.
*/
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class FeedsDeleteRetentionPolicyRequest {

@JsonProperty("policy")
private String policy;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* ========================================================================
* 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;

/**
* Get feeds retention policy Returns the feeds retention policies configured for the app.
* Server-side only.
*/
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
public class FeedsGetRetentionPolicyRequest {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* ========================================================================
* 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 java.util.Map;
import org.jetbrains.annotations.Nullable;

/**
* Get feeds retention policy runs Returns filtered and sorted feeds retention cleanup run history
* for the app. Supports filter_conditions on &#39;policy&#39; (possible values:
* &#39;old-activities&#39;) and &#39;date&#39; fields. Server-side only.
*/
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class FeedsGetRetentionPolicyRunsRequest {

@Nullable
@JsonProperty("limit")
private Integer limit;

@Nullable
@JsonProperty("next")
private String next;

@Nullable
@JsonProperty("prev")
private String prev;

@Nullable
@JsonProperty("sort")
private List<SortParamRequest> sort;

@Nullable
@JsonProperty("filter_conditions")
private Map<String, Object> filterConditions;
}
Loading
Loading