Class: TencentCloud::Iotcloud::V20180614::PayloadLogItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::PayloadLogItem
- Defined in:
- lib/v20180614/models.rb
Overview
内容日志项
Instance Attribute Summary collapse
- #DateTime ⇒ Object
- #DeviceName ⇒ Object
- #Payload ⇒ Object
- #PayloadFmtType ⇒ 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, payloadfmttype = 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, payloadfmttype = nil, payload = nil, requestid = nil, datetime = nil) ⇒ PayloadLogItem
Returns a new instance of PayloadLogItem.
3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 |
# File 'lib/v20180614/models.rb', line 3476 def initialize(uin=nil, productid=nil, devicename=nil, srctype=nil, srcname=nil, topic=nil, payloadfmttype=nil, payload=nil, requestid=nil, datetime=nil) @Uin = uin @ProductID = productid @DeviceName = devicename @SrcType = srctype @SrcName = srcname @Topic = topic @PayloadFmtType = payloadfmttype @Payload = payload @RequestID = requestid @DateTime = datetime end |
Instance Attribute Details
#DateTime ⇒ Object
3474 3475 3476 |
# File 'lib/v20180614/models.rb', line 3474 def DateTime @DateTime end |
#DeviceName ⇒ Object
3474 3475 3476 |
# File 'lib/v20180614/models.rb', line 3474 def DeviceName @DeviceName end |
#Payload ⇒ Object
3474 3475 3476 |
# File 'lib/v20180614/models.rb', line 3474 def Payload @Payload end |
#PayloadFmtType ⇒ Object
3474 3475 3476 |
# File 'lib/v20180614/models.rb', line 3474 def PayloadFmtType @PayloadFmtType end |
#ProductID ⇒ Object
3474 3475 3476 |
# File 'lib/v20180614/models.rb', line 3474 def ProductID @ProductID end |
#RequestID ⇒ Object
3474 3475 3476 |
# File 'lib/v20180614/models.rb', line 3474 def RequestID @RequestID end |
#SrcName ⇒ Object
3474 3475 3476 |
# File 'lib/v20180614/models.rb', line 3474 def SrcName @SrcName end |
#SrcType ⇒ Object
3474 3475 3476 |
# File 'lib/v20180614/models.rb', line 3474 def SrcType @SrcType end |
#Topic ⇒ Object
3474 3475 3476 |
# File 'lib/v20180614/models.rb', line 3474 def Topic @Topic end |
#Uin ⇒ Object
3474 3475 3476 |
# File 'lib/v20180614/models.rb', line 3474 def Uin @Uin end |
Instance Method Details
#deserialize(params) ⇒ Object
3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 |
# File 'lib/v20180614/models.rb', line 3489 def deserialize(params) @Uin = params['Uin'] @ProductID = params['ProductID'] @DeviceName = params['DeviceName'] @SrcType = params['SrcType'] @SrcName = params['SrcName'] @Topic = params['Topic'] @PayloadFmtType = params['PayloadFmtType'] @Payload = params['Payload'] @RequestID = params['RequestID'] @DateTime = params['DateTime'] end |