Class: TencentCloud::Mps::V20190612::RuleConditionItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::RuleConditionItem
- Defined in:
- lib/v20190612/models.rb
Overview
规则条件配置。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ RuleConditionItem
constructor
A new instance of RuleConditionItem.
Constructor Details
#initialize(key = nil, value = nil) ⇒ RuleConditionItem
Returns a new instance of RuleConditionItem.
26789 26790 26791 26792 |
# File 'lib/v20190612/models.rb', line 26789 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
26787 26788 26789 |
# File 'lib/v20190612/models.rb', line 26787 def Key @Key end |
#Value ⇒ Object
26787 26788 26789 |
# File 'lib/v20190612/models.rb', line 26787 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
26794 26795 26796 26797 |
# File 'lib/v20190612/models.rb', line 26794 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |