using System.Text.Json.Serialization; using LibMatrix.Extensions; using LibMatrix.Interfaces; namespace LibMatrix.StateEventTypes.Spec; [MatrixEvent(EventName = "m.room.server_acl")] public class ServerACLEventData : IStateEventType { [JsonPropertyName("allow")] public List Allow { get; set; } // = null!; [JsonPropertyName("deny")] public List Deny { get; set; } // = null!; [JsonPropertyName("allow_ip_literals")] public bool AllowIpLiterals { get; set; } // = false; }