Class: TencentCloud::Iotcloud::V20210408::SDKLogItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::SDKLogItem
- Defined in:
- lib/v20210408/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.
4115 4116 4117 4118 4119 4120 4121 |
# File 'lib/v20210408/models.rb', line 4115 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
4113 4114 4115 |
# File 'lib/v20210408/models.rb', line 4113 def Content @Content end |
#DateTime ⇒ Object
4113 4114 4115 |
# File 'lib/v20210408/models.rb', line 4113 def DateTime @DateTime end |
#DeviceName ⇒ Object
4113 4114 4115 |
# File 'lib/v20210408/models.rb', line 4113 def DeviceName @DeviceName end |
#Level ⇒ Object
4113 4114 4115 |
# File 'lib/v20210408/models.rb', line 4113 def Level @Level end |
#ProductId ⇒ Object
4113 4114 4115 |
# File 'lib/v20210408/models.rb', line 4113 def ProductId @ProductId end |
Instance Method Details
#deserialize(params) ⇒ Object
4123 4124 4125 4126 4127 4128 4129 |
# File 'lib/v20210408/models.rb', line 4123 def deserialize(params) @ProductId = params['ProductId'] @DeviceName = params['DeviceName'] @Level = params['Level'] @DateTime = params['DateTime'] @Content = params['Content'] end |