mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-18 22:35:46 +08:00
37 lines
1.3 KiB
C#
37 lines
1.3 KiB
C#
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|
{
|
|
/// <summary>
|
|
/// <para>表示 [POST] /tcb/getopendata 接口的响应。</para>
|
|
/// </summary>
|
|
public class TcbGetOpenDataResponse : WechatApiResponse
|
|
{
|
|
public static class Types
|
|
{
|
|
public class OpenData
|
|
{
|
|
/// <summary>
|
|
/// 获取或设置 CloudId。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("cloud_id")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("cloud_id")]
|
|
public string CloudId { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// 获取或设置开放数据。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("json")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("json")]
|
|
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.DynamicObjectReadOnlyConverter))]
|
|
public dynamic? Data { get; set; }
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 获取或设置开放数据列表。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("data_list")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("data_list")]
|
|
public Types.OpenData[] OpenDataList { get; set; } = default!;
|
|
}
|
|
}
|