blob: 3f5f865f1bfbeb9da830b4aff81abaf0ee5154b4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
using System.Text.Json.Serialization;
namespace LibMatrix.Homeservers.ImplementationDetails.Synapse.Models.Responses;
public class SynapseAdminUserRedactIdResponse {
[JsonPropertyName("redact_id")]
public string RedactionId { get; set; }
}
public class SynapseAdminRedactStatusResponse {
/// <summary>
/// One of "scheduled", "active", "completed", "failed"
/// </summary>
[JsonPropertyName("status")]
public string Status { get; set; }
/// <summary>
/// Key: Event ID, Value: Error message
/// </summary>
[JsonPropertyName("failed_redactions")]
public Dictionary<string, string> FailedRedactions { get; set; }
}
|