Files
g.hnyhua.cn/TencentCloud/Vod/V20180717/Models/DescribeCDNUsageDataRequest.cs
2026-02-07 15:48:27 +08:00

87 lines
3.7 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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.Vod.V20180717.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeCDNUsageDataRequest : AbstractModel
{
/// <summary>
/// 起始日期,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
/// </summary>
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
/// <summary>
/// 结束日期,需大于开始日期,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
/// <summary>
/// CDN 统计数据类型,有效值:
/// <li>Flux流量单位为 byte。</li>
/// <li>Bandwidth带宽单位为 bps。</li>
/// </summary>
[JsonProperty("DataType")]
public string DataType{ get; set; }
/// <summary>
/// 用量数据的时间粒度,单位:分钟,取值有:
/// <li>55 分钟粒度返回指定查询时间内5分钟粒度的明细数据。</li>
/// <li>60小时粒度返回指定查询时间内1小时粒度的数据。</li>
/// <li>1440天粒度返回指定查询时间内1天粒度的数据。</li>
/// 默认值为1440返回天粒度的数据。
/// 当该字段为1时表示以管理员身份查询所有子应用含主应用的用量合计。
/// </summary>
[JsonProperty("DataInterval")]
public ulong? DataInterval{ get; set; }
/// <summary>
/// 域名列表。一次最多查询20个域名的用量数据。可以指定多个域名查询这些域名叠加的用量数据。默认返回所有域名叠加的用量数据。
/// </summary>
[JsonProperty("DomainNames")]
public string[] DomainNames{ get; set; }
/// <summary>
/// 点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源则将该字段填写为子应用 ID否则无需填写该字段。
/// 当该字段为1时表示以管理员身份查询所有子应用含主应用的用量合计此时时间粒度只支持天粒度。
/// </summary>
[JsonProperty("SubAppId")]
public ulong? SubAppId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
this.SetParamSimple(map, prefix + "DataType", this.DataType);
this.SetParamSimple(map, prefix + "DataInterval", this.DataInterval);
this.SetParamArraySimple(map, prefix + "DomainNames.", this.DomainNames);
this.SetParamSimple(map, prefix + "SubAppId", this.SubAppId);
}
}
}