using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /componenttcb/batchdownloadfile 接口的请求。 /// public class ComponentTCBBatchDownloadFileRequest : WechatApiRequest, IInferable { public static class Types { public class File { /// /// 获取或设置文件 ID。 /// [Newtonsoft.Json.JsonProperty("fileid")] [System.Text.Json.Serialization.JsonPropertyName("fileid")] public string FileId { get; set; } = string.Empty; /// /// 获取或设置下载链接有效期(单位:秒)。 /// [Newtonsoft.Json.JsonProperty("max_age")] [System.Text.Json.Serialization.JsonPropertyName("max_age")] public int MaxAge { get; set; } } } /// /// 获取或设置第三方平台 AccessToken。 /// [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] public string ComponentAccessToken { get; set; } = string.Empty; /// /// 获取或设置环境 ID。 /// [Newtonsoft.Json.JsonProperty("env")] [System.Text.Json.Serialization.JsonPropertyName("env")] public string EnvironmentId { get; set; } = string.Empty; /// /// 获取或设置文件列表。 /// [Newtonsoft.Json.JsonProperty("file_list")] [System.Text.Json.Serialization.JsonPropertyName("file_list")] public IList FileList { get; set; } = new List(); } }