Class: TencentCloud::Iotcloud::V20180614::SDKLogItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::SDKLogItem
- Defined in:
- lib/v20180614/models.rb
Overview
SDK日志项
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, devicename = nil, level = nil, datetime = nil, content = nil) ⇒ SDKLogItem
constructor
A new instance of SDKLogItem.
Constructor Details
#initialize(productid = nil, devicename = nil, level = nil, datetime = nil, content = nil) ⇒ SDKLogItem
Returns a new instance of SDKLogItem.
4142 4143 4144 4145 4146 4147 4148 |
# File 'lib/v20180614/models.rb', line 4142 def initialize(productid=nil, devicename=nil, level=nil, datetime=nil, content=nil) @ProductID = productid @DeviceName = devicename @Level = level @DateTime = datetime @Content = content end |
Instance Attribute Details
#Content ⇒ Object
4140 4141 4142 |
# File 'lib/v20180614/models.rb', line 4140 def Content @Content end |
#DateTime ⇒ Object
4140 4141 4142 |
# File 'lib/v20180614/models.rb', line 4140 def DateTime @DateTime end |
#DeviceName ⇒ Object
4140 4141 4142 |
# File 'lib/v20180614/models.rb', line 4140 def DeviceName @DeviceName end |
#Level ⇒ Object
4140 4141 4142 |
# File 'lib/v20180614/models.rb', line 4140 def Level @Level end |
#ProductID ⇒ Object
4140 4141 4142 |
# File 'lib/v20180614/models.rb', line 4140 def ProductID @ProductID end |
Instance Method Details
#deserialize(params) ⇒ Object
4150 4151 4152 4153 4154 4155 4156 |
# File 'lib/v20180614/models.rb', line 4150 def deserialize(params) @ProductID = params['ProductID'] @DeviceName = params['DeviceName'] @Level = params['Level'] @DateTime = params['DateTime'] @Content = params['Content'] end |