Class: TencentCloud::Teo::V20220901::PostMaxSize
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::PostMaxSize
- Defined in:
- lib/v20220901/models.rb
Overview
POST请求上传文件流式传输最大限制
Instance Attribute Summary collapse
-
#MaxSize ⇒ Object
<li>on:开启限制;</li> <li>off:关闭限制。</li>.
-
#Switch ⇒ Object
<li>on:开启限制;</li> <li>off:关闭限制。</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, maxsize = nil) ⇒ PostMaxSize
constructor
A new instance of PostMaxSize.
Constructor Details
#initialize(switch = nil, maxsize = nil) ⇒ PostMaxSize
Returns a new instance of PostMaxSize.
19241 19242 19243 19244 |
# File 'lib/v20220901/models.rb', line 19241 def initialize(switch=nil, maxsize=nil) @Switch = switch @MaxSize = maxsize end |
Instance Attribute Details
#MaxSize ⇒ Object
<li>on:开启限制;</li> <li>off:关闭限制。</li>
19239 19240 19241 |
# File 'lib/v20220901/models.rb', line 19239 def MaxSize @MaxSize end |
#Switch ⇒ Object
<li>on:开启限制;</li> <li>off:关闭限制。</li>
19239 19240 19241 |
# File 'lib/v20220901/models.rb', line 19239 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
19246 19247 19248 19249 |
# File 'lib/v20220901/models.rb', line 19246 def deserialize(params) @Switch = params['Switch'] @MaxSize = params['MaxSize'] end |