public class StrategyForAntiInfoLeak extends AbstractModel
header, skipSign
Constructor and Description |
---|
StrategyForAntiInfoLeak() |
StrategyForAntiInfoLeak(StrategyForAntiInfoLeak 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 |
getCompareFunc()
Get Logical operator, fixed value: contains
|
String |
getContent()
Get Matching content
The following options are available when Field is set to information:
idcard (ID card), phone (phone number), and bankcard (bank card).
|
String |
getField()
Get Matching Criteria, returncode (Response Code), keywords (Keywords), information (Sensitive Information)
|
void |
setCompareFunc(String CompareFunc)
Set Logical operator, fixed value: contains
|
void |
setContent(String Content)
Set Matching content
The following options are available when Field is set to information:
idcard (ID card), phone (phone number), and bankcard (bank card).
|
void |
setField(String Field)
Set Matching Criteria, returncode (Response Code), keywords (Keywords), information (Sensitive Information)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public StrategyForAntiInfoLeak()
public StrategyForAntiInfoLeak(StrategyForAntiInfoLeak source)
public String getField()
public void setField(String Field)
Field
- Matching Criteria, returncode (Response Code), keywords (Keywords), information (Sensitive Information)public String getCompareFunc()
public void setCompareFunc(String CompareFunc)
CompareFunc
- Logical operator, fixed value: containspublic String getContent()
public void setContent(String Content)
Content
- Matching content
The following options are available when Field is set to information:
idcard (ID card), phone (phone number), and bankcard (bank card).
The following options are available when Field is set to returncode:
400 (status code 400), 403 (status code 403), 404 (status code 404), 4xx (other 4xx status codes), 500 (status code 500), 501 (status code 501), 502 (status code 502), 504 (status code 504), and 5xx (other 5xx status codes).
When Field is set to keywords, users need to input the matching content themselves.Copyright © 2024. All rights reserved.