All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.teo.v20220901.models.DescribeOverviewL7DataRequest 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.teo.v20220901.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class DescribeOverviewL7DataRequest extends AbstractModel{

    /**
    * 开始时间。
    */
    @SerializedName("StartTime")
    @Expose
    private String StartTime;

    /**
    * 结束时间。
    */
    @SerializedName("EndTime")
    @Expose
    private String EndTime;

    /**
    * 查询的指标,取值有:
  • l7Flow_outFlux: 访问流量;
  • l7Flow_request: 访问请求数;
  • l7Flow_outBandwidth: 访问带宽;
  • l7Flow_hit_outFlux: 缓存命中流量。
  • */ @SerializedName("MetricNames") @Expose private String [] MetricNames; /** * 查询的站点集合,不填默认查询所有站点。 */ @SerializedName("ZoneIds") @Expose private String [] ZoneIds; /** * 查询的域名集合,不填默认查询所有子域名。 */ @SerializedName("Domains") @Expose private String [] Domains; /** * 查询的协议类型,取值有:
  • http: http协议;
  • https: https协议;
  • http2: http2协议;
  • all: 所有协议。
  • 不填默认为: all,表示查询所有协议。 */ @SerializedName("Protocol") @Expose private String Protocol; /** * 查询时间粒度,取值有:
  • min:1分钟;
  • 5min:5分钟;
  • hour:1小时;
  • day:1天。
  • 不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。 */ @SerializedName("Interval") @Expose private String Interval; /** * 数据归属地区,取值有:
  • overseas:全球(除中国大陆地区)数据;
  • mainland:中国大陆地区数据。
  • 不填将根据用户的地域智能选择地区。 */ @SerializedName("Area") @Expose private String Area; /** * 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
  • tagKey
       按照【标签Key】进行过滤。
       类型:String
       必选:否
  • tagValue
       按照【标签Value】进行过滤。
       类型:String
       必选:否
  • */ @SerializedName("Filters") @Expose private QueryCondition [] Filters; /** * Get 开始时间。 * @return StartTime 开始时间。 */ public String getStartTime() { return this.StartTime; } /** * Set 开始时间。 * @param StartTime 开始时间。 */ public void setStartTime(String StartTime) { this.StartTime = StartTime; } /** * Get 结束时间。 * @return EndTime 结束时间。 */ public String getEndTime() { return this.EndTime; } /** * Set 结束时间。 * @param EndTime 结束时间。 */ public void setEndTime(String EndTime) { this.EndTime = EndTime; } /** * Get 查询的指标,取值有:
  • l7Flow_outFlux: 访问流量;
  • l7Flow_request: 访问请求数;
  • l7Flow_outBandwidth: 访问带宽;
  • l7Flow_hit_outFlux: 缓存命中流量。
  • * @return MetricNames 查询的指标,取值有:
  • l7Flow_outFlux: 访问流量;
  • l7Flow_request: 访问请求数;
  • l7Flow_outBandwidth: 访问带宽;
  • l7Flow_hit_outFlux: 缓存命中流量。
  • */ public String [] getMetricNames() { return this.MetricNames; } /** * Set 查询的指标,取值有:
  • l7Flow_outFlux: 访问流量;
  • l7Flow_request: 访问请求数;
  • l7Flow_outBandwidth: 访问带宽;
  • l7Flow_hit_outFlux: 缓存命中流量。
  • * @param MetricNames 查询的指标,取值有:
  • l7Flow_outFlux: 访问流量;
  • l7Flow_request: 访问请求数;
  • l7Flow_outBandwidth: 访问带宽;
  • l7Flow_hit_outFlux: 缓存命中流量。
  • */ public void setMetricNames(String [] MetricNames) { this.MetricNames = MetricNames; } /** * Get 查询的站点集合,不填默认查询所有站点。 * @return ZoneIds 查询的站点集合,不填默认查询所有站点。 */ public String [] getZoneIds() { return this.ZoneIds; } /** * Set 查询的站点集合,不填默认查询所有站点。 * @param ZoneIds 查询的站点集合,不填默认查询所有站点。 */ public void setZoneIds(String [] ZoneIds) { this.ZoneIds = ZoneIds; } /** * Get 查询的域名集合,不填默认查询所有子域名。 * @return Domains 查询的域名集合,不填默认查询所有子域名。 */ public String [] getDomains() { return this.Domains; } /** * Set 查询的域名集合,不填默认查询所有子域名。 * @param Domains 查询的域名集合,不填默认查询所有子域名。 */ public void setDomains(String [] Domains) { this.Domains = Domains; } /** * Get 查询的协议类型,取值有:
  • http: http协议;
  • https: https协议;
  • http2: http2协议;
  • all: 所有协议。
  • 不填默认为: all,表示查询所有协议。 * @return Protocol 查询的协议类型,取值有:
  • http: http协议;
  • https: https协议;
  • http2: http2协议;
  • all: 所有协议。
  • 不填默认为: all,表示查询所有协议。 */ public String getProtocol() { return this.Protocol; } /** * Set 查询的协议类型,取值有:
  • http: http协议;
  • https: https协议;
  • http2: http2协议;
  • all: 所有协议。
  • 不填默认为: all,表示查询所有协议。 * @param Protocol 查询的协议类型,取值有:
  • http: http协议;
  • https: https协议;
  • http2: http2协议;
  • all: 所有协议。
  • 不填默认为: all,表示查询所有协议。 */ public void setProtocol(String Protocol) { this.Protocol = Protocol; } /** * Get 查询时间粒度,取值有:
  • min:1分钟;
  • 5min:5分钟;
  • hour:1小时;
  • day:1天。
  • 不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。 * @return Interval 查询时间粒度,取值有:
  • min:1分钟;
  • 5min:5分钟;
  • hour:1小时;
  • day:1天。
  • 不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。 */ public String getInterval() { return this.Interval; } /** * Set 查询时间粒度,取值有:
  • min:1分钟;
  • 5min:5分钟;
  • hour:1小时;
  • day:1天。
  • 不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。 * @param Interval 查询时间粒度,取值有:
  • min:1分钟;
  • 5min:5分钟;
  • hour:1小时;
  • day:1天。
  • 不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。 */ public void setInterval(String Interval) { this.Interval = Interval; } /** * Get 数据归属地区,取值有:
  • overseas:全球(除中国大陆地区)数据;
  • mainland:中国大陆地区数据。
  • 不填将根据用户的地域智能选择地区。 * @return Area 数据归属地区,取值有:
  • overseas:全球(除中国大陆地区)数据;
  • mainland:中国大陆地区数据。
  • 不填将根据用户的地域智能选择地区。 */ public String getArea() { return this.Area; } /** * Set 数据归属地区,取值有:
  • overseas:全球(除中国大陆地区)数据;
  • mainland:中国大陆地区数据。
  • 不填将根据用户的地域智能选择地区。 * @param Area 数据归属地区,取值有:
  • overseas:全球(除中国大陆地区)数据;
  • mainland:中国大陆地区数据。
  • 不填将根据用户的地域智能选择地区。 */ public void setArea(String Area) { this.Area = Area; } /** * Get 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
  • tagKey
       按照【标签Key】进行过滤。
       类型:String
       必选:否
  • tagValue
       按照【标签Value】进行过滤。
       类型:String
       必选:否
  • * @return Filters 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
  • tagKey
       按照【标签Key】进行过滤。
       类型:String
       必选:否
  • tagValue
       按照【标签Value】进行过滤。
       类型:String
       必选:否
  • */ public QueryCondition [] getFilters() { return this.Filters; } /** * Set 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
  • tagKey
       按照【标签Key】进行过滤。
       类型:String
       必选:否
  • tagValue
       按照【标签Value】进行过滤。
       类型:String
       必选:否
  • * @param Filters 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
  • tagKey
       按照【标签Key】进行过滤。
       类型:String
       必选:否
  • tagValue
       按照【标签Value】进行过滤。
       类型:String
       必选:否
  • */ public void setFilters(QueryCondition [] Filters) { this.Filters = Filters; } public DescribeOverviewL7DataRequest() { } /** * 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 DescribeOverviewL7DataRequest(DescribeOverviewL7DataRequest source) { if (source.StartTime != null) { this.StartTime = new String(source.StartTime); } if (source.EndTime != null) { this.EndTime = new String(source.EndTime); } if (source.MetricNames != null) { this.MetricNames = new String[source.MetricNames.length]; for (int i = 0; i < source.MetricNames.length; i++) { this.MetricNames[i] = new String(source.MetricNames[i]); } } if (source.ZoneIds != null) { this.ZoneIds = new String[source.ZoneIds.length]; for (int i = 0; i < source.ZoneIds.length; i++) { this.ZoneIds[i] = new String(source.ZoneIds[i]); } } if (source.Domains != null) { this.Domains = new String[source.Domains.length]; for (int i = 0; i < source.Domains.length; i++) { this.Domains[i] = new String(source.Domains[i]); } } if (source.Protocol != null) { this.Protocol = new String(source.Protocol); } if (source.Interval != null) { this.Interval = new String(source.Interval); } if (source.Area != null) { this.Area = new String(source.Area); } if (source.Filters != null) { this.Filters = new QueryCondition[source.Filters.length]; for (int i = 0; i < source.Filters.length; i++) { this.Filters[i] = new QueryCondition(source.Filters[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 + "MetricNames.", this.MetricNames); this.setParamArraySimple(map, prefix + "ZoneIds.", this.ZoneIds); this.setParamArraySimple(map, prefix + "Domains.", this.Domains); this.setParamSimple(map, prefix + "Protocol", this.Protocol); this.setParamSimple(map, prefix + "Interval", this.Interval); this.setParamSimple(map, prefix + "Area", this.Area); this.setParamArrayObj(map, prefix + "Filters.", this.Filters); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy