Class: TencentCloud::Chdfs::V20201112::Transition
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Chdfs::V20201112::Transition
- Defined in:
- lib/v20201112/models.rb
Overview
生命周期规则转换属性
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(days = nil, type = nil) ⇒ Transition
constructor
A new instance of Transition.
Constructor Details
#initialize(days = nil, type = nil) ⇒ Transition
Returns a new instance of Transition.
1608 1609 1610 1611 |
# File 'lib/v20201112/models.rb', line 1608 def initialize(days=nil, type=nil) @Days = days @Type = type end |
Instance Attribute Details
#Days ⇒ Object
1606 1607 1608 |
# File 'lib/v20201112/models.rb', line 1606 def Days @Days end |
#Type ⇒ Object
1606 1607 1608 |
# File 'lib/v20201112/models.rb', line 1606 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
1613 1614 1615 1616 |
# File 'lib/v20201112/models.rb', line 1613 def deserialize(params) @Days = params['Days'] @Type = params['Type'] end |