public class CacheConfigNoCache extends AbstractModel
Constructor and Description |
---|
CacheConfigNoCache() |
CacheConfigNoCache(CacheConfigNoCache 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 |
---|---|
String |
getRevalidate()
Get Always forwards to the origin server for verification
on: enable
off: disable
This is disabled by default.
|
String |
getSwitch()
Get No cache configuration switch
on: enable
off: disable
Note: this field may return null, indicating that no valid value is obtained.
|
void |
setRevalidate(String Revalidate)
Set Always forwards to the origin server for verification
on: enable
off: disable
This is disabled by default.
|
void |
setSwitch(String Switch)
Set No cache configuration switch
on: enable
off: disable
Note: this field may return null, indicating that no valid value is 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 CacheConfigNoCache()
public CacheConfigNoCache(CacheConfigNoCache source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- No cache configuration switch
on: enable
off: disable
Note: this field may return null, indicating that no valid value is obtained.public String getRevalidate()
public void setRevalidate(String Revalidate)
Revalidate
- Always forwards to the origin server for verification
on: enable
off: disable
This is disabled by default.
Note: this field may return null, indicating that no valid value is obtained.Copyright © 2021. All rights reserved.