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.
1645 1646 1647 1648 |
# File 'lib/v20201112/models.rb', line 1645 def initialize(days=nil, type=nil) @Days = days @Type = type end |
Instance Attribute Details
#Days ⇒ Object
1643 1644 1645 |
# File 'lib/v20201112/models.rb', line 1643 def Days @Days end |
#Type ⇒ Object
1643 1644 1645 |
# File 'lib/v20201112/models.rb', line 1643 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
1650 1651 1652 1653 |
# File 'lib/v20201112/models.rb', line 1650 def deserialize(params) @Days = params['Days'] @Type = params['Type'] end |