about summary refs log tree commit diff
path: root/LibMatrix/Responses/Admin/AdminRoomDeleteRequest.cs
blob: ceb1b3fbbb0c6045dced6ec9d81bd2a4fa39abdf (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
using System.Text.Json.Serialization;

namespace LibMatrix.Responses.Admin;

public class AdminRoomDeleteRequest {
    [JsonPropertyName("new_room_user_id")]
    public string? NewRoomUserId { get; set; }

    [JsonPropertyName("room_name")]
    public string? RoomName { get; set; }

    [JsonPropertyName("block")]
    public bool Block { get; set; }

    [JsonPropertyName("purge")]
    public bool Purge { get; set; }

    [JsonPropertyName("message")]
    public string? Message { get; set; }

    [JsonPropertyName("force_purge")]
    public bool ForcePurge { get; set; }
}