
com.tencentcloudapi.live.v20180801.models.DescribeBillBandwidthAndFluxListRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-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.
*/
package com.tencentcloudapi.live.v20180801.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeBillBandwidthAndFluxListRequest extends AbstractModel{
/**
* 起始时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
*/
@SerializedName("StartTime")
@Expose
private String StartTime;
/**
* 结束时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
起始和结束时间跨度不支持超过31天。支持最近3年的数据查询
*/
@SerializedName("EndTime")
@Expose
private String EndTime;
/**
* 直播播放域名,若不填,表示总体数据。
*/
@SerializedName("PlayDomains")
@Expose
private String [] PlayDomains;
/**
* 可选值:
Mainland:查询国内数据,
Oversea:则查询国外数据,
默认:查询国内+国外的数据。
注:LEB(快直播)只支持国内+国外数据查询。
*/
@SerializedName("MainlandOrOversea")
@Expose
private String MainlandOrOversea;
/**
* 数据粒度,支持如下粒度:
5:5分钟粒度,(跨度不支持超过1天),
60:1小时粒度(跨度不支持超过一个月),
1440:天粒度(跨度不支持超过一个月)。
默认值:5。
*/
@SerializedName("Granularity")
@Expose
private Long Granularity;
/**
* 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。
*/
@SerializedName("ServiceName")
@Expose
private String ServiceName;
/**
* 大区,映射表如下:
China Mainland 中国大陆
Asia Pacific I 亚太一区
Asia Pacific II 亚太二区
Asia Pacific III 亚太三区
Europe 欧洲
North America 北美
South America 南美
Middle East 中东
Africa 非洲。
*/
@SerializedName("RegionNames")
@Expose
private String [] RegionNames;
/**
* Get 起始时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
* @return StartTime 起始时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
*/
public String getStartTime() {
return this.StartTime;
}
/**
* Set 起始时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
* @param StartTime 起始时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
*/
public void setStartTime(String StartTime) {
this.StartTime = StartTime;
}
/**
* Get 结束时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
起始和结束时间跨度不支持超过31天。支持最近3年的数据查询
* @return EndTime 结束时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
起始和结束时间跨度不支持超过31天。支持最近3年的数据查询
*/
public String getEndTime() {
return this.EndTime;
}
/**
* Set 结束时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
起始和结束时间跨度不支持超过31天。支持最近3年的数据查询
* @param EndTime 结束时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
起始和结束时间跨度不支持超过31天。支持最近3年的数据查询
*/
public void setEndTime(String EndTime) {
this.EndTime = EndTime;
}
/**
* Get 直播播放域名,若不填,表示总体数据。
* @return PlayDomains 直播播放域名,若不填,表示总体数据。
*/
public String [] getPlayDomains() {
return this.PlayDomains;
}
/**
* Set 直播播放域名,若不填,表示总体数据。
* @param PlayDomains 直播播放域名,若不填,表示总体数据。
*/
public void setPlayDomains(String [] PlayDomains) {
this.PlayDomains = PlayDomains;
}
/**
* Get 可选值:
Mainland:查询国内数据,
Oversea:则查询国外数据,
默认:查询国内+国外的数据。
注:LEB(快直播)只支持国内+国外数据查询。
* @return MainlandOrOversea 可选值:
Mainland:查询国内数据,
Oversea:则查询国外数据,
默认:查询国内+国外的数据。
注:LEB(快直播)只支持国内+国外数据查询。
*/
public String getMainlandOrOversea() {
return this.MainlandOrOversea;
}
/**
* Set 可选值:
Mainland:查询国内数据,
Oversea:则查询国外数据,
默认:查询国内+国外的数据。
注:LEB(快直播)只支持国内+国外数据查询。
* @param MainlandOrOversea 可选值:
Mainland:查询国内数据,
Oversea:则查询国外数据,
默认:查询国内+国外的数据。
注:LEB(快直播)只支持国内+国外数据查询。
*/
public void setMainlandOrOversea(String MainlandOrOversea) {
this.MainlandOrOversea = MainlandOrOversea;
}
/**
* Get 数据粒度,支持如下粒度:
5:5分钟粒度,(跨度不支持超过1天),
60:1小时粒度(跨度不支持超过一个月),
1440:天粒度(跨度不支持超过一个月)。
默认值:5。
* @return Granularity 数据粒度,支持如下粒度:
5:5分钟粒度,(跨度不支持超过1天),
60:1小时粒度(跨度不支持超过一个月),
1440:天粒度(跨度不支持超过一个月)。
默认值:5。
*/
public Long getGranularity() {
return this.Granularity;
}
/**
* Set 数据粒度,支持如下粒度:
5:5分钟粒度,(跨度不支持超过1天),
60:1小时粒度(跨度不支持超过一个月),
1440:天粒度(跨度不支持超过一个月)。
默认值:5。
* @param Granularity 数据粒度,支持如下粒度:
5:5分钟粒度,(跨度不支持超过1天),
60:1小时粒度(跨度不支持超过一个月),
1440:天粒度(跨度不支持超过一个月)。
默认值:5。
*/
public void setGranularity(Long Granularity) {
this.Granularity = Granularity;
}
/**
* Get 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。
* @return ServiceName 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。
*/
public String getServiceName() {
return this.ServiceName;
}
/**
* Set 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。
* @param ServiceName 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。
*/
public void setServiceName(String ServiceName) {
this.ServiceName = ServiceName;
}
/**
* Get 大区,映射表如下:
China Mainland 中国大陆
Asia Pacific I 亚太一区
Asia Pacific II 亚太二区
Asia Pacific III 亚太三区
Europe 欧洲
North America 北美
South America 南美
Middle East 中东
Africa 非洲。
* @return RegionNames 大区,映射表如下:
China Mainland 中国大陆
Asia Pacific I 亚太一区
Asia Pacific II 亚太二区
Asia Pacific III 亚太三区
Europe 欧洲
North America 北美
South America 南美
Middle East 中东
Africa 非洲。
*/
public String [] getRegionNames() {
return this.RegionNames;
}
/**
* Set 大区,映射表如下:
China Mainland 中国大陆
Asia Pacific I 亚太一区
Asia Pacific II 亚太二区
Asia Pacific III 亚太三区
Europe 欧洲
North America 北美
South America 南美
Middle East 中东
Africa 非洲。
* @param RegionNames 大区,映射表如下:
China Mainland 中国大陆
Asia Pacific I 亚太一区
Asia Pacific II 亚太二区
Asia Pacific III 亚太三区
Europe 欧洲
North America 北美
South America 南美
Middle East 中东
Africa 非洲。
*/
public void setRegionNames(String [] RegionNames) {
this.RegionNames = RegionNames;
}
public DescribeBillBandwidthAndFluxListRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public DescribeBillBandwidthAndFluxListRequest(DescribeBillBandwidthAndFluxListRequest source) {
if (source.StartTime != null) {
this.StartTime = new String(source.StartTime);
}
if (source.EndTime != null) {
this.EndTime = new String(source.EndTime);
}
if (source.PlayDomains != null) {
this.PlayDomains = new String[source.PlayDomains.length];
for (int i = 0; i < source.PlayDomains.length; i++) {
this.PlayDomains[i] = new String(source.PlayDomains[i]);
}
}
if (source.MainlandOrOversea != null) {
this.MainlandOrOversea = new String(source.MainlandOrOversea);
}
if (source.Granularity != null) {
this.Granularity = new Long(source.Granularity);
}
if (source.ServiceName != null) {
this.ServiceName = new String(source.ServiceName);
}
if (source.RegionNames != null) {
this.RegionNames = new String[source.RegionNames.length];
for (int i = 0; i < source.RegionNames.length; i++) {
this.RegionNames[i] = new String(source.RegionNames[i]);
}
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap 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);
this.setParamArraySimple(map, prefix + "RegionNames.", this.RegionNames);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy