From 89adc8cd26701c632215e67c0fdb0f8db1bad939 Mon Sep 17 00:00:00 2001 From: anhefti Date: Thu, 16 Nov 2023 19:31:18 +0100 Subject: [PATCH] added Zoom User Settings (UZH) --- .../impl/proctoring/ZoomRoomRequestResponse.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/proctoring/ZoomRoomRequestResponse.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/proctoring/ZoomRoomRequestResponse.java index dad81fd3..2cf8a102 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/proctoring/ZoomRoomRequestResponse.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/proctoring/ZoomRoomRequestResponse.java @@ -163,6 +163,8 @@ public interface ZoomRoomRequestResponse { static class InMeetingSettings { + @JsonProperty final boolean virtual_background = false; + @JsonProperty final VirtualBackgroundSettings virtual_background_settings = new VirtualBackgroundSettings(); @JsonProperty final boolean auto_saving_chat; @JsonProperty final int allow_users_save_chats; @JsonProperty final int allow_participants_chat_with; @@ -178,6 +180,13 @@ public interface ZoomRoomRequestResponse { } } + @JsonIgnoreProperties(ignoreUnknown = true) + static class VirtualBackgroundSettings { + @JsonProperty final boolean enable = false; + @JsonProperty final boolean allow_upload_custom = false; + @JsonProperty final boolean allow_videos = false; + } + static class FeaturesSettings { @JsonProperty final String concurrent_meeting; public FeaturesSettings(final String concurrent_meeting) { @@ -186,6 +195,8 @@ public interface ZoomRoomRequestResponse { } } + + @JsonIgnoreProperties(ignoreUnknown = true) static class UserResponse { final String id;