com.tencentcloudapi.dayu.v20180709.models.DescribeSecIndexResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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.dayu.v20180709.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeSecIndexResponse extends AbstractModel {
/**
* Field value as follows:
AttackIpCount: number of attacked IPs
AttackCount: number of attacks
BlockCount: number of blockings
MaxMbps: attack bandwidth peak in Mbps
IpNum: IP statistics
*/
@SerializedName("Data")
@Expose
private KeyValue [] Data;
/**
* Start time of the current month
*/
@SerializedName("BeginDate")
@Expose
private String BeginDate;
/**
* End time of the current month
*/
@SerializedName("EndDate")
@Expose
private String EndDate;
/**
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
*/
@SerializedName("RequestId")
@Expose
private String RequestId;
/**
* Get Field value as follows:
AttackIpCount: number of attacked IPs
AttackCount: number of attacks
BlockCount: number of blockings
MaxMbps: attack bandwidth peak in Mbps
IpNum: IP statistics
* @return Data Field value as follows:
AttackIpCount: number of attacked IPs
AttackCount: number of attacks
BlockCount: number of blockings
MaxMbps: attack bandwidth peak in Mbps
IpNum: IP statistics
*/
public KeyValue [] getData() {
return this.Data;
}
/**
* Set Field value as follows:
AttackIpCount: number of attacked IPs
AttackCount: number of attacks
BlockCount: number of blockings
MaxMbps: attack bandwidth peak in Mbps
IpNum: IP statistics
* @param Data Field value as follows:
AttackIpCount: number of attacked IPs
AttackCount: number of attacks
BlockCount: number of blockings
MaxMbps: attack bandwidth peak in Mbps
IpNum: IP statistics
*/
public void setData(KeyValue [] Data) {
this.Data = Data;
}
/**
* Get Start time of the current month
* @return BeginDate Start time of the current month
*/
public String getBeginDate() {
return this.BeginDate;
}
/**
* Set Start time of the current month
* @param BeginDate Start time of the current month
*/
public void setBeginDate(String BeginDate) {
this.BeginDate = BeginDate;
}
/**
* Get End time of the current month
* @return EndDate End time of the current month
*/
public String getEndDate() {
return this.EndDate;
}
/**
* Set End time of the current month
* @param EndDate End time of the current month
*/
public void setEndDate(String EndDate) {
this.EndDate = EndDate;
}
/**
* Get The unique request ID, which is returned for each request. RequestId is required for locating a problem.
* @return RequestId The unique request ID, which is returned for each request. RequestId is required for locating a problem.
*/
public String getRequestId() {
return this.RequestId;
}
/**
* Set The unique request ID, which is returned for each request. RequestId is required for locating a problem.
* @param RequestId The unique request ID, which is returned for each request. RequestId is required for locating a problem.
*/
public void setRequestId(String RequestId) {
this.RequestId = RequestId;
}
public DescribeSecIndexResponse() {
}
/**
* 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 DescribeSecIndexResponse(DescribeSecIndexResponse source) {
if (source.Data != null) {
this.Data = new KeyValue[source.Data.length];
for (int i = 0; i < source.Data.length; i++) {
this.Data[i] = new KeyValue(source.Data[i]);
}
}
if (source.BeginDate != null) {
this.BeginDate = new String(source.BeginDate);
}
if (source.EndDate != null) {
this.EndDate = new String(source.EndDate);
}
if (source.RequestId != null) {
this.RequestId = new String(source.RequestId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamArrayObj(map, prefix + "Data.", this.Data);
this.setParamSimple(map, prefix + "BeginDate", this.BeginDate);
this.setParamSimple(map, prefix + "EndDate", this.EndDate);
this.setParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy