public class MaxAge extends AbstractModel
| Constructor and Description | 
|---|
| MaxAge() | 
| MaxAge(MaxAge 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 | 
|---|---|
| MaxAgeCodeRule | getMaxAgeCodeRule()Get MaxAge status code
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| MaxAgeRule[] | getMaxAgeRules()Get MaxAge rule
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| String | getSwitch()Get Browser cache configuration switch
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setMaxAgeCodeRule(MaxAgeCodeRule MaxAgeCodeRule)Set MaxAge status code
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setMaxAgeRules(MaxAgeRule[] MaxAgeRules)Set MaxAge rule
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setSwitch(String Switch)Set Browser cache configuration switch
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid value 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, toJsonStringpublic MaxAge()
public MaxAge(MaxAge source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Browser cache configuration switch
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid value can be obtained.public MaxAgeRule[] getMaxAgeRules()
public void setMaxAgeRules(MaxAgeRule[] MaxAgeRules)
MaxAgeRules - MaxAge rule
Note: This field may return `null`, indicating that no valid value can be obtained.public MaxAgeCodeRule getMaxAgeCodeRule()
public void setMaxAgeCodeRule(MaxAgeCodeRule MaxAgeCodeRule)
MaxAgeCodeRule - MaxAge status code
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.