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
68 lines
1.8 KiB
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace LTEMvcApp.Models
|
|
{
|
|
/// <summary>
|
|
/// 网络配置响应
|
|
/// </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; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 网络配置
|
|
/// </summary>
|
|
public class NetworkConfig
|
|
{
|
|
/// <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>
|
|
[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;
|
|
}
|
|
}
|