summary refs log tree commit diff
path: root/ModAS.Classes/RoomQueryFilter.cs
blob: 0a6430e07ffb101d812125f2f36bfb4ed6284eb2 (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
namespace ModAS.Classes;

public class RoomQueryFilter {
    public string? RoomIdContains { 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 string? AvatarUrlContains { get; set; }
    public string? RoomTopicContains { get; set; }

    public bool? IsFederatable { get; set; } = true;
    public bool? IsPublic { get; set; } = true;

    public uint? JoinedMembersMin { get; set; }
    public uint? JoinedMembersMax { get; set; }
    public uint? JoinedLocalMembersMin { get; set; }
    public uint? JoinedLocalMembersMax { get; set; }
    public uint? StateEventsMin { get; set; }
    public uint? StateEventsMax { get; set; }
    
}