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
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 org.jetbrains.annotations.Nullable;

@lombok.Data
@lombok.Builder
Expand All @@ -22,4 +23,12 @@ public class ActivityProcessorConfig {

@JsonProperty("type")
private String type;

@Nullable
@JsonProperty("min_text_length")
private Integer minTextLength;

@Nullable
@JsonProperty("min_word_count")
private Integer minWordCount;
}
3 changes: 3 additions & 0 deletions src/main/java/io/getstream/models/ChannelConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ public class ChannelConfig {
@JsonProperty("max_message_length")
private Integer maxMessageLength;

@JsonProperty("message_retention")
private String messageRetention;

@JsonProperty("mutes")
private Boolean mutes;

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

@JsonProperty("message_retention")
private String messageRetention;

@JsonProperty("mutes")
private Boolean mutes;

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

@JsonProperty("message_retention")
private String messageRetention;

@JsonProperty("mutes")
private Boolean mutes;

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

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

@Nullable
@JsonProperty("subclassifications")
private List<Classification> subclassifications;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ public class CreateChannelTypeResponse {
@JsonProperty("max_message_length")
private Integer maxMessageLength;

@JsonProperty("message_retention")
private String messageRetention;

@JsonProperty("mutes")
private Boolean mutes;

Expand Down
49 changes: 49 additions & 0 deletions src/main/java/io/getstream/models/CreatePermissionRequest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/*
* ========================================================================
* 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;

/** Create permission Creates permission */
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class CreatePermissionRequest {

@JsonProperty("action")
private String action;

@JsonProperty("id")
private String id;

@JsonProperty("name")
private String name;

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

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

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

@Nullable
@JsonProperty("same_team")
private Boolean sameTeam;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
* ========================================================================
* 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;

/** Create predefined filter Create a predefined filter that can be used in Query endpoints */
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class CreatePredefinedFilterRequest {

@JsonProperty("name")
private String name;

@JsonProperty("operation")
private String operation;

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

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

@Nullable
@JsonProperty("sort")
private List<Map<String, Object>> sort;
}
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 CreatePredefinedFilterResponse {

@JsonProperty("duration")
private String duration;

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

/** Delete permission Deletes custom permission */
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
public class DeletePermissionRequest {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* ========================================================================
* 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;

/** Delete predefined filter Delete a predefined filter by name */
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
public class DeletePredefinedFilterRequest {}
3 changes: 3 additions & 0 deletions src/main/java/io/getstream/models/GetChannelTypeResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ public class GetChannelTypeResponse {
@JsonProperty("max_message_length")
private Integer maxMessageLength;

@JsonProperty("message_retention")
private String messageRetention;

@JsonProperty("mutes")
private Boolean mutes;

Expand Down
23 changes: 23 additions & 0 deletions src/main/java/io/getstream/models/GetFeedCountsRequest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* ========================================================================
* 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 feed counts Returns the number of activities in a feed, the total number of comments on those
* activities (including nested replies), and the sum of both. The comment total is cached for a few
* seconds on large feeds.
*/
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
public class GetFeedCountsRequest {}
34 changes: 34 additions & 0 deletions src/main/java/io/getstream/models/GetFeedCountsResponse.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
* ========================================================================
* 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 GetFeedCountsResponse {

@JsonProperty("activity_count")
private Integer activityCount;

@JsonProperty("comment_count")
private Integer commentCount;

@JsonProperty("duration")
private String duration;

@JsonProperty("total_count")
private Integer totalCount;
}
86 changes: 86 additions & 0 deletions src/main/java/io/getstream/models/GetPinnedMessagesRequest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
/*
* ========================================================================
* 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;
import java.util.Date;
import java.util.List;

/** Get pinned messages Returns pinned messages for the channel */
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class GetPinnedMessagesRequest {

@Query("limit")
@JsonIgnore
private Integer Limit;

@Query("offset")
@JsonIgnore
private Integer Offset;

@Query("id_gte")
@JsonIgnore
private String IDGte;

@Query("id_gt")
@JsonIgnore
private String IDGt;

@Query("id_lte")
@JsonIgnore
private String IDLte;

@Query("id_lt")
@JsonIgnore
private String IDLt;

@Query("pinned_at_after_or_equal")
@JsonIgnore
private Date PinnedAtAfterOrEqual;

@Query("pinned_at_after")
@JsonIgnore
private Date PinnedAtAfter;

@Query("pinned_at_before_or_equal")
@JsonIgnore
private Date PinnedAtBeforeOrEqual;

@Query("pinned_at_before")
@JsonIgnore
private Date PinnedAtBefore;

@Query("id_around")
@JsonIgnore
private String IDAround;

@Query("pinned_at_around")
@JsonIgnore
private Date PinnedAtAround;

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

@Query("sort")
@JsonIgnore
private List<SortParamRequest> Sort;

@Query("member_custom_include")
@JsonIgnore
private List<String> MemberCustomInclude;
}
Loading
Loading