blob: fe686be93c408b5845f47a2b08ad80780f1b8df7 (
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.AdminApi.Models;
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; }
}
|