You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.8 KiB

1 month ago
using System.Collections.Generic;
using System.Text.Json.Serialization;
1 month ago
namespace LTEMvcApp.Models
{
/// <summary>
/// 网络配置响应
/// </summary>
public class NetworkConfigResponse
{
1 month ago
[JsonPropertyName("data")]
1 month ago
public List<NetworkConfig> Data { get; set; } = new();
1 month ago
[JsonPropertyName("isSuccess")]
1 month ago
public bool IsSuccess { get; set; }
1 month ago
[JsonPropertyName("message")]
1 month ago
public string Message { get; set; } = string.Empty;
1 month ago
[JsonPropertyName("errorCode")]
1 month ago
public string ErrorCode { get; set; } = string.Empty;
1 month ago
[JsonPropertyName("statusCode")]
1 month ago
public int StatusCode { get; set; }
}
/// <summary>
/// 网络配置
/// </summary>
public class NetworkConfig
{
/// <summary>
/// 配置键
/// </summary>
1 month ago
[JsonPropertyName("configKey")]
1 month ago
public string ConfigKey { get; set; } = string.Empty;
/// <summary>
/// RAN配置路径
/// </summary>
1 month ago
[JsonPropertyName("ragConfig")]
1 month ago
public string RagConfig { get; set; } = string.Empty;
/// <summary>
/// 核心或IMS配置
/// </summary>
1 month ago
[JsonPropertyName("coreOrImsConfigs")]
public List<CoreImsConfig> CoreOrImsConfigs { get; set; } = new();
1 month ago
/// <summary>
/// APN
/// </summary>
1 month ago
[JsonPropertyName("apn")]
1 month ago
public string Apn { get; set; } = string.Empty;
/// <summary>
/// 频段列表
/// </summary>
1 month ago
[JsonPropertyName("band")]
1 month ago
public List<string> Band { get; set; } = new();
/// <summary>
/// 注释
/// </summary>
1 month ago
[JsonPropertyName("comment")]
1 month ago
public string Comment { get; set; } = string.Empty;
}
}