about summary refs log tree commit diff
path: root/LibMatrix/Homeservers/ImplementationDetails/Synapse/Models/Responses/AdminRoomListResult.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-08-23 02:55:07 +0200
committerRory& <root@rory.gay>2024-08-23 02:55:07 +0200
commitf50ed7ccc4347907d3c5ec6b68e1b84c4e0a7a0e (patch)
treed77d1d1f30e0ea01051561d8caaadeed2fdcf439 /LibMatrix/Homeservers/ImplementationDetails/Synapse/Models/Responses/AdminRoomListResult.cs
parentMinor cleanup (diff)
downloadLibMatrix-f50ed7ccc4347907d3c5ec6b68e1b84c4e0a7a0e.tar.xz
Synapse admin API stuff, a mass of other changes
Diffstat (limited to 'LibMatrix/Homeservers/ImplementationDetails/Synapse/Models/Responses/AdminRoomListResult.cs')
-rw-r--r--LibMatrix/Homeservers/ImplementationDetails/Synapse/Models/Responses/AdminRoomListResult.cs64
1 files changed, 0 insertions, 64 deletions
diff --git a/LibMatrix/Homeservers/ImplementationDetails/Synapse/Models/Responses/AdminRoomListResult.cs b/LibMatrix/Homeservers/ImplementationDetails/Synapse/Models/Responses/AdminRoomListResult.cs
deleted file mode 100644
index c9d7e52..0000000
--- a/LibMatrix/Homeservers/ImplementationDetails/Synapse/Models/Responses/AdminRoomListResult.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-using System.Text.Json.Serialization;
-
-namespace LibMatrix.Homeservers.ImplementationDetails.Synapse.Models.Responses;
-
-public class AdminRoomListResult {
-    [JsonPropertyName("offset")]
-    public int Offset { get; set; }
-
-    [JsonPropertyName("total_rooms")]
-    public int TotalRooms { get; set; }
-
-    [JsonPropertyName("next_batch")]
-    public int? NextBatch { get; set; }
-
-    [JsonPropertyName("prev_batch")]
-    public int? PrevBatch { get; set; }
-
-    [JsonPropertyName("rooms")]
-    public List<AdminRoomListResultRoom> Rooms { get; set; } = new();
-
-    public class AdminRoomListResultRoom {
-        [JsonPropertyName("room_id")]
-        public required string RoomId { get; set; }
-
-        [JsonPropertyName("name")]
-        public string? Name { get; set; }
-
-        [JsonPropertyName("canonical_alias")]
-        public string? CanonicalAlias { get; set; }
-
-        [JsonPropertyName("joined_members")]
-        public int JoinedMembers { get; set; }
-
-        [JsonPropertyName("joined_local_members")]
-        public int JoinedLocalMembers { get; set; }
-
-        [JsonPropertyName("version")]
-        public string? Version { get; set; }
-
-        [JsonPropertyName("creator")]
-        public string? Creator { get; set; }
-
-        [JsonPropertyName("encryption")]
-        public string? Encryption { get; set; }
-
-        [JsonPropertyName("federatable")]
-        public bool Federatable { get; set; }
-
-        [JsonPropertyName("public")]
-        public bool Public { get; set; }
-
-        [JsonPropertyName("join_rules")]
-        public string? JoinRules { get; set; }
-
-        [JsonPropertyName("guest_access")]
-        public string? GuestAccess { get; set; }
-
-        [JsonPropertyName("history_visibility")]
-        public string? HistoryVisibility { get; set; }
-
-        [JsonPropertyName("state_events")]
-        public int StateEvents { get; set; }
-    }
-}
\ No newline at end of file