Files
g.hnyhua.cn/TencentCloud/Cdn/V20180606/Models/PushUrlsCacheRequest.cs

63 lines
2.1 KiB
C#
Raw Normal View History

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