Class: TencentCloud::Tdmq::V20200217::RetentionPolicy
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::RetentionPolicy
- Defined in:
- lib/v20200217/models.rb
Overview
消息保留策略
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(timeinminutes = nil, sizeinmb = nil) ⇒ RetentionPolicy
constructor
A new instance of RetentionPolicy.
Constructor Details
#initialize(timeinminutes = nil, sizeinmb = nil) ⇒ RetentionPolicy
Returns a new instance of RetentionPolicy.
11288 11289 11290 11291 |
# File 'lib/v20200217/models.rb', line 11288 def initialize(timeinminutes=nil, sizeinmb=nil) @TimeInMinutes = timeinminutes @SizeInMB = sizeinmb end |
Instance Attribute Details
#SizeInMB ⇒ Object
11286 11287 11288 |
# File 'lib/v20200217/models.rb', line 11286 def SizeInMB @SizeInMB end |
#TimeInMinutes ⇒ Object
11286 11287 11288 |
# File 'lib/v20200217/models.rb', line 11286 def TimeInMinutes @TimeInMinutes end |
Instance Method Details
#deserialize(params) ⇒ Object
11293 11294 11295 11296 |
# File 'lib/v20200217/models.rb', line 11293 def deserialize(params) @TimeInMinutes = params['TimeInMinutes'] @SizeInMB = params['SizeInMB'] end |