/*
* 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
{
///
/// 起始时间点,当前使用北京时间,
/// 例:2019-02-21 10:00:00。
///
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
///
/// 结束时间点,当前使用北京时间,
/// 例:2019-02-21 12:00:00。
/// 注:EndTime 和 StartTime 只支持最近1天的数据查询。
///
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
///
/// 支持如下粒度:
/// 1:1分钟粒度(跨度不支持超过1天)
///
[JsonProperty("Granularity")]
public ulong? Granularity{ get; set; }
///
/// 统计指标类型:
/// “Bandwidth”:带宽
/// “FluxPerSecond”:平均流量
/// “Flux”:流量
/// “Request”:请求数
/// “Online”:并发连接数
///
[JsonProperty("StatType")]
public string StatType{ get; set; }
///
/// 播放域名列表。
///
[JsonProperty("PlayDomains")]
public string[] PlayDomains{ get; set; }
///
/// 要查询的省份(地区)英文名称列表,如 Beijing。
///
[JsonProperty("ProvinceNames")]
public string[] ProvinceNames{ get; set; }
///
/// 要查询的运营商英文名称列表,如 China Mobile ,如果为空,查询所有运营商的数据。
///
[JsonProperty("IspNames")]
public string[] IspNames{ get; set; }
///
/// 地域,可选值:Mainland,Oversea,China,Foreign,Global(默认值);如果为空,查询总的数据;如果为“Mainland”,查询中国大陆的数据;如果为“Oversea”,则查询中国大陆以外的数据;如果为China,查询中国的数据(包括港澳台);如果为Foreign,查询国外的数据(不包括港澳台)。
///
[JsonProperty("MainlandOrOversea")]
public string MainlandOrOversea{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary 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);
}
}
}