public class Cache extends AbstractModel
| Constructor and Description | 
|---|
| Cache() | 
| Cache(Cache 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 | 
|---|---|
| Long | getCacheTime()Get Cache expiration time setting. | 
| String | getIgnoreCacheControl()Get Whether to enable force cache. | 
| String | getSwitch()Get Whether to enable cache configuration. | 
| void | setCacheTime(Long CacheTime)Set Cache expiration time setting. | 
| void | setIgnoreCacheControl(String IgnoreCacheControl)Set Whether to enable force cache. | 
| void | setSwitch(String Switch)Set Whether to enable cache configuration. | 
| 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, toJsonStringpublic Cache()
public Cache(Cache source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Whether to enable cache configuration. Values:
public Long getCacheTime()
public void setCacheTime(Long CacheTime)
CacheTime - Cache expiration time setting.
Unit: second. The maximum value is 365 days.
Note: This field may return null, indicating that no valid values can be obtained.public String getIgnoreCacheControl()
public void setIgnoreCacheControl(String IgnoreCacheControl)
IgnoreCacheControl - Whether to enable force cache. Values:
Copyright © 2023. All rights reserved.