Class: TencentCloud::Teo::V20220901::ResponseSpeedLimitParameters
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::ResponseSpeedLimitParameters
- Defined in:
- lib/v20220901/models.rb
Overview
单连接下载限速配置参数。
Instance Attribute Summary collapse
-
#MaxSpeed ⇒ Object
-
当Mode 取值为 LimitAfterSpecificSecondsDownloaded 时,单位取值有: s。.
-
-
#Mode ⇒ Object
-
当Mode 取值为 LimitAfterSpecificSecondsDownloaded 时,单位取值有: s。.
-
-
#StartAt ⇒ Object
-
当Mode 取值为 LimitAfterSpecificSecondsDownloaded 时,单位取值有: s。.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(mode = nil, maxspeed = nil, startat = nil) ⇒ ResponseSpeedLimitParameters
constructor
A new instance of ResponseSpeedLimitParameters.
Constructor Details
#initialize(mode = nil, maxspeed = nil, startat = nil) ⇒ ResponseSpeedLimitParameters
Returns a new instance of ResponseSpeedLimitParameters.
20193 20194 20195 20196 20197 |
# File 'lib/v20220901/models.rb', line 20193 def initialize(mode=nil, maxspeed=nil, startat=nil) @Mode = mode @MaxSpeed = maxspeed @StartAt = startat end |
Instance Attribute Details
#MaxSpeed ⇒ Object
-
当Mode 取值为 LimitAfterSpecificSecondsDownloaded 时,单位取值有: s。
20191 20192 20193 |
# File 'lib/v20220901/models.rb', line 20191 def MaxSpeed @MaxSpeed end |
#Mode ⇒ Object
-
当Mode 取值为 LimitAfterSpecificSecondsDownloaded 时,单位取值有: s。
20191 20192 20193 |
# File 'lib/v20220901/models.rb', line 20191 def Mode @Mode end |
#StartAt ⇒ Object
-
当Mode 取值为 LimitAfterSpecificSecondsDownloaded 时,单位取值有: s。
20191 20192 20193 |
# File 'lib/v20220901/models.rb', line 20191 def StartAt @StartAt end |
Instance Method Details
#deserialize(params) ⇒ Object
20199 20200 20201 20202 20203 |
# File 'lib/v20220901/models.rb', line 20199 def deserialize(params) @Mode = params['Mode'] @MaxSpeed = params['MaxSpeed'] @StartAt = params['StartAt'] end |