Class: TencentCloud::Tcr::V20190924::RetentionRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::RetentionRule
- Defined in:
- lib/v20190924/models.rb
Overview
版本保留规则
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ RetentionRule
constructor
A new instance of RetentionRule.
Constructor Details
#initialize(key = nil, value = nil) ⇒ RetentionRule
Returns a new instance of RetentionRule.
6751 6752 6753 6754 |
# File 'lib/v20190924/models.rb', line 6751 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
6749 6750 6751 |
# File 'lib/v20190924/models.rb', line 6749 def Key @Key end |
#Value ⇒ Object
6749 6750 6751 |
# File 'lib/v20190924/models.rb', line 6749 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
6756 6757 6758 6759 |
# File 'lib/v20190924/models.rb', line 6756 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |