Class: TencentCloud::Iotcloud::V20210408::DeviceLabel
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::DeviceLabel
- Defined in:
- lib/v20210408/models.rb
Overview
设备标签
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ DeviceLabel
constructor
A new instance of DeviceLabel.
Constructor Details
#initialize(key = nil, value = nil) ⇒ DeviceLabel
Returns a new instance of DeviceLabel.
2659 2660 2661 2662 |
# File 'lib/v20210408/models.rb', line 2659 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
2657 2658 2659 |
# File 'lib/v20210408/models.rb', line 2657 def Key @Key end |
#Value ⇒ Object
2657 2658 2659 |
# File 'lib/v20210408/models.rb', line 2657 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
2664 2665 2666 2667 |
# File 'lib/v20210408/models.rb', line 2664 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |