Class: TencentCloud::Cdn::V20180606::PostSize
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::PostSize
- Defined in:
- lib/v20180606/models.rb
Overview
POST请求上传文件流式传输最大限制
Instance Attribute Summary collapse
-
#MaxSize ⇒ Object
on:开启,平台默认为32MB off:关闭.
-
#Switch ⇒ Object
on:开启,平台默认为32MB off:关闭.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, maxsize = nil) ⇒ PostSize
constructor
A new instance of PostSize.
Constructor Details
#initialize(switch = nil, maxsize = nil) ⇒ PostSize
Returns a new instance of PostSize.
7829 7830 7831 7832 |
# File 'lib/v20180606/models.rb', line 7829 def initialize(switch=nil, maxsize=nil) @Switch = switch @MaxSize = maxsize end |
Instance Attribute Details
#MaxSize ⇒ Object
on:开启,平台默认为32MB off:关闭
7827 7828 7829 |
# File 'lib/v20180606/models.rb', line 7827 def MaxSize @MaxSize end |
#Switch ⇒ Object
on:开启,平台默认为32MB off:关闭
7827 7828 7829 |
# File 'lib/v20180606/models.rb', line 7827 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
7834 7835 7836 7837 |
# File 'lib/v20180606/models.rb', line 7834 def deserialize(params) @Switch = params['Switch'] @MaxSize = params['MaxSize'] end |