Class: TencentCloud::Iotcloud::V20180614::SDKLogItem

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

Overview

SDK日志项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, devicename = nil, level = nil, datetime = nil, content = nil) ⇒ SDKLogItem

Returns a new instance of SDKLogItem.



4142
4143
4144
4145
4146
4147
4148
# File 'lib/v20180614/models.rb', line 4142

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

#ContentObject

Parameters:

  • ProductID:

    产品ID

  • DeviceName:

    设备名称

  • Level:

    日志等级

  • DateTime:

    日志时间

  • Content:

    日志内容



4140
4141
4142
# File 'lib/v20180614/models.rb', line 4140

def Content
  @Content
end

#DateTimeObject

Parameters:

  • ProductID:

    产品ID

  • DeviceName:

    设备名称

  • Level:

    日志等级

  • DateTime:

    日志时间

  • Content:

    日志内容



4140
4141
4142
# File 'lib/v20180614/models.rb', line 4140

def DateTime
  @DateTime
end

#DeviceNameObject

Parameters:

  • ProductID:

    产品ID

  • DeviceName:

    设备名称

  • Level:

    日志等级

  • DateTime:

    日志时间

  • Content:

    日志内容



4140
4141
4142
# File 'lib/v20180614/models.rb', line 4140

def DeviceName
  @DeviceName
end

#LevelObject

Parameters:

  • ProductID:

    产品ID

  • DeviceName:

    设备名称

  • Level:

    日志等级

  • DateTime:

    日志时间

  • Content:

    日志内容



4140
4141
4142
# File 'lib/v20180614/models.rb', line 4140

def Level
  @Level
end

#ProductIDObject

Parameters:

  • ProductID:

    产品ID

  • DeviceName:

    设备名称

  • Level:

    日志等级

  • DateTime:

    日志时间

  • Content:

    日志内容



4140
4141
4142
# File 'lib/v20180614/models.rb', line 4140

def ProductID
  @ProductID
end

Instance Method Details

#deserialize(params) ⇒ Object



4150
4151
4152
4153
4154
4155
4156
# File 'lib/v20180614/models.rb', line 4150

def deserialize(params)
  @ProductID = params['ProductID']
  @DeviceName = params['DeviceName']
  @Level = params['Level']
  @DateTime = params['DateTime']
  @Content = params['Content']
end