public class IpTableRule extends AbstractModel
Constructor and Description |
---|
IpTableRule() |
IpTableRule(IpTableRule 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 |
getAction()
Get 动作,取值有:
drop:拦截;
trans:放行;
monitor:观察。
|
String |
getMatchContent()
Get 匹配内容。
|
String |
getMatchFrom()
Get 根据类型匹配,取值有:
ip:对ip进行匹配;
area:对ip所属地区匹配。
|
Long |
getRuleID()
Get 规则id。仅出参使用。
|
String |
getUpdateTime()
Get 更新时间。仅出参使用。
|
void |
setAction(String Action)
Set 动作,取值有:
drop:拦截;
trans:放行;
monitor:观察。
|
void |
setMatchContent(String MatchContent)
Set 匹配内容。
|
void |
setMatchFrom(String MatchFrom)
Set 根据类型匹配,取值有:
ip:对ip进行匹配;
area:对ip所属地区匹配。
|
void |
setRuleID(Long RuleID)
Set 规则id。仅出参使用。
|
void |
setUpdateTime(String UpdateTime)
Set 更新时间。仅出参使用。
|
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 IpTableRule()
public IpTableRule(IpTableRule source)
public String getAction()
public void setAction(String Action)
Action
- 动作,取值有:
public String getMatchFrom()
public void setMatchFrom(String MatchFrom)
MatchFrom
- 根据类型匹配,取值有:
public String getMatchContent()
public void setMatchContent(String MatchContent)
MatchContent
- 匹配内容。public Long getRuleID()
public void setRuleID(Long RuleID)
RuleID
- 规则id。仅出参使用。public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- 更新时间。仅出参使用。Copyright © 2022. All rights reserved.