-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCtuResponse.cs
37 lines (32 loc) · 994 Bytes
/
CtuResponse.cs
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DxCsharpSDK
{
public class CtuResponse
{
public String uuid { get; set; } // 服务端返回的请求标识码,供服务端排查问题
public String status { get; set; } // 状态码
public CtuResult result { get; set; } // 防控结果
public CtuResponse()
{
}
public CtuResponse(String uuid)
{
this.uuid = uuid;
}
public CtuResponse(String uuid, CtuResult ctuResult)
{
this.uuid = uuid;
this.result = ctuResult;
this.status = CtuResponseStatus.SUCCESS.ToString();
}
public CtuResponse(String uuid, CtuResult ctuResult, CtuResponseStatus status)
{
this.uuid = uuid;
this.result = ctuResult;
this.status = status.ToString();
}
}
}