/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ namespace TencentCloud.Solar.V20181011.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class SendWxTouchTaskRequest : AbstractModel { /// /// 客户分组ID /// [JsonProperty("GroupId")] public string GroupId{ get; set; } /// /// 去除今日已发送的客户 /// [JsonProperty("DistinctFlag")] public bool? DistinctFlag{ get; set; } /// /// 是否立马发送 /// [JsonProperty("IsSendNow")] public bool? IsSendNow{ get; set; } /// /// 发送时间,一般为0 /// [JsonProperty("SendDate")] public long? SendDate{ get; set; } /// /// 任务名称 /// [JsonProperty("TaskName")] public string TaskName{ get; set; } /// /// 微信触达类型,text, news, smallapp, tmplmsg /// [JsonProperty("WxTouchType")] public string WxTouchType{ get; set; } /// /// 标题 /// [JsonProperty("Title")] public string Title{ get; set; } /// /// 文本内容 /// [JsonProperty("Content")] public string Content{ get; set; } /// /// 图文素材ID /// [JsonProperty("NewsId")] public string NewsId{ get; set; } /// /// 小程序卡片ID /// [JsonProperty("SmallProgramId")] public string SmallProgramId{ get; set; } /// /// 模板消息ID /// [JsonProperty("TemplateId")] public string TemplateId{ get; set; } /// /// 微信公众号appId /// [JsonProperty("WxAppId")] public string WxAppId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "GroupId", this.GroupId); this.SetParamSimple(map, prefix + "DistinctFlag", this.DistinctFlag); this.SetParamSimple(map, prefix + "IsSendNow", this.IsSendNow); this.SetParamSimple(map, prefix + "SendDate", this.SendDate); this.SetParamSimple(map, prefix + "TaskName", this.TaskName); this.SetParamSimple(map, prefix + "WxTouchType", this.WxTouchType); this.SetParamSimple(map, prefix + "Title", this.Title); this.SetParamSimple(map, prefix + "Content", this.Content); this.SetParamSimple(map, prefix + "NewsId", this.NewsId); this.SetParamSimple(map, prefix + "SmallProgramId", this.SmallProgramId); this.SetParamSimple(map, prefix + "TemplateId", this.TemplateId); this.SetParamSimple(map, prefix + "WxAppId", this.WxAppId); } } }