about summary refs log tree commit diff
path: root/ExampleBots/MediaModeratorPoC/PolicyList.cs
blob: 0f49c975b14499a1ec03c59be6742096665320e1 (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 LibMatrix;
using LibMatrix.RoomTypes;
using MediaModeratorPoC.StateEventTypes;

namespace MediaModeratorPoC;

public class PolicyList {
    [JsonIgnore]
    public GenericRoom Room { get; set; }

    [JsonPropertyName("trusted")]
    public bool Trusted { get; set; } = false;

    [JsonIgnore]
    public List<StateEvent> Policies { get; set; } = new();
}