/* * 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.Cdn.V20180606.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class PushUrlsCacheRequest : AbstractModel { /// /// URL 列表,需要包含协议头部 http:// 或 https:// /// [JsonProperty("Urls")] public string[] Urls{ get; set; } /// /// 指定预热请求回源时 HTTP 请求的 User-Agent 头部 /// 默认为 TencentCdn /// [JsonProperty("UserAgent")] public string UserAgent{ get; set; } /// /// 预热生效区域 /// mainland:预热至境内节点 /// overseas:预热至境外节点 /// global:预热全球节点 /// 不填充情况下,默认为 mainland, URL 中域名必须在对应区域启用了加速服务才能提交对应区域的预热任务 /// [JsonProperty("Area")] public string Area{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamArraySimple(map, prefix + "Urls.", this.Urls); this.SetParamSimple(map, prefix + "UserAgent", this.UserAgent); this.SetParamSimple(map, prefix + "Area", this.Area); } } }