Class: TencentCloud::Iotcloud::V20180614::PayloadLogItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180614/models.rb

Overview

内容日志项

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DateTimeObject

Parameters:

  • Uin:

    账号id

  • ProductID:

    产品id

  • DeviceName:

    设备名称

  • SrcType:

    来源类型

  • SrcName:

    来源名称

  • Topic:

    消息topic

  • PayloadFmtType:

    内容格式类型

  • Payload:

    内容信息

  • RequestID:

    请求ID

  • DateTime:

    日期时间



3474
3475
3476
# File 'lib/v20180614/models.rb', line 3474

def DateTime
  @DateTime
end

#DeviceNameObject

Parameters:

  • Uin:

    账号id

  • ProductID:

    产品id

  • DeviceName:

    设备名称

  • SrcType:

    来源类型

  • SrcName:

    来源名称

  • Topic:

    消息topic

  • PayloadFmtType:

    内容格式类型

  • Payload:

    内容信息

  • RequestID:

    请求ID

  • DateTime:

    日期时间



3474
3475
3476
# File 'lib/v20180614/models.rb', line 3474

def DeviceName
  @DeviceName
end

#PayloadObject

Parameters:

  • Uin:

    账号id

  • ProductID:

    产品id

  • DeviceName:

    设备名称

  • SrcType:

    来源类型

  • SrcName:

    来源名称

  • Topic:

    消息topic

  • PayloadFmtType:

    内容格式类型

  • Payload:

    内容信息

  • RequestID:

    请求ID

  • DateTime:

    日期时间



3474
3475
3476
# File 'lib/v20180614/models.rb', line 3474

def Payload
  @Payload
end

#PayloadFmtTypeObject

Parameters:

  • Uin:

    账号id

  • ProductID:

    产品id

  • DeviceName:

    设备名称

  • SrcType:

    来源类型

  • SrcName:

    来源名称

  • Topic:

    消息topic

  • PayloadFmtType:

    内容格式类型

  • Payload:

    内容信息

  • RequestID:

    请求ID

  • DateTime:

    日期时间



3474
3475
3476
# File 'lib/v20180614/models.rb', line 3474

def PayloadFmtType
  @PayloadFmtType
end

#ProductIDObject

Parameters:

  • Uin:

    账号id

  • ProductID:

    产品id

  • DeviceName:

    设备名称

  • SrcType:

    来源类型

  • SrcName:

    来源名称

  • Topic:

    消息topic

  • PayloadFmtType:

    内容格式类型

  • Payload:

    内容信息

  • RequestID:

    请求ID

  • DateTime:

    日期时间



3474
3475
3476
# File 'lib/v20180614/models.rb', line 3474

def ProductID
  @ProductID
end

#RequestIDObject

Parameters:

  • Uin:

    账号id

  • ProductID:

    产品id

  • DeviceName:

    设备名称

  • SrcType:

    来源类型

  • SrcName:

    来源名称

  • Topic:

    消息topic

  • PayloadFmtType:

    内容格式类型

  • Payload:

    内容信息

  • RequestID:

    请求ID

  • DateTime:

    日期时间



3474
3475
3476
# File 'lib/v20180614/models.rb', line 3474

def RequestID
  @RequestID
end

#SrcNameObject

Parameters:

  • Uin:

    账号id

  • ProductID:

    产品id

  • DeviceName:

    设备名称

  • SrcType:

    来源类型

  • SrcName:

    来源名称

  • Topic:

    消息topic

  • PayloadFmtType:

    内容格式类型

  • Payload:

    内容信息

  • RequestID:

    请求ID

  • DateTime:

    日期时间



3474
3475
3476
# File 'lib/v20180614/models.rb', line 3474

def SrcName
  @SrcName
end

#SrcTypeObject

Parameters:

  • Uin:

    账号id

  • ProductID:

    产品id

  • DeviceName:

    设备名称

  • SrcType:

    来源类型

  • SrcName:

    来源名称

  • Topic:

    消息topic

  • PayloadFmtType:

    内容格式类型

  • Payload:

    内容信息

  • RequestID:

    请求ID

  • DateTime:

    日期时间



3474
3475
3476
# File 'lib/v20180614/models.rb', line 3474

def SrcType
  @SrcType
end

#TopicObject

Parameters:

  • Uin:

    账号id

  • ProductID:

    产品id

  • DeviceName:

    设备名称

  • SrcType:

    来源类型

  • SrcName:

    来源名称

  • Topic:

    消息topic

  • PayloadFmtType:

    内容格式类型

  • Payload:

    内容信息

  • RequestID:

    请求ID

  • DateTime:

    日期时间



3474
3475
3476
# File 'lib/v20180614/models.rb', line 3474

def Topic
  @Topic
end

#UinObject

Parameters:

  • Uin:

    账号id

  • ProductID:

    产品id

  • DeviceName:

    设备名称

  • SrcType:

    来源类型

  • SrcName:

    来源名称

  • Topic:

    消息topic

  • PayloadFmtType:

    内容格式类型

  • Payload:

    内容信息

  • RequestID:

    请求ID

  • DateTime:

    日期时间



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