public class ModifyOwaspWhiteRuleRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ModifyOwaspWhiteRuleRequest() | 
| ModifyOwaspWhiteRuleRequest(ModifyOwaspWhiteRuleRequest 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 | getDomain()Get Domain name | 
| Long | getExpireTime()Get If the JobDateTime field is not set, this field is used. | 
| Long[] | getIds()Get ID list of allowlisted rules. | 
| JobDateTime | getJobDateTime()Get Scheduled task configuration | 
| String | getJobType()Get Rule execution mode: TimedJob indicates scheduled execution. | 
| String | getName()Get Rule name | 
| Long | getRuleId()Get Rule ID | 
| Long | getStatus()Get Rule status. | 
| Strategy[] | getStrategies()Get Rule-Based matching policy list. | 
| Long | getType()Get Allowlist type. | 
| void | setDomain(String Domain)Set Domain name | 
| void | setExpireTime(Long ExpireTime)Set If the JobDateTime field is not set, this field is used. | 
| void | setIds(Long[] Ids)Set ID list of allowlisted rules. | 
| void | setJobDateTime(JobDateTime JobDateTime)Set Scheduled task configuration | 
| void | setJobType(String JobType)Set Rule execution mode: TimedJob indicates scheduled execution. | 
| void | setName(String Name)Set Rule name | 
| void | setRuleId(Long RuleId)Set Rule ID | 
| void | setStatus(Long Status)Set Rule status. | 
| void | setStrategies(Strategy[] Strategies)Set Rule-Based matching policy list. | 
| void | setType(Long Type)Set Allowlist type. | 
| 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, toJsonStringpublic ModifyOwaspWhiteRuleRequest()
public ModifyOwaspWhiteRuleRequest(ModifyOwaspWhiteRuleRequest source)
public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId - Rule IDpublic String getName()
public void setName(String Name)
Name - Rule namepublic String getDomain()
public void setDomain(String Domain)
Domain - Domain namepublic Strategy[] getStrategies()
public void setStrategies(Strategy[] Strategies)
Strategies - Rule-Based matching policy list.public Long[] getIds()
public void setIds(Long[] Ids)
Ids - ID list of allowlisted rules.public Long getType()
public void setType(Long Type)
Type - Allowlist type. valid values: 0 (allowlisting by specific rule ID), 1 (allowlisting by rule type).public String getJobType()
public void setJobType(String JobType)
JobType - Rule execution mode: TimedJob indicates scheduled execution. CronJob indicates periodic execution.public JobDateTime getJobDateTime()
public void setJobDateTime(JobDateTime JobDateTime)
JobDateTime - Scheduled task configurationpublic Long getExpireTime()
public void setExpireTime(Long ExpireTime)
ExpireTime - If the JobDateTime field is not set, this field is used. 0 means permanent, other values indicate the cutoff time for scheduled effect (unit: seconds).public Long getStatus()
public void setStatus(Long Status)
Status - Rule status. valid values: 0 (disabled), 1 (enabled). enabled by default.Copyright © 2025. All rights reserved.