public class StatusCodeCache extends AbstractModel
Constructor and Description |
---|
StatusCodeCache() |
Modifier and Type | Method and Description |
---|---|
StatusCodeCacheRule[] |
getCacheRules()
Get Status code cache expiration rules details
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getSwitch()
Get Status code cache expiration configuration switch
on: enabled
off: disabled
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setCacheRules(StatusCodeCacheRule[] CacheRules)
Set Status code cache expiration rules details
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setSwitch(String Switch)
Set Status code cache expiration configuration switch
on: enabled
off: disabled
Note: this field may return null, indicating that no valid values can be obtained.
|
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
- Status code cache expiration configuration switch
on: enabled
off: disabled
Note: this field may return null, indicating that no valid values can be obtained.public StatusCodeCacheRule[] getCacheRules()
public void setCacheRules(StatusCodeCacheRule[] CacheRules)
CacheRules
- Status code cache expiration rules details
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.