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.
8064 8065 8066 8067 |
# File 'lib/v20180606/models.rb', line 8064 def initialize(switch=nil, maxsize=nil) @Switch = switch @MaxSize = maxsize end |
Instance Attribute Details
#MaxSize ⇒ Object
on:开启,平台默认为32MB off:关闭
8062 8063 8064 |
# File 'lib/v20180606/models.rb', line 8062 def MaxSize @MaxSize end |
#Switch ⇒ Object
on:开启,平台默认为32MB off:关闭
8062 8063 8064 |
# File 'lib/v20180606/models.rb', line 8062 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
8069 8070 8071 8072 |
# File 'lib/v20180606/models.rb', line 8069 def deserialize(params) @Switch = params['Switch'] @MaxSize = params['MaxSize'] end |