Class: TencentCloud::Iotcloud::V20180614::DeviceTag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::DeviceTag
- Defined in:
- lib/v20180614/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.
2875 2876 2877 2878 2879 2880 |
# File 'lib/v20180614/models.rb', line 2875 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,表示取不到有效值。
2873 2874 2875 |
# File 'lib/v20180614/models.rb', line 2873 def Name @Name end |
#Tag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2873 2874 2875 |
# File 'lib/v20180614/models.rb', line 2873 def Tag @Tag end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2873 2874 2875 |
# File 'lib/v20180614/models.rb', line 2873 def Type @Type end |
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2873 2874 2875 |
# File 'lib/v20180614/models.rb', line 2873 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
2882 2883 2884 2885 2886 2887 |
# File 'lib/v20180614/models.rb', line 2882 def deserialize(params) @Tag = params['Tag'] @Type = params['Type'] @Value = params['Value'] @Name = params['Name'] end |