Class: TencentCloud::Iotcloud::V20180614::CLSLogItem

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

Overview

CLS日志

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(content = nil, devicename = nil, productid = nil, requestid = nil, result = nil, scene = nil, time = nil, userid = nil) ⇒ CLSLogItem

Returns a new instance of CLSLogItem.



236
237
238
239
240
241
242
243
244
245
# File 'lib/v20180614/models.rb', line 236

def initialize(content=nil, devicename=nil, productid=nil, requestid=nil, result=nil, scene=nil, time=nil, userid=nil)
  @Content = content
  @Devicename = devicename
  @Productid = productid
  @Requestid = requestid
  @Result = result
  @Scene = scene
  @Time = time
  @Userid = userid
end

Instance Attribute Details

#ContentObject

Parameters:

  • Content:

    日志内容

  • Devicename:

    设备名称

  • Productid:

    产品ID

  • Requestid:

    请求ID

  • Result:

    结果

  • Scene:

    模块

  • Time:

    日志时间

  • Userid:

    腾讯云账号



234
235
236
# File 'lib/v20180614/models.rb', line 234

def Content
  @Content
end

#DevicenameObject

Parameters:

  • Content:

    日志内容

  • Devicename:

    设备名称

  • Productid:

    产品ID

  • Requestid:

    请求ID

  • Result:

    结果

  • Scene:

    模块

  • Time:

    日志时间

  • Userid:

    腾讯云账号



234
235
236
# File 'lib/v20180614/models.rb', line 234

def Devicename
  @Devicename
end

#ProductidObject

Parameters:

  • Content:

    日志内容

  • Devicename:

    设备名称

  • Productid:

    产品ID

  • Requestid:

    请求ID

  • Result:

    结果

  • Scene:

    模块

  • Time:

    日志时间

  • Userid:

    腾讯云账号



234
235
236
# File 'lib/v20180614/models.rb', line 234

def Productid
  @Productid
end

#RequestidObject

Parameters:

  • Content:

    日志内容

  • Devicename:

    设备名称

  • Productid:

    产品ID

  • Requestid:

    请求ID

  • Result:

    结果

  • Scene:

    模块

  • Time:

    日志时间

  • Userid:

    腾讯云账号



234
235
236
# File 'lib/v20180614/models.rb', line 234

def Requestid
  @Requestid
end

#ResultObject

Parameters:

  • Content:

    日志内容

  • Devicename:

    设备名称

  • Productid:

    产品ID

  • Requestid:

    请求ID

  • Result:

    结果

  • Scene:

    模块

  • Time:

    日志时间

  • Userid:

    腾讯云账号



234
235
236
# File 'lib/v20180614/models.rb', line 234

def Result
  @Result
end

#SceneObject

Parameters:

  • Content:

    日志内容

  • Devicename:

    设备名称

  • Productid:

    产品ID

  • Requestid:

    请求ID

  • Result:

    结果

  • Scene:

    模块

  • Time:

    日志时间

  • Userid:

    腾讯云账号



234
235
236
# File 'lib/v20180614/models.rb', line 234

def Scene
  @Scene
end

#TimeObject

Parameters:

  • Content:

    日志内容

  • Devicename:

    设备名称

  • Productid:

    产品ID

  • Requestid:

    请求ID

  • Result:

    结果

  • Scene:

    模块

  • Time:

    日志时间

  • Userid:

    腾讯云账号



234
235
236
# File 'lib/v20180614/models.rb', line 234

def Time
  @Time
end

#UseridObject

Parameters:

  • Content:

    日志内容

  • Devicename:

    设备名称

  • Productid:

    产品ID

  • Requestid:

    请求ID

  • Result:

    结果

  • Scene:

    模块

  • Time:

    日志时间

  • Userid:

    腾讯云账号



234
235
236
# File 'lib/v20180614/models.rb', line 234

def Userid
  @Userid
end

Instance Method Details

#deserialize(params) ⇒ Object



247
248
249
250
251
252
253
254
255
256
# File 'lib/v20180614/models.rb', line 247

def deserialize(params)
  @Content = params['Content']
  @Devicename = params['Devicename']
  @Productid = params['Productid']
  @Requestid = params['Requestid']
  @Result = params['Result']
  @Scene = params['Scene']
  @Time = params['Time']
  @Userid = params['Userid']
end