Class: TencentCloud::Iotcloud::V20210408::PayloadLogItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::PayloadLogItem
- Defined in:
- lib/v20210408/models.rb
Overview
内容日志项
Instance Attribute Summary collapse
- #DateTime ⇒ Object
- #DeviceName ⇒ Object
- #Payload ⇒ Object
- #PayloadFormatType ⇒ Object
- #ProductId ⇒ Object
- #RequestId ⇒ Object
- #SrcName ⇒ Object
- #SrcType ⇒ Object
- #Topic ⇒ Object
- #Uin ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(uin = nil, productid = nil, devicename = nil, srctype = nil, srcname = nil, topic = nil, payloadformattype = nil, payload = nil, requestid = nil, datetime = nil) ⇒ PayloadLogItem
constructor
A new instance of PayloadLogItem.
Constructor Details
#initialize(uin = nil, productid = nil, devicename = nil, srctype = nil, srcname = nil, topic = nil, payloadformattype = nil, payload = nil, requestid = nil, datetime = nil) ⇒ PayloadLogItem
Returns a new instance of PayloadLogItem.
3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 |
# File 'lib/v20210408/models.rb', line 3512 def initialize(uin=nil, productid=nil, devicename=nil, srctype=nil, srcname=nil, topic=nil, payloadformattype=nil, payload=nil, requestid=nil, datetime=nil) @Uin = uin @ProductId = productid @DeviceName = devicename @SrcType = srctype @SrcName = srcname @Topic = topic @PayloadFormatType = payloadformattype @Payload = payload @RequestId = requestid @DateTime = datetime end |
Instance Attribute Details
#DateTime ⇒ Object
3510 3511 3512 |
# File 'lib/v20210408/models.rb', line 3510 def DateTime @DateTime end |
#DeviceName ⇒ Object
3510 3511 3512 |
# File 'lib/v20210408/models.rb', line 3510 def DeviceName @DeviceName end |
#Payload ⇒ Object
3510 3511 3512 |
# File 'lib/v20210408/models.rb', line 3510 def Payload @Payload end |
#PayloadFormatType ⇒ Object
3510 3511 3512 |
# File 'lib/v20210408/models.rb', line 3510 def PayloadFormatType @PayloadFormatType end |
#ProductId ⇒ Object
3510 3511 3512 |
# File 'lib/v20210408/models.rb', line 3510 def ProductId @ProductId end |
#RequestId ⇒ Object
3510 3511 3512 |
# File 'lib/v20210408/models.rb', line 3510 def RequestId @RequestId end |
#SrcName ⇒ Object
3510 3511 3512 |
# File 'lib/v20210408/models.rb', line 3510 def SrcName @SrcName end |
#SrcType ⇒ Object
3510 3511 3512 |
# File 'lib/v20210408/models.rb', line 3510 def SrcType @SrcType end |
#Topic ⇒ Object
3510 3511 3512 |
# File 'lib/v20210408/models.rb', line 3510 def Topic @Topic end |
#Uin ⇒ Object
3510 3511 3512 |
# File 'lib/v20210408/models.rb', line 3510 def Uin @Uin end |
Instance Method Details
#deserialize(params) ⇒ Object
3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 |
# File 'lib/v20210408/models.rb', line 3525 def deserialize(params) @Uin = params['Uin'] @ProductId = params['ProductId'] @DeviceName = params['DeviceName'] @SrcType = params['SrcType'] @SrcName = params['SrcName'] @Topic = params['Topic'] @PayloadFormatType = params['PayloadFormatType'] @Payload = params['Payload'] @RequestId = params['RequestId'] @DateTime = params['DateTime'] end |