about summary refs log tree commit diff
path: root/MatrixRoomUtils.Core/Responses/StateEventResponse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.Core/Responses/StateEventResponse.cs')
-rw-r--r--MatrixRoomUtils.Core/Responses/StateEventResponse.cs24
1 files changed, 14 insertions, 10 deletions
diff --git a/MatrixRoomUtils.Core/Responses/StateEventResponse.cs b/MatrixRoomUtils.Core/Responses/StateEventResponse.cs
index 670c121..36f0a36 100644
--- a/MatrixRoomUtils.Core/Responses/StateEventResponse.cs
+++ b/MatrixRoomUtils.Core/Responses/StateEventResponse.cs
@@ -2,43 +2,47 @@ using System.Text.Json.Serialization;
 
 namespace MatrixRoomUtils.Core;
 
-public class StateEventResponse : StateEvent
-{
+public class StateEventResponse : StateEvent {
     [JsonPropertyName("origin_server_ts")]
     public ulong OriginServerTs { get; set; }
+
     [JsonPropertyName("room_id")]
     public string RoomId { get; set; }
+
     [JsonPropertyName("sender")]
     public string Sender { get; set; }
+
     [JsonPropertyName("unsigned")]
     public UnsignedData? Unsigned { get; set; }
+
     [JsonPropertyName("event_id")]
     public string EventId { get; set; }
+
     [JsonPropertyName("user_id")]
     public string UserId { get; set; }
+
     [JsonPropertyName("replaces_state")]
     public string ReplacesState { get; set; }
+
     [JsonPropertyName("prev_content")]
     public dynamic PrevContent { get; set; }
-    
-    
-    public class UnsignedData
-    {
+
+    public class UnsignedData {
         [JsonPropertyName("age")]
         public ulong Age { get; set; }
+
         [JsonPropertyName("prev_content")]
         public dynamic? PrevContent { get; set; }
+
         [JsonPropertyName("redacted_because")]
         public dynamic? RedactedBecause { get; set; }
+
         [JsonPropertyName("transaction_id")]
         public string? TransactionId { get; set; }
-        
     }
 }
 
-public class StateEventResponse<T> : StateEventResponse where T : class
-{
-    
+public class StateEventResponse<T> : StateEventResponse where T : class {
     [JsonPropertyName("content")]
     public T Content { get; set; }
 }
\ No newline at end of file