|
|
@ -1,3 +1,6 @@ |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Text.Json.Serialization; |
|
|
|
|
|
|
|
namespace LTEMvcApp.Models |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
@ -5,10 +8,19 @@ namespace LTEMvcApp.Models |
|
|
|
/// </summary>
|
|
|
|
public class NetworkConfigResponse |
|
|
|
{ |
|
|
|
[JsonPropertyName("data")] |
|
|
|
public List<NetworkConfig> Data { get; set; } = new(); |
|
|
|
|
|
|
|
[JsonPropertyName("isSuccess")] |
|
|
|
public bool IsSuccess { get; set; } |
|
|
|
|
|
|
|
[JsonPropertyName("message")] |
|
|
|
public string Message { get; set; } = string.Empty; |
|
|
|
|
|
|
|
[JsonPropertyName("errorCode")] |
|
|
|
public string ErrorCode { get; set; } = string.Empty; |
|
|
|
|
|
|
|
[JsonPropertyName("statusCode")] |
|
|
|
public int StatusCode { get; set; } |
|
|
|
} |
|
|
|
|
|
|
@ -20,31 +32,37 @@ namespace LTEMvcApp.Models |
|
|
|
/// <summary>
|
|
|
|
/// 配置键
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("configKey")] |
|
|
|
public string ConfigKey { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// RAN配置路径
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("ragConfig")] |
|
|
|
public string RagConfig { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 核心或IMS配置
|
|
|
|
/// </summary>
|
|
|
|
public List<object> CoreOrImsConfigs { get; set; } = new(); |
|
|
|
[JsonPropertyName("coreOrImsConfigs")] |
|
|
|
public List<CoreImsConfig> CoreOrImsConfigs { get; set; } = new(); |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// APN
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("apn")] |
|
|
|
public string Apn { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 频段列表
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("band")] |
|
|
|
public List<string> Band { get; set; } = new(); |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 注释
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("comment")] |
|
|
|
public string Comment { get; set; } = string.Empty; |
|
|
|
} |
|
|
|
} |