Skip to content
Closed
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
7 changes: 4 additions & 3 deletions src/main/java/io/getstream/models/APNConfigFields.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ public class APNConfigFields {
@JsonProperty("enabled")
private Boolean enabled;

@JsonProperty("notification_template")
private String notificationTemplate;

@Nullable
@JsonProperty("auth_key")
private String authKey;
Expand All @@ -50,6 +47,10 @@ public class APNConfigFields {
@JsonProperty("key_id")
private String keyID;

@Nullable
@JsonProperty("notification_template")
private String notificationTemplate;

@Nullable
@JsonProperty("p12_cert")
private String p12Cert;
Expand Down
18 changes: 18 additions & 0 deletions src/main/java/io/getstream/models/APNS.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
package io.getstream.models;

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

@lombok.Data
@lombok.Builder
Expand All @@ -25,4 +27,20 @@ public class APNS {

@JsonProperty("title")
private String title;

@Nullable
@JsonProperty("content-available")
private Integer contentAvailable;

@Nullable
@JsonProperty("mutable-content")
private Integer mutableContent;

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

@Nullable
@JsonProperty("data")
private Map<String, Object> data;
}
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/AppResponseFields.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,8 @@ public class AppResponseFields {
@Nullable
@JsonProperty("datadog_info")
private DataDogInfo datadogInfo;

@Nullable
@JsonProperty("moderation_dashboard_preferences")
private ModerationDashboardPreferences moderationDashboardPreferences;
}
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.Date;
import java.util.Map;
import org.jetbrains.annotations.Nullable;

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

@JsonProperty("created_at")
private Date createdAt;

@JsonProperty("finished_at")
private Date finishedAt;

@JsonProperty("started_at")
private Date startedAt;

@JsonProperty("task_id")
private String taskID;

@JsonProperty("url")
private String url;

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

@JsonProperty("type")
private String type;

@Nullable
@JsonProperty("received_at")
private Date receivedAt;
}
12 changes: 0 additions & 12 deletions src/main/java/io/getstream/models/Attachment.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,6 @@ public class Attachment {
@JsonProperty("image_url")
private String imageUrl;

@Nullable
@JsonProperty("latitude")
private Double latitude;

@Nullable
@JsonProperty("longitude")
private Double longitude;

@Nullable
@JsonProperty("og_scrape_url")
private String ogScrapeUrl;
Expand All @@ -86,10 +78,6 @@ public class Attachment {
@JsonProperty("pretext")
private String pretext;

@Nullable
@JsonProperty("stopped_sharing")
private Boolean stoppedSharing;

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

@Nullable
@JsonProperty("delete_messages")
private String deleteMessages;

@Nullable
@JsonProperty("ip_ban")
private Boolean ipBan;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/BanRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ public class BanRequest {
@JsonProperty("channel_cid")
private String channelCid;

@Nullable
@JsonProperty("delete_messages")
private String deleteMessages;

@Nullable
@JsonProperty("ip_ban")
private Boolean ipBan;
Expand Down
25 changes: 25 additions & 0 deletions src/main/java/io/getstream/models/BulkImageModerationRequest.java
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 BulkImageModerationRequest {

@JsonProperty("csv_file")
private String csvFile;
}
28 changes: 28 additions & 0 deletions src/main/java/io/getstream/models/BulkImageModerationResponse.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 BulkImageModerationResponse {

@JsonProperty("duration")
private String duration;

@JsonProperty("task_id")
private String taskID;
}
132 changes: 132 additions & 0 deletions src/main/java/io/getstream/models/Call.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
/*
* ========================================================================
* 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;
import java.util.List;
import java.util.Map;
import org.jetbrains.annotations.Nullable;

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

@JsonProperty("AppPK")
private Integer appPK;

@JsonProperty("Backstage")
private Boolean backstage;

@JsonProperty("CID")
private String cID;

@JsonProperty("ChannelCID")
private String channelCID;

@JsonProperty("CreatedAt")
private Date createdAt;

@JsonProperty("CreatedByUserID")
private String createdByUserID;

@JsonProperty("CurrentSessionID")
private String currentSessionID;

@JsonProperty("ID")
private String iD;

@JsonProperty("LastSessionID")
private String lastSessionID;

@JsonProperty("Team")
private String team;

@JsonProperty("ThumbnailURL")
private String thumbnailURL;

@JsonProperty("Type")
private String type;

@JsonProperty("UpdatedAt")
private Date updatedAt;

@JsonProperty("BlockedUserIDs")
private List<String> blockedUserIDs;

@JsonProperty("BlockedUsers")
private List<User> blockedUsers;

@JsonProperty("Egresses")
private List<CallEgress> egresses;

@JsonProperty("Members")
private List<CallMember> members;

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

@Nullable
@JsonProperty("DeletedAt")
private Date deletedAt;

@Nullable
@JsonProperty("EgressUpdatedAt")
private Date egressUpdatedAt;

@Nullable
@JsonProperty("EndedAt")
private Date endedAt;

@Nullable
@JsonProperty("JoinAheadTimeSeconds")
private Integer joinAheadTimeSeconds;

@Nullable
@JsonProperty("LastHeartbeatAt")
private Date lastHeartbeatAt;

@Nullable
@JsonProperty("MemberCount")
private Integer memberCount;

@Nullable
@JsonProperty("StartsAt")
private Date startsAt;

@Nullable
@JsonProperty("CallType")
private CallType callType;

@Nullable
@JsonProperty("CreatedBy")
private User createdBy;

@Nullable
@JsonProperty("MemberLookup")
private MemberLookup memberLookup;

@Nullable
@JsonProperty("Session")
private CallSession session;

@Nullable
@JsonProperty("Settings")
private CallSettings settings;

@Nullable
@JsonProperty("SettingsOverrides")
private CallSettings settingsOverrides;
}
Loading
Loading