Class: TencentCloud::As::V20180419::MetadataItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::As::V20180419::MetadataItem
- Defined in:
- lib/v20180419/models.rb
Overview
自定义 Metadata 的一组键值对信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ MetadataItem
constructor
A new instance of MetadataItem.
Constructor Details
#initialize(key = nil, value = nil) ⇒ MetadataItem
Returns a new instance of MetadataItem.
3878 3879 3880 3881 |
# File 'lib/v20180419/models.rb', line 3878 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
3876 3877 3878 |
# File 'lib/v20180419/models.rb', line 3876 def Key @Key end |
#Value ⇒ Object
3876 3877 3878 |
# File 'lib/v20180419/models.rb', line 3876 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
3883 3884 3885 3886 |
# File 'lib/v20180419/models.rb', line 3883 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |