CacheInfo Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. CacheInfo
- com.
public class CacheInfo
A cache info object which notifies Teams how long an object should be cached for.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| CacheInfo() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.Integer |
getCacheDuration()
Gets cache duration. |
| java.lang.String |
getCacheType()
Gets cache type. |
| void |
setCacheDuration(Integer withCacheDuration)
Sets cache duration. |
| void |
setCacheType(String withCacheType)
Sets cache type. |
Methods inherited from java.lang.Object
Constructor Details
CacheInfo
public CacheInfo()
Method Details
getCacheDuration
public Integer getCacheDuration()
Gets cache duration.
Returns:
getCacheType
public String getCacheType()
Gets cache type.
Returns:
setCacheDuration
public void setCacheDuration(Integer withCacheDuration)
Sets cache duration.
Parameters:
setCacheType
public void setCacheType(String withCacheType)
Sets cache type.
Parameters: