Class: TencentCloud::Monitor::V20180724::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::Tag
- Defined in:
- lib/v20180724/models.rb
Overview
标签
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ Tag
constructor
A new instance of Tag.
Constructor Details
#initialize(key = nil, value = nil) ⇒ Tag
Returns a new instance of Tag.
14986 14987 14988 14989 |
# File 'lib/v20180724/models.rb', line 14986 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
14984 14985 14986 |
# File 'lib/v20180724/models.rb', line 14984 def Key @Key end |
#Value ⇒ Object
14984 14985 14986 |
# File 'lib/v20180724/models.rb', line 14984 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
14991 14992 14993 14994 |
# File 'lib/v20180724/models.rb', line 14991 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |