about summary refs log tree commit diff
path: root/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomServerACLEventContent.cs
blob: c1e11272a478e20da9de32892aaf79923c8c6c0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System.Text.Json.Serialization;

namespace LibMatrix.EventTypes.Spec.State;

[MatrixEvent(EventName = "m.room.server_acl")]
public class RoomServerACLEventContent : EventContent {
    [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;
}