Class: TencentCloud::Monitor::V20180724::PolicyTag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::PolicyTag
- Defined in:
- lib/v20180724/models.rb
Overview
策略标签
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ PolicyTag
constructor
A new instance of PolicyTag.
Constructor Details
#initialize(key = nil, value = nil) ⇒ PolicyTag
Returns a new instance of PolicyTag.
12676 12677 12678 12679 |
# File 'lib/v20180724/models.rb', line 12676 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
12674 12675 12676 |
# File 'lib/v20180724/models.rb', line 12674 def Key @Key end |
#Value ⇒ Object
12674 12675 12676 |
# File 'lib/v20180724/models.rb', line 12674 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
12681 12682 12683 12684 |
# File 'lib/v20180724/models.rb', line 12681 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |