public class IpTableConfig extends AbstractModel
Constructor and Description |
---|
IpTableConfig() |
IpTableConfig(IpTableConfig source)
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.
|
Modifier and Type | Method and Description |
---|---|
IpTableRule[] |
getRules()
Get 基础管控规则。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get 开关。
1.
|
void |
setRules(IpTableRule[] Rules)
Set 基础管控规则。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
Set 开关。
1.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public IpTableConfig()
public IpTableConfig(IpTableConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 开关。
1. on 开启
2. off 关闭
注意:此字段可能返回 null,表示取不到有效值。public IpTableRule[] getRules()
public void setRules(IpTableRule[] Rules)
Rules
- 基础管控规则。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.