about summary refs log tree commit diff
path: root/LibMatrix/Homeservers/ImplementationDetails/Synapse/Models/Filters/SynapseAdminLocalEventReportQueryFilter.cs
blob: c34ad7c9b567cd3280031ae499019d8f82a83890 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
namespace LibMatrix.Homeservers.ImplementationDetails.Synapse.Models.Filters;

public class SynapseAdminLocalEventReportQueryFilter {
    public string UserIdContains { get; set; } = "";
    public string NameContains { get; set; } = "";
    public string CanonicalAliasContains { get; set; } = "";
    public string VersionContains { get; set; } = "";
    public string CreatorContains { get; set; } = "";
    public string EncryptionContains { get; set; } = "";
    public string JoinRulesContains { get; set; } = "";
    public string GuestAccessContains { get; set; } = "";
    public string HistoryVisibilityContains { get; set; } = "";

    public bool Federatable { get; set; } = true;
    public bool Public { get; set; } = true;

    public int JoinedMembersGreaterThan { get; set; }
    public int JoinedMembersLessThan { get; set; } = int.MaxValue;

    public int JoinedLocalMembersGreaterThan { get; set; }
    public int JoinedLocalMembersLessThan { get; set; } = int.MaxValue;
    public int StateEventsGreaterThan { get; set; }
    public int StateEventsLessThan { get; set; } = int.MaxValue;

    public bool CheckFederation { get; set; }
    public bool CheckPublic { get; set; }
}