Files
g.hnyhua.cn/TencentCloud/Live/V20180801/Models/DescribeProvinceIspPlayInfoListRequest.cs

102 lines
3.9 KiB
C#
Raw Permalink 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.Live.V20180801.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeProvinceIspPlayInfoListRequest : AbstractModel
{
/// <summary>
/// 起始时间点,当前使用北京时间,
/// 例2019-02-21 10:00:00。
/// </summary>
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
/// <summary>
/// 结束时间点,当前使用北京时间,
/// 例2019-02-21 12:00:00。
/// 注EndTime 和 StartTime 只支持最近1天的数据查询。
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
/// <summary>
/// 支持如下粒度:
/// 11分钟粒度跨度不支持超过1天
/// </summary>
[JsonProperty("Granularity")]
public ulong? Granularity{ get; set; }
/// <summary>
/// 统计指标类型:
/// “Bandwidth”带宽
/// “FluxPerSecond”平均流量
/// “Flux”流量
/// “Request”请求数
/// “Online”并发连接数
/// </summary>
[JsonProperty("StatType")]
public string StatType{ get; set; }
/// <summary>
/// 播放域名列表。
/// </summary>
[JsonProperty("PlayDomains")]
public string[] PlayDomains{ get; set; }
/// <summary>
/// 要查询的省份(地区)英文名称列表,如 Beijing。
/// </summary>
[JsonProperty("ProvinceNames")]
public string[] ProvinceNames{ get; set; }
/// <summary>
/// 要查询的运营商英文名称列表,如 China Mobile ,如果为空,查询所有运营商的数据。
/// </summary>
[JsonProperty("IspNames")]
public string[] IspNames{ get; set; }
/// <summary>
/// 地域可选值MainlandOverseaChinaForeignGlobal默认值如果为空查询总的数据如果为“Mainland”查询中国大陆的数据如果为“Oversea”则查询中国大陆以外的数据如果为China查询中国的数据包括港澳台如果为Foreign查询国外的数据不包括港澳台
/// </summary>
[JsonProperty("MainlandOrOversea")]
public string MainlandOrOversea{ 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 + "Granularity", this.Granularity);
this.SetParamSimple(map, prefix + "StatType", this.StatType);
this.SetParamArraySimple(map, prefix + "PlayDomains.", this.PlayDomains);
this.SetParamArraySimple(map, prefix + "ProvinceNames.", this.ProvinceNames);
this.SetParamArraySimple(map, prefix + "IspNames.", this.IspNames);
this.SetParamSimple(map, prefix + "MainlandOrOversea", this.MainlandOrOversea);
}
}
}