
com.tencentcloudapi.ecm.v20190719.models.DescribePeakNetworkOverviewRequest 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.ecm.v20190719.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribePeakNetworkOverviewRequest extends AbstractModel{
/**
* 开始时间(xxxx-xx-xx)如2019-08-14,默认为一周之前的日期,不应与当前日期间隔超过30天。
*/
@SerializedName("StartTime")
@Expose
private String StartTime;
/**
* 结束时间(xxxx-xx-xx)如2019-08-14,默认为昨天,不应与当前日期间隔超过30天。当开始与结束间隔不超过1天时会返回1分钟粒度的数据,不超过7天时返回5分钟粒度的数据,否则返回1小时粒度的数据。
*/
@SerializedName("EndTime")
@Expose
private String EndTime;
/**
* 过滤条件。
region String 是否必填:否 (过滤条件)按照region过滤,不支持模糊匹配。注意 region 填上需要查询ecm region才能返回数据。
area String 是否必填:否 (过滤条件)按照大区过滤,不支持模糊匹配。大区包括:china-central、china-east等等,可以通过DescribeNode获得所有大区;也可使用ALL_REGION表示所有地区。
isp String 是否必填:否 (过滤条件)按照运营商过滤大区流量,运营商包括CTCC、CUCC和CMCC。只和area同时使用,且一次只能指定一种运营商。
region和area只应填写一个。
*/
@SerializedName("Filters")
@Expose
private Filter [] Filters;
/**
* 统计周期,单位秒。取值60/300。
*/
@SerializedName("Period")
@Expose
private Long Period;
/**
* Get 开始时间(xxxx-xx-xx)如2019-08-14,默认为一周之前的日期,不应与当前日期间隔超过30天。
* @return StartTime 开始时间(xxxx-xx-xx)如2019-08-14,默认为一周之前的日期,不应与当前日期间隔超过30天。
*/
public String getStartTime() {
return this.StartTime;
}
/**
* Set 开始时间(xxxx-xx-xx)如2019-08-14,默认为一周之前的日期,不应与当前日期间隔超过30天。
* @param StartTime 开始时间(xxxx-xx-xx)如2019-08-14,默认为一周之前的日期,不应与当前日期间隔超过30天。
*/
public void setStartTime(String StartTime) {
this.StartTime = StartTime;
}
/**
* Get 结束时间(xxxx-xx-xx)如2019-08-14,默认为昨天,不应与当前日期间隔超过30天。当开始与结束间隔不超过1天时会返回1分钟粒度的数据,不超过7天时返回5分钟粒度的数据,否则返回1小时粒度的数据。
* @return EndTime 结束时间(xxxx-xx-xx)如2019-08-14,默认为昨天,不应与当前日期间隔超过30天。当开始与结束间隔不超过1天时会返回1分钟粒度的数据,不超过7天时返回5分钟粒度的数据,否则返回1小时粒度的数据。
*/
public String getEndTime() {
return this.EndTime;
}
/**
* Set 结束时间(xxxx-xx-xx)如2019-08-14,默认为昨天,不应与当前日期间隔超过30天。当开始与结束间隔不超过1天时会返回1分钟粒度的数据,不超过7天时返回5分钟粒度的数据,否则返回1小时粒度的数据。
* @param EndTime 结束时间(xxxx-xx-xx)如2019-08-14,默认为昨天,不应与当前日期间隔超过30天。当开始与结束间隔不超过1天时会返回1分钟粒度的数据,不超过7天时返回5分钟粒度的数据,否则返回1小时粒度的数据。
*/
public void setEndTime(String EndTime) {
this.EndTime = EndTime;
}
/**
* Get 过滤条件。
region String 是否必填:否 (过滤条件)按照region过滤,不支持模糊匹配。注意 region 填上需要查询ecm region才能返回数据。
area String 是否必填:否 (过滤条件)按照大区过滤,不支持模糊匹配。大区包括:china-central、china-east等等,可以通过DescribeNode获得所有大区;也可使用ALL_REGION表示所有地区。
isp String 是否必填:否 (过滤条件)按照运营商过滤大区流量,运营商包括CTCC、CUCC和CMCC。只和area同时使用,且一次只能指定一种运营商。
region和area只应填写一个。
* @return Filters 过滤条件。
region String 是否必填:否 (过滤条件)按照region过滤,不支持模糊匹配。注意 region 填上需要查询ecm region才能返回数据。
area String 是否必填:否 (过滤条件)按照大区过滤,不支持模糊匹配。大区包括:china-central、china-east等等,可以通过DescribeNode获得所有大区;也可使用ALL_REGION表示所有地区。
isp String 是否必填:否 (过滤条件)按照运营商过滤大区流量,运营商包括CTCC、CUCC和CMCC。只和area同时使用,且一次只能指定一种运营商。
region和area只应填写一个。
*/
public Filter [] getFilters() {
return this.Filters;
}
/**
* Set 过滤条件。
region String 是否必填:否 (过滤条件)按照region过滤,不支持模糊匹配。注意 region 填上需要查询ecm region才能返回数据。
area String 是否必填:否 (过滤条件)按照大区过滤,不支持模糊匹配。大区包括:china-central、china-east等等,可以通过DescribeNode获得所有大区;也可使用ALL_REGION表示所有地区。
isp String 是否必填:否 (过滤条件)按照运营商过滤大区流量,运营商包括CTCC、CUCC和CMCC。只和area同时使用,且一次只能指定一种运营商。
region和area只应填写一个。
* @param Filters 过滤条件。
region String 是否必填:否 (过滤条件)按照region过滤,不支持模糊匹配。注意 region 填上需要查询ecm region才能返回数据。
area String 是否必填:否 (过滤条件)按照大区过滤,不支持模糊匹配。大区包括:china-central、china-east等等,可以通过DescribeNode获得所有大区;也可使用ALL_REGION表示所有地区。
isp String 是否必填:否 (过滤条件)按照运营商过滤大区流量,运营商包括CTCC、CUCC和CMCC。只和area同时使用,且一次只能指定一种运营商。
region和area只应填写一个。
*/
public void setFilters(Filter [] Filters) {
this.Filters = Filters;
}
/**
* Get 统计周期,单位秒。取值60/300。
* @return Period 统计周期,单位秒。取值60/300。
*/
public Long getPeriod() {
return this.Period;
}
/**
* Set 统计周期,单位秒。取值60/300。
* @param Period 统计周期,单位秒。取值60/300。
*/
public void setPeriod(Long Period) {
this.Period = Period;
}
public DescribePeakNetworkOverviewRequest() {
}
/**
* 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 DescribePeakNetworkOverviewRequest(DescribePeakNetworkOverviewRequest source) {
if (source.StartTime != null) {
this.StartTime = new String(source.StartTime);
}
if (source.EndTime != null) {
this.EndTime = new String(source.EndTime);
}
if (source.Filters != null) {
this.Filters = new Filter[source.Filters.length];
for (int i = 0; i < source.Filters.length; i++) {
this.Filters[i] = new Filter(source.Filters[i]);
}
}
if (source.Period != null) {
this.Period = new Long(source.Period);
}
}
/**
* 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.setParamArrayObj(map, prefix + "Filters.", this.Filters);
this.setParamSimple(map, prefix + "Period", this.Period);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy