public class IpFilter extends AbstractModel
| Constructor and Description |
|---|
IpFilter() |
IpFilter(IpFilter 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 |
|---|---|
String[] |
getFilters()
Get IP黑白名单列表。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getFilterType()
Get IP黑白名单类型,whitelist或blacklist。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get IP黑白名单开关,on或off。
|
void |
setFilters(String[] Filters)
Set IP黑白名单列表。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFilterType(String FilterType)
Set IP黑白名单类型,whitelist或blacklist。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
Set IP黑白名单开关,on或off。
|
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, toJsonStringpublic IpFilter()
public IpFilter(IpFilter source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - IP黑白名单开关,on或off。public String getFilterType()
public void setFilterType(String FilterType)
FilterType - IP黑白名单类型,whitelist或blacklist。
注意:此字段可能返回 null,表示取不到有效值。public String[] getFilters()
public void setFilters(String[] Filters)
Filters - IP黑白名单列表。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2021. All rights reserved.