public class AccessControl extends AbstractModel
Constructor and Description |
---|
AccessControl() |
AccessControl(AccessControl 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 |
---|---|
AccessControlRule[] |
getAccessControlRules()
Get 请求头部及请求url访问规则
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getReturnCode()
Get 返回状态码
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get on | off 是否启用请求头部及请求url访问控制
|
void |
setAccessControlRules(AccessControlRule[] AccessControlRules)
Set 请求头部及请求url访问规则
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setReturnCode(Long ReturnCode)
Set 返回状态码
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
Set on | off 是否启用请求头部及请求url访问控制
|
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 AccessControl()
public AccessControl(AccessControl source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- on | off 是否启用请求头部及请求url访问控制public AccessControlRule[] getAccessControlRules()
public void setAccessControlRules(AccessControlRule[] AccessControlRules)
AccessControlRules
- 请求头部及请求url访问规则
注意:此字段可能返回 null,表示取不到有效值。public Long getReturnCode()
public void setReturnCode(Long ReturnCode)
ReturnCode
- 返回状态码
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.