blob: be83e3770a52cd40b433a7e70fd3c94b1a0739c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using System.Text.Json.Serialization;
namespace LibMatrix.EventTypes.Spec.State;
[MatrixEvent(EventName = EventId)]
public class RoomServerACLEventContent : EventContent {
public const string EventId = "m.room.server_acl";
[JsonPropertyName("allow")]
public List<string>? Allow { get; set; } // = null!;
[JsonPropertyName("deny")]
public List<string>? Deny { get; set; } // = null!;
[JsonPropertyName("allow_ip_literals")]
public bool AllowIpLiterals { get; set; } // = false;
}
|