chr
2025-01-03 31a636e735a0addc56e4f4527f500b7aa0874eb5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace AutoUpdater.Util
{
    [Serializable]
    public class Result<T>
    {
        [JsonProperty("success")]
        public bool success
        {
            get; set;
        }
 
        [JsonProperty("message")]
        public string message
        {
            get; set;
        }
 
        [JsonProperty("code")]
        public int code
        {
            get; set;
        }
 
        [JsonProperty("result")]
        public T result
        {
            get; set;
        }
 
    }
 
}