blob: c306b9546ab2e03f6129f4142dd0e48e8630d085 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
using System.Text.Json.Serialization;
namespace Spacebar.Models.AdminApi;
public class AsyncActionResult {
public AsyncActionResult() { }
public AsyncActionResult(string type, object? data) {
MessageType = type;
Data = data;
}
[JsonPropertyName("type")]
public string MessageType { get; set; }
[JsonPropertyName("data")]
public object Data { get; set; }
}
|