Class: TencentCloud::Chdfs::V20190718::Transition
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Chdfs::V20190718::Transition
- Defined in:
- lib/v20190718/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.
1423 1424 1425 1426 |
# File 'lib/v20190718/models.rb', line 1423 def initialize(days=nil, type=nil) @Days = days @Type = type end |
Instance Attribute Details
#Days ⇒ Object
1421 1422 1423 |
# File 'lib/v20190718/models.rb', line 1421 def Days @Days end |
#Type ⇒ Object
1421 1422 1423 |
# File 'lib/v20190718/models.rb', line 1421 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
1428 1429 1430 1431 |
# File 'lib/v20190718/models.rb', line 1428 def deserialize(params) @Days = params['Days'] @Type = params['Type'] end |