Class: TencentCloud::Iotcloud::V20180614::DeviceLabel
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::DeviceLabel
- Defined in:
- lib/v20180614/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.
2770 2771 2772 2773 |
# File 'lib/v20180614/models.rb', line 2770 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
2768 2769 2770 |
# File 'lib/v20180614/models.rb', line 2768 def Key @Key end |
#Value ⇒ Object
2768 2769 2770 |
# File 'lib/v20180614/models.rb', line 2768 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
2775 2776 2777 2778 |
# File 'lib/v20180614/models.rb', line 2775 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |