public class Referer extends AbstractModel
Constructor and Description |
---|
Referer() |
Referer(Referer 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 |
---|---|
RefererRule[] |
getRefererRules()
Get Referer blacklist/whitelist configuration rule
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getSwitch()
Get Referer blacklist/whitelist configuration switch
`on`: Enable
`off`: Disable
|
void |
setRefererRules(RefererRule[] RefererRules)
Set Referer blacklist/whitelist configuration rule
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setSwitch(String Switch)
Set Referer blacklist/whitelist configuration switch
`on`: Enable
`off`: Disable
|
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 Referer()
public Referer(Referer source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Referer blacklist/whitelist configuration switch
`on`: Enable
`off`: Disablepublic RefererRule[] getRefererRules()
public void setRefererRules(RefererRule[] RefererRules)
RefererRules
- Referer blacklist/whitelist configuration rule
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.