DotNetCore.SKIT.FlurlHttpCl.../src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaBook/WxaBookBatchCreateChapterRequest.cs
Fu Diwei a2188d28b3
Some checks are pending
CodeQL / Analyze (csharp) (push) Waiting to run
CodeLint / Lint (push) Waiting to run
feat(wxapi): 新增小说小程序作品管理相关接口相关接口
2025-04-29 17:23:25 +08:00

32 lines
1.1 KiB
C#

using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /wxa/book/batchcreatechapter 接口的请求。</para>
/// </summary>
public class WxaBookBatchCreateChapterRequest : WechatApiRequest, IInferable<WxaBookBatchCreateChapterRequest, WxaBookBatchCreateChapterResponse>
{
public static class Types
{
public class Chapter : WxaBookCreateChapterRequest.Types.Chapter
{
}
}
/// <summary>
/// 获取或设置作品 ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("book_id")]
[System.Text.Json.Serialization.JsonPropertyName("book_id")]
public string BookId { get; set; } = string.Empty;
/// <summary>
/// 获取或设置章节列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("chapter_list")]
[System.Text.Json.Serialization.JsonPropertyName("chapter_list")]
public IList<Types.Chapter> ChapterList { get; set; } = new List<Types.Chapter>();
}
}