Class: TencentCloud::Iotcloud::V20210408::DeviceTag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::DeviceTag
- Defined in:
- lib/v20210408/models.rb
Overview
设备属性
Instance Attribute Summary collapse
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Tag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tag = nil, type = nil, value = nil, name = nil) ⇒ DeviceTag
constructor
A new instance of DeviceTag.
Constructor Details
#initialize(tag = nil, type = nil, value = nil, name = nil) ⇒ DeviceTag
Returns a new instance of DeviceTag.
2732 2733 2734 2735 2736 2737 |
# File 'lib/v20210408/models.rb', line 2732 def initialize(tag=nil, type=nil, value=nil, name=nil) @Tag = tag @Type = type @Value = value @Name = name end |
Instance Attribute Details
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2730 2731 2732 |
# File 'lib/v20210408/models.rb', line 2730 def Name @Name end |
#Tag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2730 2731 2732 |
# File 'lib/v20210408/models.rb', line 2730 def Tag @Tag end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2730 2731 2732 |
# File 'lib/v20210408/models.rb', line 2730 def Type @Type end |
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2730 2731 2732 |
# File 'lib/v20210408/models.rb', line 2730 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
2739 2740 2741 2742 2743 2744 |
# File 'lib/v20210408/models.rb', line 2739 def deserialize(params) @Tag = params['Tag'] @Type = params['Type'] @Value = params['Value'] @Name = params['Name'] end |