Class: TencentCloud::Teo::V20220901::PostMaxSizeParameters
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::PostMaxSizeParameters
- Defined in:
- lib/v20220901/models.rb
Overview
POST 请求上传文件流式传输最大限制。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, maxsize = nil) ⇒ PostMaxSizeParameters
constructor
A new instance of PostMaxSizeParameters.
Constructor Details
#initialize(switch = nil, maxsize = nil) ⇒ PostMaxSizeParameters
Returns a new instance of PostMaxSizeParameters.
19261 19262 19263 19264 |
# File 'lib/v20220901/models.rb', line 19261 def initialize(switch=nil, maxsize=nil) @Switch = switch @MaxSize = maxsize end |
Instance Attribute Details
#MaxSize ⇒ Object
19259 19260 19261 |
# File 'lib/v20220901/models.rb', line 19259 def MaxSize @MaxSize end |
#Switch ⇒ Object
19259 19260 19261 |
# File 'lib/v20220901/models.rb', line 19259 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
19266 19267 19268 19269 |
# File 'lib/v20220901/models.rb', line 19266 def deserialize(params) @Switch = params['Switch'] @MaxSize = params['MaxSize'] end |