using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /tcb/sendsms 接口的请求。 /// public class TCBSendSmsRequest : WechatApiRequest, IInferable { /// /// 获取或设置环境 ID。 /// [Newtonsoft.Json.JsonProperty("env")] [System.Text.Json.Serialization.JsonPropertyName("env")] public string EnvironmentId { get; set; } = string.Empty; /// /// 获取或设置手机号列表。 /// [Newtonsoft.Json.JsonProperty("phone_number_list")] [System.Text.Json.Serialization.JsonPropertyName("phone_number_list")] public IList MobileNumberList { get; set; } = new List(); /// /// 获取或设置短信类型。 /// [Newtonsoft.Json.JsonProperty("sms_type")] [System.Text.Json.Serialization.JsonPropertyName("sms_type")] public string SmsType { get; set; } = string.Empty; /// /// 获取或设置自定义短信内容。 /// [Newtonsoft.Json.JsonProperty("content")] [System.Text.Json.Serialization.JsonPropertyName("content")] public string? Content { get; set; } /// /// 获取或设置云开发静态网站 H5 页面路径。 /// [Newtonsoft.Json.JsonProperty("path")] [System.Text.Json.Serialization.JsonPropertyName("path")] public string? Path { get; set; } /// /// 获取或设置模版 ID。 /// [Newtonsoft.Json.JsonProperty("template_id")] [System.Text.Json.Serialization.JsonPropertyName("template_id")] public string? TemplateId { get; set; } /// /// 获取或设置模版变量列表。 /// [Newtonsoft.Json.JsonProperty("template_param_list")] [System.Text.Json.Serialization.JsonPropertyName("template_param_list")] public IList? TemplatePatameterList { get; set; } } }