/*
* 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 DescribeBillBandwidthAndFluxListRequest : AbstractModel
{
///
/// 起始时间点,格式为yyyy-mm-dd HH:MM:SS。
///
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
///
/// 结束时间点,格式为yyyy-mm-dd HH:MM:SS,起始和结束时间跨度不支持超过31天。
///
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
///
/// 直播播放域名,若不填,表示总体数据。
///
[JsonProperty("PlayDomains")]
public string[] PlayDomains{ get; set; }
///
/// 可选值:
/// Mainland:查询国内数据,
/// Oversea:则查询国外数据,
/// 默认:查询国内+国外的数据。
/// 注:LEB(快直播)只支持国内+国外数据查询。
///
[JsonProperty("MainlandOrOversea")]
public string MainlandOrOversea{ get; set; }
///
/// 数据粒度,支持如下粒度:
/// 5:5分钟粒度,(跨度不支持超过1天),
/// 60:1小时粒度(跨度不支持超过一个月),
/// 1440:天粒度(跨度不支持超过一个月)。
/// 默认值:5。
///
[JsonProperty("Granularity")]
public ulong? Granularity{ get; set; }
///
/// 服务名称,可选值包括LVB(标准直播),LEB(快直播),默认值是LVB。
///
[JsonProperty("ServiceName")]
public string ServiceName{ 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.SetParamArraySimple(map, prefix + "PlayDomains.", this.PlayDomains);
this.SetParamSimple(map, prefix + "MainlandOrOversea", this.MainlandOrOversea);
this.SetParamSimple(map, prefix + "Granularity", this.Granularity);
this.SetParamSimple(map, prefix + "ServiceName", this.ServiceName);
}
}
}