public class AreaBanRule extends AbstractModel
header, skipSign
Constructor and Description |
---|
AreaBanRule() |
AreaBanRule(AreaBanRule 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 |
---|---|
Area[] |
getAreas()
Get 配置的地域列表
|
String |
getCronType()
Get 如果是周期任务类型,那么表示周期的类型,支持 Week:按周、Month:按月
|
JobDateTime |
getJobDateTime()
Get 定时任务配置
|
String |
getJobType()
Get 规则执行的方式,TimedJob为定时执行,CronJob为周期执行
|
String |
getLang()
Get 地域信息的语言,支持cn、en,默认为中文cn
|
String |
getSource()
Get 数据来源 custom:自定义(默认)、batch:批量防护
|
Long |
getStatus()
Get 状态 0:未开启地域封禁、1:开启地域封禁
|
void |
setAreas(Area[] Areas)
Set 配置的地域列表
|
void |
setCronType(String CronType)
Set 如果是周期任务类型,那么表示周期的类型,支持 Week:按周、Month:按月
|
void |
setJobDateTime(JobDateTime JobDateTime)
Set 定时任务配置
|
void |
setJobType(String JobType)
Set 规则执行的方式,TimedJob为定时执行,CronJob为周期执行
|
void |
setLang(String Lang)
Set 地域信息的语言,支持cn、en,默认为中文cn
|
void |
setSource(String Source)
Set 数据来源 custom:自定义(默认)、batch:批量防护
|
void |
setStatus(Long Status)
Set 状态 0:未开启地域封禁、1:开启地域封禁
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AreaBanRule()
public AreaBanRule(AreaBanRule source)
public Long getStatus()
public void setStatus(Long Status)
Status
- 状态 0:未开启地域封禁、1:开启地域封禁public String getSource()
public void setSource(String Source)
Source
- 数据来源 custom:自定义(默认)、batch:批量防护public Area[] getAreas()
public void setAreas(Area[] Areas)
Areas
- 配置的地域列表public String getJobType()
public void setJobType(String JobType)
JobType
- 规则执行的方式,TimedJob为定时执行,CronJob为周期执行public JobDateTime getJobDateTime()
public void setJobDateTime(JobDateTime JobDateTime)
JobDateTime
- 定时任务配置public String getCronType()
public void setCronType(String CronType)
CronType
- 如果是周期任务类型,那么表示周期的类型,支持 Week:按周、Month:按月public String getLang()
public void setLang(String Lang)
Lang
- 地域信息的语言,支持cn、en,默认为中文cnCopyright © 2025. All rights reserved.