blob: 41bf0a87c3065b242529df05c09f8f7b10ce2c55 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using System.Text.Json.Serialization;
using MatrixRoomUtils.Core.Extensions;
using MatrixRoomUtils.Core.Interfaces;
namespace MatrixRoomUtils.Core.StateEventTypes;
[MatrixEvent(EventName = "m.room.server_acl")]
public class ServerACLData : IStateEventType {
[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;
}
|