public class PostSize extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| PostSize() | 
| PostSize(PostSize 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 | getMaxSize()Get Maximum size. | 
| String | getSwitch()Get Maximum size of the file uploaded for streaming via a POST request. | 
| void | setMaxSize(Long MaxSize)Set Maximum size. | 
| void | setSwitch(String Switch)Set Maximum size of the file uploaded for streaming via a POST request. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic PostSize()
public PostSize(PostSize source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Maximum size of the file uploaded for streaming via a POST request. Values:
`on`: Enable. When enabled, it is set to 32 MB by default.
`off`: Disablepublic Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize - Maximum size. Value range: 1 MB to 200 MB.Copyright © 2025. All rights reserved.