public class AccessControl extends AbstractModel
Constructor and Description |
---|
AccessControl() |
Modifier and Type | Method and Description |
---|---|
AccessControlRule[] |
getAccessControlRules()
Get Request header and request URL access rule
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getReturnCode()
Get Returned status code
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getSwitch()
Get Whether to enable request header and request URL access control.
|
void |
setAccessControlRules(AccessControlRule[] AccessControlRules)
Set Request header and request URL access rule
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setReturnCode(Long ReturnCode)
Set Returned status code
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setSwitch(String Switch)
Set Whether to enable request header and request URL access control.
|
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
- Whether to enable request header and request URL access control. Valid values: on, offpublic AccessControlRule[] getAccessControlRules()
public void setAccessControlRules(AccessControlRule[] AccessControlRules)
AccessControlRules
- Request header and request URL access rule
Note: this field may return null, indicating that no valid values can be obtained.public Long getReturnCode()
public void setReturnCode(Long ReturnCode)
ReturnCode
- Returned status code
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.