
com.tencentcloudapi.dayu.v20180709.models.DescribeNewL4RulesRequest 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.dayu.v20180709.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeNewL4RulesRequest extends AbstractModel{
/**
* 大禹子产品代号(bgpip表示高防IP)
*/
@SerializedName("Business")
@Expose
private String Business;
/**
* 指定IP查询
*/
@SerializedName("Ip")
@Expose
private String Ip;
/**
* 指定高防IP端口查询
*/
@SerializedName("VirtualPort")
@Expose
private Long VirtualPort;
/**
* 一页条数,填0表示不分页
*/
@SerializedName("Limit")
@Expose
private Long Limit;
/**
* 页起始偏移,取值为(页码-1)*一页条数
*/
@SerializedName("Offset")
@Expose
private Long Offset;
/**
* Get 大禹子产品代号(bgpip表示高防IP)
* @return Business 大禹子产品代号(bgpip表示高防IP)
*/
public String getBusiness() {
return this.Business;
}
/**
* Set 大禹子产品代号(bgpip表示高防IP)
* @param Business 大禹子产品代号(bgpip表示高防IP)
*/
public void setBusiness(String Business) {
this.Business = Business;
}
/**
* Get 指定IP查询
* @return Ip 指定IP查询
*/
public String getIp() {
return this.Ip;
}
/**
* Set 指定IP查询
* @param Ip 指定IP查询
*/
public void setIp(String Ip) {
this.Ip = Ip;
}
/**
* Get 指定高防IP端口查询
* @return VirtualPort 指定高防IP端口查询
*/
public Long getVirtualPort() {
return this.VirtualPort;
}
/**
* Set 指定高防IP端口查询
* @param VirtualPort 指定高防IP端口查询
*/
public void setVirtualPort(Long VirtualPort) {
this.VirtualPort = VirtualPort;
}
/**
* Get 一页条数,填0表示不分页
* @return Limit 一页条数,填0表示不分页
*/
public Long getLimit() {
return this.Limit;
}
/**
* Set 一页条数,填0表示不分页
* @param Limit 一页条数,填0表示不分页
*/
public void setLimit(Long Limit) {
this.Limit = Limit;
}
/**
* Get 页起始偏移,取值为(页码-1)*一页条数
* @return Offset 页起始偏移,取值为(页码-1)*一页条数
*/
public Long getOffset() {
return this.Offset;
}
/**
* Set 页起始偏移,取值为(页码-1)*一页条数
* @param Offset 页起始偏移,取值为(页码-1)*一页条数
*/
public void setOffset(Long Offset) {
this.Offset = Offset;
}
public DescribeNewL4RulesRequest() {
}
/**
* 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 DescribeNewL4RulesRequest(DescribeNewL4RulesRequest source) {
if (source.Business != null) {
this.Business = new String(source.Business);
}
if (source.Ip != null) {
this.Ip = new String(source.Ip);
}
if (source.VirtualPort != null) {
this.VirtualPort = new Long(source.VirtualPort);
}
if (source.Limit != null) {
this.Limit = new Long(source.Limit);
}
if (source.Offset != null) {
this.Offset = new Long(source.Offset);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Business", this.Business);
this.setParamSimple(map, prefix + "Ip", this.Ip);
this.setParamSimple(map, prefix + "VirtualPort", this.VirtualPort);
this.setParamSimple(map, prefix + "Limit", this.Limit);
this.setParamSimple(map, prefix + "Offset", this.Offset);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy