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.
10738 10739 10740 10741 |
# File 'lib/v20180606/models.rb', line 10738 def initialize(switch=nil, maxsize=nil) @Switch = switch @MaxSize = maxsize end |
Instance Attribute Details
#MaxSize ⇒ Object
on:开启,平台默认为32MB off:关闭
10736 10737 10738 |
# File 'lib/v20180606/models.rb', line 10736 def MaxSize @MaxSize end |
#Switch ⇒ Object
on:开启,平台默认为32MB off:关闭
10736 10737 10738 |
# File 'lib/v20180606/models.rb', line 10736 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
10743 10744 10745 10746 |
# File 'lib/v20180606/models.rb', line 10743 def deserialize(params) @Switch = params['Switch'] @MaxSize = params['MaxSize'] end |