public class Referer extends AbstractModel
Constructor and Description |
---|
Referer() |
Modifier and Type | Method and Description |
---|---|
RefererRule[] |
getRefererRules()
Get Referer blocklist/allowlist configuration rule
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getSwitch()
Get Referer blocklist/allowlist configuration switch
on: enabled
off: disabled
|
void |
setRefererRules(RefererRule[] RefererRules)
Set Referer blocklist/allowlist configuration rule
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setSwitch(String Switch)
Set Referer blocklist/allowlist configuration switch
on: enabled
off: disabled
|
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 String getSwitch()
public void setSwitch(String Switch)
Switch
- Referer blocklist/allowlist configuration switch
on: enabled
off: disabledpublic RefererRule[] getRefererRules()
public void setRefererRules(RefererRule[] RefererRules)
RefererRules
- Referer blocklist/allowlist configuration rule
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.