Class PostSize
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdn.v20180606.models.PostSize
-
public class PostSize extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetMaxSize()Get 最大限制,取值在1MB和200MB之间。StringgetSwitch()Get POST请求上传文件流式传输最大限制配置开关,取值有: on:开启,平台默认为32MB off:关闭voidsetMaxSize(Long MaxSize)Set 最大限制,取值在1MB和200MB之间。voidsetSwitch(String Switch)Set POST请求上传文件流式传输最大限制配置开关,取值有: on:开启,平台默认为32MB off:关闭voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
PostSize
public PostSize()
-
PostSize
public 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.
-
-
Method Detail
-
getSwitch
public String getSwitch()
Get POST请求上传文件流式传输最大限制配置开关,取值有: on:开启,平台默认为32MB off:关闭- Returns:
- Switch POST请求上传文件流式传输最大限制配置开关,取值有: on:开启,平台默认为32MB off:关闭
-
setSwitch
public void setSwitch(String Switch)
Set POST请求上传文件流式传输最大限制配置开关,取值有: on:开启,平台默认为32MB off:关闭- Parameters:
Switch- POST请求上传文件流式传输最大限制配置开关,取值有: on:开启,平台默认为32MB off:关闭
-
getMaxSize
public Long getMaxSize()
Get 最大限制,取值在1MB和200MB之间。- Returns:
- MaxSize 最大限制,取值在1MB和200MB之间。
-
setMaxSize
public void setMaxSize(Long MaxSize)
Set 最大限制,取值在1MB和200MB之间。- Parameters:
MaxSize- 最大限制,取值在1MB和200MB之间。
-
-