public class PostMaxSizeParameters extends AbstractModel
header, skipSign
Constructor and Description |
---|
PostMaxSizeParameters() |
PostMaxSizeParameters(PostMaxSizeParameters 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 of the file uploaded for streaming via a post request, in bytes.
|
String |
getSwitch()
Get Whether to enable post request file upload limit, in bytes (default limit: 32 * 220 bytes).
|
void |
setMaxSize(Long MaxSize)
Set Maximum size of the file uploaded for streaming via a post request, in bytes.
|
void |
setSwitch(String Switch)
Set Whether to enable post request file upload limit, in bytes (default limit: 32 * 220 bytes).
|
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, toJsonString
public PostMaxSizeParameters()
public PostMaxSizeParameters(PostMaxSizeParameters source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable post request file upload limit, in bytes (default limit: 32 * 220 bytes). valid values: public Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize
- Maximum size of the file uploaded for streaming via a post request, in bytes. value range: 1 * 220 bytes to 500 * 220 bytes.Copyright © 2025. All rights reserved.