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.
23090 23091 23092 23093 |
# File 'lib/v20190612/models.rb', line 23090 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
23088 23089 23090 |
# File 'lib/v20190612/models.rb', line 23088 def Key @Key end |
#Value ⇒ Object
23088 23089 23090 |
# File 'lib/v20190612/models.rb', line 23088 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
23095 23096 23097 23098 |
# File 'lib/v20190612/models.rb', line 23095 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |