public class PostMaxSize extends AbstractModel
Constructor and Description |
---|
PostMaxSize() |
PostMaxSize(PostMaxSize 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 Specifies whether to enable custom setting of the maximum file size.
|
void |
setMaxSize(Long MaxSize)
Set Maximum size.
|
void |
setSwitch(String Switch)
Set Specifies whether to enable custom setting of the maximum file size.
|
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, toJsonString
public PostMaxSize()
public PostMaxSize(PostMaxSize source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Specifies whether to enable custom setting of the maximum file size.
`off`: Disable. In this case, the max size defaults to 32 MB.
`on`: Enable. You can set a custom max size.public Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize
- Maximum size. Value range: 1-500 MB.
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.