about summary refs log tree commit diff
path: root/MatrixRoomUtils.Core/StateEventTypes/Spec/SpaceParentEventData.cs
blob: a40f7aee2eeb923222a605771eb0050ed8fa0fec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System.Text.Json.Serialization;
using MatrixRoomUtils.Core.Extensions;
using MatrixRoomUtils.Core.Interfaces;

namespace MatrixRoomUtils.Core.StateEventTypes.Spec;

[MatrixEvent(EventName = "m.space.parent")]
public class SpaceParentEventData : IStateEventType {
    [JsonPropertyName("via")]
    public string[]? Via { get; set; }

    [JsonPropertyName("canonical")]
    public bool? Canonical { get; set; }
}