mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-24 13:03:43 +08:00
71 lines
3.1 KiB
C#
71 lines
3.1 KiB
C#
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|
{
|
|
/// <summary>
|
|
/// <para>表示 [POST] /card/giftcard/maintain/set 接口的响应。</para>
|
|
/// </summary>
|
|
public class CardGiftCardMaintainSetResponse : WechatApiResponse
|
|
{
|
|
public static class Types
|
|
{
|
|
public class Control
|
|
{
|
|
public static class Types
|
|
{
|
|
public class Page
|
|
{
|
|
/// <summary>
|
|
/// 获取或设置货架 ID。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("page_id")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("page_id")]
|
|
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalStringConverter))]
|
|
public string PageId { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// 获取或设置商户控制的货架状态。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("page_control_type")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("page_control_type")]
|
|
public string PageControlType { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// 获取或设置系统控制的货架状态。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("system_page_control_type")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("system_page_control_type")]
|
|
public string SystemPageControlType { get; set; } = default!;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 获取或设置商户控制的所有货架的状态。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("biz_control_type")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("biz_control_type")]
|
|
public string BusinessControlType { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// 获取或设置系统控制的所有货架的状态。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("system_biz_control_type")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("system_biz_control_type")]
|
|
public string SystemBusinessControlType { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// 获取或设置货架列表。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("list")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("list")]
|
|
public Types.Page[] PageList { get; set; } = default!;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 获取或设置控制结果信息。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("control_info")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("control_info")]
|
|
public Types.Control Control { get; set; } = default!;
|
|
}
|
|
}
|