public class PostSize extends AbstractModel
| Constructor and Description | 
|---|
| PostSize() | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getMaxSize()Get Maximum size. | 
| String | getSwitch()Get Limit the size of a POST request. | 
| void | setMaxSize(Long MaxSize)Set Maximum size. | 
| void | setSwitch(String Switch)Set Limit the size of a POST request. | 
| 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 String getSwitch()
public void setSwitch(String Switch)
Switch - Limit the size of a POST request. The default value is 32 MB.
off: Disable
on: Enablepublic Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize - Maximum size. Value range: 1 MB to 200 MB.Copyright © 2021. All rights reserved.