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
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/ActivityResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ public class ActivityResponse {
@JsonProperty("moderation_action")
private String moderationAction;

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

@Nullable
@JsonProperty("selector_source")
private String selectorSource;
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/io/getstream/models/ActivitySelectorConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ public class ActivitySelectorConfig {
@JsonProperty("cutoff_window")
private String cutoffWindow;

@Nullable
@JsonProperty("friend_type")
private String friendType;

@Nullable
@JsonProperty("max_friends")
private Integer maxFriends;

@Nullable
@JsonProperty("min_friends")
private Integer minFriends;

@Nullable
@JsonProperty("min_popularity")
private Integer minPopularity;
Expand All @@ -50,6 +62,10 @@ public class ActivitySelectorConfig {
@JsonProperty("viewer_location_radius_km")
private Double viewerLocationRadiusKm;

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

@Nullable
@JsonProperty("sort")
private List<SortParamRequest> sort;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ public class ActivitySelectorConfigResponse {
@JsonProperty("cutoff_window")
private String cutoffWindow;

@Nullable
@JsonProperty("friend_type")
private String friendType;

@Nullable
@JsonProperty("max_friends")
private Integer maxFriends;

@Nullable
@JsonProperty("min_friends")
private Integer minFriends;

@Nullable
@JsonProperty("min_popularity")
private Integer minPopularity;
Expand All @@ -51,6 +63,10 @@ public class ActivitySelectorConfigResponse {
@JsonProperty("viewer_location_radius_km")
private Double viewerLocationRadiusKm;

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

@Nullable
@JsonProperty("sort")
private List<SortParamRequest> sort;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ private ActivitySelectorType() {}
public static final String CURRENT_FEED = "current_feed";
public static final String FOLLOWING = "following";
public static final String FOLLOW_SUGGESTION = "follow_suggestion";
public static final String FRIENDS_ENGAGED = "friends_engaged";
public static final String INTEREST = "interest";
public static final String POPULAR = "popular";
public static final String PROXIMITY = "proximity";
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/io/getstream/models/CallSettingsResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
package io.getstream.models;

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

@lombok.Data
Expand Down Expand Up @@ -72,6 +73,10 @@ public class CallSettingsResponse {
@JsonProperty("video")
private VideoSettingsResponse video;

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

@Nullable
@JsonProperty("ingress")
private IngressSettingsResponse ingress;
Expand Down
32 changes: 32 additions & 0 deletions src/main/java/io/getstream/models/ChannelTypeRuleResponse.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* ========================================================================
* 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.Date;

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

@JsonProperty("channel_type")
private String channelType;

@JsonProperty("enabled_at")
private Date enabledAt;

@JsonProperty("max_age_hours")
private Integer maxAgeHours;
}
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/ConfigResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ public class ConfigResponse {
@JsonProperty("supported_video_call_harm_types")
private List<String> supportedVideoCallHarmTypes;

@Nullable
@JsonProperty("published_version")
private Integer publishedVersion;

@Nullable
@JsonProperty("ai_image_label_definitions")
private List<AIImageLabelDefinition> aiImageLabelDefinitions;
Expand Down
35 changes: 35 additions & 0 deletions src/main/java/io/getstream/models/ConfigVersionResponse.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* ========================================================================
* 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.Date;

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

@JsonProperty("created_at")
private Date createdAt;

@JsonProperty("created_by")
private String createdBy;

@JsonProperty("published")
private Boolean published;

@JsonProperty("version")
private Integer version;
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@
package io.getstream.models;

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

/** Delete retention policy Removes a retention policy for the app. Server-side only. */
/**
* Delete retention policy Removes a retention policy for the app. For the
* &#39;inactive-channels-by-type&#39; policy, &#39;channel_type&#39; selects the rule to remove.
* Server-side only.
*/
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
Expand All @@ -23,4 +28,8 @@ public class DeleteRetentionPolicyRequest {

@JsonProperty("policy")
private String policy;

@Nullable
@JsonProperty("channel_type")
private String channelType;
}
8 changes: 8 additions & 0 deletions src/main/java/io/getstream/models/ForYouConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,12 @@ public class ForYouConfig {
@Nullable
@JsonProperty("preset")
private String preset;

@Nullable
@JsonProperty("dwell")
private ForYouDwellConfig dwell;

@Nullable
@JsonProperty("exploration")
private ForYouExplorationConfig exploration;
}
31 changes: 31 additions & 0 deletions src/main/java/io/getstream/models/ForYouDwellConfig.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* ========================================================================
* 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 ForYouDwellConfig {

@Nullable
@JsonProperty("enabled")
private Boolean enabled;

@Nullable
@JsonProperty("threshold_ms")
private Integer thresholdMs;
}
31 changes: 31 additions & 0 deletions src/main/java/io/getstream/models/ForYouExplorationConfig.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* ========================================================================
* 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 ForYouExplorationConfig {

@Nullable
@JsonProperty("enabled")
private Boolean enabled;

@Nullable
@JsonProperty("slot")
private Integer slot;
}
31 changes: 31 additions & 0 deletions src/main/java/io/getstream/models/GetConfigVersionRequest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* ========================================================================
* 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.JsonIgnore;
import io.getstream.annotations.Query;

/**
* Get moderation configuration version Retrieve the full moderation configuration stored in a
* specific version, whether or not it is published.
*/
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class GetConfigVersionRequest {

@Query("team")
@JsonIgnore
private String Team;
}
33 changes: 33 additions & 0 deletions src/main/java/io/getstream/models/GetConfigVersionResponse.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* ========================================================================
* 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 GetConfigVersionResponse {

@JsonProperty("duration")
private String duration;

@JsonProperty("version")
private ConfigVersionResponse version;

@Nullable
@JsonProperty("config")
private ConfigResponse config;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* ========================================================================
* 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.JsonIgnore;
import io.getstream.annotations.Query;

/**
* Get notification status Returns the unread and unseen counts of a notification feed, along with
* the last seen and last read timestamps, without building a page.
*/
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class GetNotificationStatusRequest {

@Query("view")
@JsonIgnore
private String View;

@Query("user_id")
@JsonIgnore
private String UserID;
}
Loading
Loading